From 1b8592b5005779b43e4e62e6f23aa51eb97ab30b Mon Sep 17 00:00:00 2001 From: cassidoxa Date: Thu, 24 Nov 2022 19:32:25 -0500 Subject: [PATCH] Require 4 keys to go from crystaroller to TR dark maze. But not the other way around. To prevent some silly edge case I forgot --- Rules.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Rules.py b/Rules.py index e2b8dcf2..d7013531 100644 --- a/Rules.py +++ b/Rules.py @@ -1038,6 +1038,7 @@ def set_trock_key_rules(world, player): # might open all the locked doors in any order so we need maximally restrictive rules. if can_reach_back: set_rule(world.get_location('Turtle Rock - Big Key Chest', player), lambda state: (state.has_key('Small Key (Turtle Rock)', player, 4) or item_name(state, 'Turtle Rock - Big Key Chest', player) == ('Small Key (Turtle Rock)', player))) + set_rule(world.get_entrance('Turtle Rock Dark Room Staircase', player), lambda state: state.has_key('Small Key (Turtle Rock)', player, 4)) if world.accessibility != 'locations': set_always_allow(world.get_location('Turtle Rock - Big Key Chest', player), lambda state, item: item.name == 'Small Key (Turtle Rock)' and item.player == player) else: