diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-10-04 16:06:32 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-10-04 16:06:32 -0400 |
| commit | b53d1f94582ebc62eb0520f041f83baecb747c0a (patch) | |
| tree | 394afa366a137fb928931ff9636404b34d0b2a1f /apworld/player_logic.py | |
| parent | 9d2634cbe0d41900c7dfe2402a7eacdc5176d971 (diff) | |
| download | lingo2-archipelago-b53d1f94582ebc62eb0520f041f83baecb747c0a.tar.gz lingo2-archipelago-b53d1f94582ebc62eb0520f041f83baecb747c0a.tar.bz2 lingo2-archipelago-b53d1f94582ebc62eb0520f041f83baecb747c0a.zip | |
Added button to get logical path
Diffstat (limited to 'apworld/player_logic.py')
| -rw-r--r-- | apworld/player_logic.py | 2 |
1 files changed, 2 insertions, 0 deletions
| 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: | |||
| 214 | real_items: list[str] | 214 | real_items: list[str] |
| 215 | 215 | ||
| 216 | double_letter_amount: dict[str, int] | 216 | double_letter_amount: dict[str, int] |
| 217 | goal_room_id: int | ||
| 217 | 218 | ||
| 218 | def __init__(self, world: "Lingo2World"): | 219 | def __init__(self, world: "Lingo2World"): |
| 219 | self.world = world | 220 | self.world = world |
| @@ -327,6 +328,7 @@ class Lingo2PlayerLogic: | |||
| 327 | 328 | ||
| 328 | if world.options.victory_condition.current_key.removesuffix("_ending").upper() == ending.name: | 329 | if world.options.victory_condition.current_key.removesuffix("_ending").upper() == ending.name: |
| 329 | item_name = "Victory" | 330 | item_name = "Victory" |
| 331 | self.goal_room_id = ending.room_id | ||
| 330 | 332 | ||
| 331 | self.event_loc_item_by_room.setdefault(ending.room_id, {})[event_name] = item_name | 333 | self.event_loc_item_by_room.setdefault(ending.room_id, {})[event_name] = item_name |
| 332 | 334 | ||
