TUNIC: Deal with the boxes blocking the entrance to Beneath the Vault
This commit is contained in:
parent
41ddb96b24
commit
69d3db21df
|
@ -762,7 +762,10 @@ def set_er_region_rules(world: "TunicWorld", regions: Dict[str, Region], portal_
|
|||
regions["Beneath the Vault Ladder Exit"].connect(
|
||||
connecting_region=regions["Beneath the Vault Main"],
|
||||
rule=lambda state: has_ladder("Ladder to Beneath the Vault", state, world)
|
||||
and has_lantern(state, world))
|
||||
and has_lantern(state, world)
|
||||
# there's some boxes in the way
|
||||
and (has_stick(state, player) or state.has_any((gun, grapple, fire_wand), player)))
|
||||
# on the reverse trip, you can lure an enemy over to break the boxes if needed
|
||||
regions["Beneath the Vault Main"].connect(
|
||||
connecting_region=regions["Beneath the Vault Ladder Exit"],
|
||||
rule=lambda state: has_ladder("Ladder to Beneath the Vault", state, world))
|
||||
|
|
|
@ -114,7 +114,9 @@ def set_region_rules(world: "TunicWorld") -> None:
|
|||
or can_ladder_storage(state, world)
|
||||
# using laurels or ls to get in is covered by the -> Eastern Vault Fortress rules
|
||||
world.get_entrance("Overworld -> Beneath the Vault").access_rule = \
|
||||
lambda state: has_lantern(state, world) and has_ability(prayer, state, world)
|
||||
lambda state: (has_lantern(state, world) and has_ability(prayer, state, world)
|
||||
# there's some boxes in the way
|
||||
and (has_stick(state, player) or state.has_any((gun, grapple, fire_wand), player)))
|
||||
world.get_entrance("Ruined Atoll -> Library").access_rule = \
|
||||
lambda state: state.has_any({grapple, laurels}, player) and has_ability(prayer, state, world)
|
||||
world.get_entrance("Overworld -> Quarry").access_rule = \
|
||||
|
|
Loading…
Reference in New Issue