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
This commit is contained in:
1
Rules.py
1
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.
|
# might open all the locked doors in any order so we need maximally restrictive rules.
|
||||||
if can_reach_back:
|
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_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':
|
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)
|
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:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user