Skip to content

Commit

Permalink
OoS: Logic fixes from Ishigh's PR#17
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinopony committed Jul 11, 2024
1 parent df83945 commit 2ad45e0
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions worlds/tloz_oos/data/logic/DungeonsLogic.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def make_d1_logic(player: int):
oos_can_kill_stalfos(state, player)
])],

["d1 stalfos chest", "d1 goriya chest", False, lambda state: any([
["d1 stalfos chest", "d1 goriya chest", False, lambda state: all([
oos_can_use_ember_seeds(state, player, True),
oos_can_kill_normal_enemy(state, player, True)
])],
Expand Down Expand Up @@ -107,11 +107,14 @@ def make_d2_logic(player: int):
["d2 torch room", "d2 rope drop", False, lambda state: oos_can_kill_normal_enemy(state, player)],
["d2 torch room", "d2 arrow room", False, lambda state: oos_can_use_ember_seeds(state, player, True)],

["d2 arrow room", "d2 torch room", False, lambda state: any([
# Backwards path is one-way if we don't have ember seeds, so ensure we have a way to warp out in case
# something goes wrong
oos_can_use_ember_seeds(state, player, True),
oos_can_warp(state, player)
["d2 arrow room", "d2 torch room", False, lambda state: all([
oos_can_kill_normal_enemy(state, player),
any([
# Backwards path is one-way if we don't have ember seeds, so ensure we have a way to warp out in case
# something goes wrong
oos_can_use_ember_seeds(state, player, True),
oos_can_warp(state, player)
])
])],
["d2 arrow room", "d2 rupee room", False, lambda state: oos_has_bombs(state, player)],
["d2 arrow room", "d2 rope chest", False, lambda state: oos_can_kill_normal_enemy(state, player)],
Expand Down

0 comments on commit 2ad45e0

Please sign in to comment.