From d339770974fa4d96ccdae95ee0992eaf5ae04eb3 Mon Sep 17 00:00:00 2001 From: Scipio Wright Date: Fri, 21 Jun 2024 23:28:05 -0400 Subject: [PATCH] Revise upper zig rule change to account for ER --- worlds/tunic/er_rules.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/worlds/tunic/er_rules.py b/worlds/tunic/er_rules.py index 34d59c7aa0..8699cf7667 100644 --- a/worlds/tunic/er_rules.py +++ b/worlds/tunic/er_rules.py @@ -1277,8 +1277,11 @@ def set_er_location_rules(world: "TunicWorld") -> None: lambda state: state.has(laurels, player)) # Ziggurat + # if ER is off, while you can get the chest, you won't be able to actually get through zig set_rule(multiworld.get_location("Rooted Ziggurat Upper - Near Bridge Switch", player), - lambda state: has_sword(state, player) or state.has_all({fire_wand, laurels}, player)) + lambda state: has_sword(state, player) or (state.has(fire_wand, player) + and (state.has(laurels, player) + or world.options.entrance_rando))) set_rule(multiworld.get_location("Rooted Ziggurat Lower - After Guarded Fuse", player), lambda state: has_sword(state, player) and has_ability(prayer, state, world))