From b53d1f94582ebc62eb0520f041f83baecb747c0a Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 4 Oct 2025 16:06:32 -0400 Subject: Added button to get logical path --- apworld/player_logic.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apworld/player_logic.py') diff --git a/apworld/player_logic.py b/apworld/player_logic.py index 3ed1bb1..84c93c8 100644 --- a/apworld/player_logic.py +++ b/apworld/player_logic.py @@ -214,6 +214,7 @@ class Lingo2PlayerLogic: real_items: list[str] double_letter_amount: dict[str, int] + goal_room_id: int def __init__(self, world: "Lingo2World"): self.world = world @@ -327,6 +328,7 @@ class Lingo2PlayerLogic: if world.options.victory_condition.current_key.removesuffix("_ending").upper() == ending.name: item_name = "Victory" + self.goal_room_id = ending.room_id self.event_loc_item_by_room.setdefault(ending.room_id, {})[event_name] = item_name -- cgit 1.4.1