mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Fix logic for standard mode
This commit is contained in:
5
Rules.py
5
Rules.py
@@ -469,9 +469,12 @@ def swordless_rules(world):
|
|||||||
|
|
||||||
|
|
||||||
def standard_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
|
# 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())
|
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 - 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())
|
set_rule(world.get_location('Hyrule Castle - Zelda\'s Chest'), lambda state: state.can_kill_most_things())
|
||||||
|
Reference in New Issue
Block a user