Skip to content

Commit

Permalink
AHIT: Fix act shuffle test fail (#3522)
Browse files Browse the repository at this point in the history
  • Loading branch information
CookieCat45 authored Jul 14, 2024
1 parent 08a36ec commit e76d32e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions worlds/ahit/Regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,9 @@
# See above comment
"Time Rift - Deep Sea": ["Alpine Free Roam", "Nyakuza Free Roam", "Contractual Obligations",
"Murder on the Owl Express"],

# was causing test failures
"Time Rift - Balcony": ["Alpine Free Roam"],
}


Expand Down
3 changes: 3 additions & 0 deletions worlds/ahit/Rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,8 @@ def set_rift_rules(world: "HatInTimeWorld", regions: Dict[str, Region]):
if world.is_dlc1():
for entrance in regions["Time Rift - Balcony"].entrances:
add_rule(entrance, lambda state: can_clear_required_act(state, world, "The Arctic Cruise - Finale"))
reg_act_connection(world, world.multiworld.get_entrance("The Arctic Cruise - Finale",
world.player).connected_region, entrance)

for entrance in regions["Time Rift - Deep Sea"].entrances:
add_rule(entrance, lambda state: has_relic_combo(state, world, "Cake"))
Expand Down Expand Up @@ -939,6 +941,7 @@ def set_default_rift_rules(world: "HatInTimeWorld"):
if world.is_dlc1():
for entrance in world.multiworld.get_region("Time Rift - Balcony", world.player).entrances:
add_rule(entrance, lambda state: can_clear_required_act(state, world, "The Arctic Cruise - Finale"))
reg_act_connection(world, "Rock the Boat", entrance.name)

for entrance in world.multiworld.get_region("Time Rift - Deep Sea", world.player).entrances:
add_rule(entrance, lambda state: has_relic_combo(state, world, "Cake"))
Expand Down

0 comments on commit e76d32e

Please sign in to comment.