mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
v6: Update NPC Trinket Rule
This commit is contained in:

committed by
Fabian Dill

parent
840e634161
commit
1d19868119
@@ -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)
|
||||
|
Reference in New Issue
Block a user