From d36ba62243978185a97e67a1e04d3c51801ee36d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Bolduc?= <16137441+Jouramie@users.noreply.github.com> Date: Wed, 29 Apr 2026 15:24:10 -0400 Subject: [PATCH] The Messenger: Add missing rules for Key of Strength#6124 --- worlds/messenger/connections.py | 5 ++++- worlds/messenger/regions.py | 2 +- worlds/messenger/rules.py | 14 +++++++------- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/worlds/messenger/connections.py b/worlds/messenger/connections.py index 84f7f9b242..490803e959 100644 --- a/worlds/messenger/connections.py +++ b/worlds/messenger/connections.py @@ -316,7 +316,7 @@ CONNECTIONS: dict[str, dict[str, list[str]]] = { "Searing Mega Shard Shop": [ "Searing Crags - Falling Rocks Shop", "Searing Crags - Before Final Climb Shop", - "Searing Crags - Key of Strength Shop", + "Searing Crags - Key of Strength Room", ], "Before Final Climb Shop": [ "Searing Crags - Raining Rocks Checkpoint", @@ -330,6 +330,9 @@ CONNECTIONS: dict[str, dict[str, list[str]]] = { "Searing Crags - Top", ], "Key of Strength Shop": [ + "Searing Crags - Key of Strength Room", + ], + "Key of Strength Room": [ "Searing Crags - Searing Mega Shard Shop", ], "Triple Ball Spinner Checkpoint": [ diff --git a/worlds/messenger/regions.py b/worlds/messenger/regions.py index d53b84fe34..eb668356ca 100644 --- a/worlds/messenger/regions.py +++ b/worlds/messenger/regions.py @@ -96,7 +96,7 @@ LOCATIONS: dict[str, list[str]] = { "Searing Crags - Power Thistle", "Searing Crags - Astral Tea Leaves", ], - "Searing Crags - Key of Strength Shop": [ + "Searing Crags - Key of Strength Room": [ "Searing Crags - Key of Strength", ], "Searing Crags - Portal": [ diff --git a/worlds/messenger/rules.py b/worlds/messenger/rules.py index bc1fc6aa99..2f1299932f 100644 --- a/worlds/messenger/rules.py +++ b/worlds/messenger/rules.py @@ -108,17 +108,18 @@ class MessengerRules: "Searing Crags - Right -> Searing Crags - Portal": lambda state: self.has_tabi(state) and self.has_wingsuit(state), "Searing Crags - Colossuses Shop -> Searing Crags - Key of Strength Shop": - lambda state: state.has("Power Thistle", self.player) - and (self.has_dart(state) - or (self.has_wingsuit(state) - and self.can_destroy_projectiles(state))), + lambda state: state.has("Power Thistle", self.player), + "Searing Crags - Key of Strength Shop -> Searing Crags - Key of Strength Room": + lambda state: self.has_dart(state) + or (self.has_wingsuit(state) + and self.can_destroy_projectiles(state)), "Searing Crags - Falling Rocks Shop -> Searing Crags - Searing Mega Shard Shop": self.has_dart, "Searing Crags - Searing Mega Shard Shop -> Searing Crags - Before Final Climb Shop": lambda state: self.has_dart(state) or self.can_destroy_projectiles(state), "Searing Crags - Searing Mega Shard Shop -> Searing Crags - Falling Rocks Shop": self.has_dart, - "Searing Crags - Searing Mega Shard Shop -> Searing Crags - Key of Strength Shop": + "Searing Crags - Searing Mega Shard Shop -> Searing Crags - Key of Strength Room": self.false, "Searing Crags - Before Final Climb Shop -> Searing Crags - Colossuses Shop": self.has_dart, @@ -406,7 +407,7 @@ class MessengerHardRules(MessengerRules): lambda state: self.has_dart(state) or (self.can_destroy_projectiles(state) and (self.has_wingsuit(state) or self.can_dboost(state))), - "Searing Crags - Searing Mega Shard Shop -> Searing Crags - Key of Strength Shop": + "Searing Crags - Searing Mega Shard Shop -> Searing Crags - Key of Strength Room": lambda state: self.can_leash(state) or self.has_windmill(state), "Searing Crags - Before Final Climb Shop -> Searing Crags - Colossuses Shop": self.true, @@ -512,7 +513,6 @@ class MessengerOOBRules(MessengerRules): self.location_rules = { "Bamboo Creek - Claustro": self.has_wingsuit, - "Searing Crags - Key of Strength": self.has_wingsuit, "Sunken Shrine - Key of Love": lambda state: state.has_all({"Sun Crest", "Moon Crest"}, self.player), "Searing Crags - Pyro": self.has_tabi, "Underworld - Key of Chaos": self.has_tabi,