Skip to content

Commit

Permalink
TUNIC: Change rule for heir access in non-hex quest ArchipelagoMW#4365
Browse files Browse the repository at this point in the history
  • Loading branch information
ScipioWright authored Dec 12, 2024
1 parent f91537f commit 7d0b701
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion worlds/tunic/er_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ def set_er_region_rules(world: "TunicWorld", regions: Dict[str, Region], portal_
connecting_region=regions["Spirit Arena Victory"],
rule=lambda state: (state.has(gold_hexagon, player, world.options.hexagon_goal.value) if
world.options.hexagon_quest else
(state.has_all({red_hexagon, green_hexagon, blue_hexagon, "Unseal the Heir"}, player)
(state.has("Unseal the Heir", player)
and state.has_group_unique("Hero Relics", player, 6)
and has_sword(state, player))))

Expand Down Expand Up @@ -1447,6 +1447,9 @@ def set_er_location_rules(world: "TunicWorld") -> None:
lambda state: has_ability(prayer, state, world))
set_rule(world.get_location("Library Fuse"),
lambda state: has_ability(prayer, state, world) and has_ladder("Ladders in Library", state, world))
if not world.options.hexagon_quest:
set_rule(world.get_location("Place Questagons"),
lambda state: state.has_all((red_hexagon, blue_hexagon, green_hexagon), player))

# Bombable Walls
for location_name in bomb_walls:
Expand Down

0 comments on commit 7d0b701

Please sign in to comment.