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:
|
for name, method in methods:
|
||||||
if name.startswith("_debug_"):
|
if name.startswith("_debug_"):
|
||||||
setattr(self, name[7:], method)
|
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.get_location = self._debug_get_location
|
||||||
self.players = players
|
self.players = players
|
||||||
self.teams = 1
|
self.teams = 1
|
||||||
|
|
|
@ -280,7 +280,8 @@ def roll_settings(weights):
|
||||||
startitems.append(item)
|
startitems.append(item)
|
||||||
elif itemvalue:
|
elif itemvalue:
|
||||||
startitems.append(item)
|
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')
|
startitems.append('Pegasus Boots')
|
||||||
ret.startinventory = ','.join(startitems)
|
ret.startinventory = ','.join(startitems)
|
||||||
|
|
||||||
|
|
|
@ -118,6 +118,9 @@ timer:
|
||||||
ohko: 0
|
ohko: 0
|
||||||
timed_countdown: 0
|
timed_countdown: 0
|
||||||
display: 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
|
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
|
on: 0 # intended for racing, as the item information is missing from the ROM
|
||||||
off: 1
|
off: 1
|
||||||
|
|
Loading…
Reference in New Issue