add glitch_boots mystery node

This commit is contained in:
Fabian Dill 2020-04-10 20:58:52 +02:00
parent 2ebc133cab
commit 01b7a590e7
3 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -280,7 +280,8 @@ def roll_settings(weights):
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)

View File

@ -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