add glitch_boots mystery node
This commit is contained in:
parent
2ebc133cab
commit
01b7a590e7
|
@ -26,7 +26,7 @@ class World(object):
|
|||
for name, method in methods:
|
||||
if name.startswith("_debug_"):
|
||||
setattr(self, name[7:], method)
|
||||
logging.info(f"Set {self}.{name[7:]} to {method}")
|
||||
logging.debug(f"Set {self}.{name[7:]} to {method}")
|
||||
self.get_location = self._debug_get_location
|
||||
self.players = players
|
||||
self.teams = 1
|
||||
|
|
|
@ -275,12 +275,13 @@ def roll_settings(weights):
|
|||
itemvalue = get_choice(item, inventoryweights)
|
||||
if item.startswith(('Progressive ', 'Small Key ', 'Rupee', 'Piece of Heart', 'Boss Heart Container',
|
||||
'Sanctuary Heart Container', 'Arrow', 'Bombs ', 'Bomb ', 'Bottle')) and isinstance(
|
||||
itemvalue, int):
|
||||
itemvalue, int):
|
||||
for i in range(int(itemvalue)):
|
||||
startitems.append(item)
|
||||
elif itemvalue:
|
||||
startitems.append(item)
|
||||
if glitches_required in ['no_logic'] and 'Pegasus Boots' not in startitems:
|
||||
glitch_boots = get_choice('glitch_boots', weights) if 'glitch_boots' in weights else True
|
||||
if ret.logic != 'noglitches' and 'Pegasus Boots' not in startitems and glitch_boots:
|
||||
startitems.append('Pegasus Boots')
|
||||
ret.startinventory = ','.join(startitems)
|
||||
|
||||
|
|
|
@ -118,6 +118,9 @@ timer:
|
|||
ohko: 0
|
||||
timed_countdown: 0
|
||||
display: 0
|
||||
glitch_boots:
|
||||
on: 1 # enables that you start with Pegasus Boots in any glitched logic mode
|
||||
off: 0
|
||||
remote_items: # Warning: currently broken. Stores all your items on the server, effectively sending them to you as if another player picked it up
|
||||
on: 0 # intended for racing, as the item information is missing from the ROM
|
||||
off: 1
|
||||
|
|
Loading…
Reference in New Issue