Skip to content

Commit

Permalink
TUNIC: Fix chest in incorrect region, incorrect key requirement (Arch…
Browse files Browse the repository at this point in the history
  • Loading branch information
ScipioWright authored Apr 15, 2024
1 parent 09abc5b commit 6dbeb6c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions worlds/tunic/er_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -1434,9 +1434,9 @@ def set_er_location_rules(world: "TunicWorld", ability_unlocks: Dict[str, int])
set_rule(multiworld.get_location("Ruined Atoll - [West] Near Kevin Block", player),
lambda state: state.has(laurels, player))
set_rule(multiworld.get_location("Ruined Atoll - [East] Locked Room Lower Chest", player),
lambda state: state.has_any({laurels, key}, player))
lambda state: state.has(laurels, player) or state.has(key, player, 2))
set_rule(multiworld.get_location("Ruined Atoll - [East] Locked Room Upper Chest", player),
lambda state: state.has_any({laurels, key}, player))
lambda state: state.has(laurels, player) or state.has(key, player, 2))

# Frog's Domain
set_rule(multiworld.get_location("Frog's Domain - Side Room Grapple Secret", player),
Expand Down
2 changes: 1 addition & 1 deletion worlds/tunic/locations.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class TunicLocationData(NamedTuple):
"Overworld - [Southwest] Bombable Wall Near Fountain": TunicLocationData("Overworld", "Overworld"),
"Overworld - [West] Chest After Bell": TunicLocationData("Overworld", "Overworld Belltower"),
"Overworld - [Southwest] Tunnel Guarded By Turret": TunicLocationData("Overworld", "Overworld Tunnel Turret"),
"Overworld - [East] Between Ladders Near Ruined Passage": TunicLocationData("Overworld", "Above Ruined Passage"),
"Overworld - [East] Between Ladders Near Ruined Passage": TunicLocationData("Overworld", "After Ruined Passage"),
"Overworld - [Northeast] Chest Above Patrol Cave": TunicLocationData("Overworld", "Upper Overworld"),
"Overworld - [Southwest] Beach Chest Beneath Guard": TunicLocationData("Overworld", "Overworld Beach"),
"Overworld - [Central] Chest Across From Well": TunicLocationData("Overworld", "Overworld"),
Expand Down
4 changes: 2 additions & 2 deletions worlds/tunic/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,9 @@ def set_location_rules(world: "TunicWorld", ability_unlocks: Dict[str, int]) ->
set_rule(multiworld.get_location("Ruined Atoll - [West] Near Kevin Block", player),
lambda state: state.has(laurels, player))
set_rule(multiworld.get_location("Ruined Atoll - [East] Locked Room Lower Chest", player),
lambda state: state.has_any({laurels, key}, player))
lambda state: state.has(laurels, player) or state.has(key, player, 2))
set_rule(multiworld.get_location("Ruined Atoll - [East] Locked Room Upper Chest", player),
lambda state: state.has_any({laurels, key}, player))
lambda state: state.has(laurels, player) or state.has(key, player, 2))
set_rule(multiworld.get_location("Librarian - Hexagon Green", player),
lambda state: has_sword(state, player) or options.logic_rules)

Expand Down

0 comments on commit 6dbeb6c

Please sign in to comment.