v6: Update NPC Trinket Rule

This commit is contained in:
Yussur Mustafa Oraji 2022-02-18 19:29:59 +01:00 committed by Fabian Dill
parent 840e634161
commit 1d19868119
1 changed files with 4 additions and 2 deletions

View File

@ -32,7 +32,9 @@ def set_rules(world, player, area_connections: typing.Dict[int, int], area_cost_
state.can_reach("Warp Zone",'Region',player))
#Special Rule for NPC Trinket
add_rule(world.get_location("NPC Trinket",player), lambda state: state.can_reach("Laboratory",'Region',player) or
state.can_reach("Space Station 2",'Region',player))
add_rule(world.get_location("V",player), lambda state : state.can_reach("Laboratory",'Region',player) or
( state.can_reach("The Tower",'Region',player) and
state.can_reach("Space Station 2",'Region',player) and
state.can_reach("Warp Zone",'Region',player) ))
world.completion_condition[player] = lambda state: state.can_reach("V",'Location',player)