diff --git a/worlds/v6/Rules.py b/worlds/v6/Rules.py index 1daa8d38..c5e89d36 100644 --- a/worlds/v6/Rules.py +++ b/worlds/v6/Rules.py @@ -9,8 +9,8 @@ def _has_trinket_range(state,player,start,end): return True def create_npctrinket_rules(world,location,player): - add_rule(location, lambda state: state.can_reach(world.get_region("Laboratory",player),'Region',player) or - state.can_reach(world.get_region("Space Station 2",player),'Region',player)) + add_rule(location, lambda state: state.can_reach("Laboratory",'Region',player) or + state.can_reach("Space Station 2",'Region',player)) def set_rules(world,player): if (world.DoorCost[player].value == 0): pass @@ -31,4 +31,4 @@ def set_rules(world,player): connect_regions(world, player, "The Final Level", "Menu", lambda state: True) create_npctrinket_rules(world,world.get_location("NPC Trinket",player),player) - world.completion_condition[player] = lambda state: state.can_reach(world.get_region("The Final Level",player),'Region',player) \ No newline at end of file + world.completion_condition[player] = lambda state: state.can_reach("The Final Level",'Region',player)