Fix logic for standard mode

This commit is contained in:
Kevin Cathcart 2018-02-18 12:22:50 -05:00
parent 60c4ebf4d5
commit 4a2078db26
1 changed files with 4 additions and 1 deletions

View File

@ -469,9 +469,12 @@ def swordless_rules(world):
def standard_rules(world):
for loc in ['Sanctuary','Sewers - Secret Room - Left', 'Sewers - Secret Room - Middle',
'Sewers - Secret Room - Right']:
add_rule(world.get_location(loc), lambda state: state.can_kill_most_things() and state.has('Small Key (Escape)'))
# easiest way to enforce key placement not relevant for open
set_rule(world.get_location('Sewers - Dark Cross'), lambda state: state.can_kill_most_things())
add_rule(world.get_entrance('Sewers Door'), lambda state: state.can_kill_most_things())
set_rule(world.get_location('Hyrule Castle - Boomerang Chest'), lambda state: state.can_kill_most_things())
set_rule(world.get_location('Hyrule Castle - Zelda\'s Chest'), lambda state: state.can_kill_most_things())