From 4a2078db26762289446c486c32c70ccad55f6866 Mon Sep 17 00:00:00 2001 From: Kevin Cathcart Date: Sun, 18 Feb 2018 12:22:50 -0500 Subject: [PATCH] Fix logic for standard mode --- Rules.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Rules.py b/Rules.py index 03e53267..9dff5ea6 100644 --- a/Rules.py +++ b/Rules.py @@ -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())