mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
TUNIC: Add some more rules for Monastery connections (#4564)
* Move a couple locations to monastery * Connect Quarry Back to Monastery * Quarry Back -> Monastery with laurels, Monastery -> Monastery Back with wand/sword * Add Monastery Back region * Move a couple non-ER locations to monastery back * Monastery front -> back with sword, wand, or laurels zip * also laurels zip for non-ER
This commit is contained in:
@@ -124,6 +124,11 @@ def set_region_rules(world: "TunicWorld") -> None:
|
||||
and (state.has_any({grapple, laurels, gun}, player) or can_ladder_storage(state, world))
|
||||
world.get_entrance("Quarry Back -> Quarry").access_rule = \
|
||||
lambda state: has_sword(state, player) or state.has(fire_wand, player)
|
||||
world.get_entrance("Quarry Back -> Monastery").access_rule = \
|
||||
lambda state: state.has(laurels, player)
|
||||
world.get_entrance("Monastery -> Monastery Back").access_rule = \
|
||||
lambda state: (has_sword(state, player) or state.has(fire_wand, player)
|
||||
or laurels_zip(state, world))
|
||||
world.get_entrance("Quarry -> Lower Quarry").access_rule = \
|
||||
lambda state: has_mask(state, world)
|
||||
world.get_entrance("Lower Quarry -> Rooted Ziggurat").access_rule = \
|
||||
|
||||
Reference in New Issue
Block a user