From d86e198260ea1710ac99e72c1d5107ba00a9ee99 Mon Sep 17 00:00:00 2001 From: Scipio Wright Date: Sat, 13 Jul 2024 09:56:47 -0400 Subject: [PATCH] Add rule for entering town portal of having equipment to deal with enemies --- worlds/tunic/er_rules.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/worlds/tunic/er_rules.py b/worlds/tunic/er_rules.py index 45ce0c8066..1b911f3ae8 100644 --- a/worlds/tunic/er_rules.py +++ b/worlds/tunic/er_rules.py @@ -330,7 +330,7 @@ def set_er_region_rules(world: "TunicWorld", regions: Dict[str, Region], portal_ regions["Overworld Fountain Cross Door"].connect( connecting_region=regions["Overworld"]) - regions["Overworld"].connect( + ow_to_town_portal = regions["Overworld"].connect( connecting_region=regions["Overworld Town Portal"], rule=lambda state: has_ability(prayer, state, world)) regions["Overworld Town Portal"].connect( @@ -1267,6 +1267,8 @@ def set_er_region_rules(world: "TunicWorld", regions: Dict[str, Region], portal_ connecting_region=regions["Rooted Ziggurat Lower Entry"], rule=lambda state: state.has(laurels, player)) + add_rule(ow_to_town_portal, + lambda state: has_combat_reqs("Before Well", state, player)) # need to fight through the rudelings and turret, or just laurels from near the windmill set_rule(ow_to_well_entry, lambda state: state.has(laurels, player)