Added Old Man escorting to pathing logic

This commit is contained in:
codemann8
2022-11-07 16:43:45 -06:00
parent 4872f78b94
commit 026bb642c6
8 changed files with 29 additions and 9 deletions

View File

@@ -1543,10 +1543,13 @@ class Entrance(object):
self.temp_path = []
def can_reach(self, state):
# Destination Pickup OW Only No Ledges Can S&Q Allow Mirror
multi_step_locations = { 'Pyramid Crack': ('Big Bomb', True, True, False, True),
'Missing Smith': ('Frog', True, False, True, True),
'Middle Aged Man': ('Dark Blacksmith Ruins', True, False, True, True) }
# Destination Pickup OW Only No Ledges Can S&Q Allow Mirror
multi_step_locations = { 'Pyramid Crack': ('Big Bomb', True, True, False, True),
'Missing Smith': ('Frog', True, False, True, True),
'Middle Aged Man': ('Dark Blacksmith Ruins', True, False, True, True),
'Old Man Drop Off': ('Lost Old Man', True, False, False, True),
#'Revealing Light': ('Suspicious Maiden', False, False, False, False) }
}
if self.name in multi_step_locations:
if self not in state.path:
@@ -2750,7 +2753,7 @@ class Spoiler(object):
self.shops = []
self.bosses = OrderedDict()
self.suppress_spoiler_locations = ['Big Bomb', 'Dark Blacksmith Ruins', 'Frog', 'Middle Aged Man']
self.suppress_spoiler_locations = ['Big Bomb', 'Dark Blacksmith Ruins', 'Frog', 'Middle Aged Man', 'Lost Old Man']
def set_overworld(self, entrance, exit, direction, player):
if self.world.players == 1: