about summary refs log tree commit diff stats
path: root/apworld/player_logic.py
diff options
context:
space:
mode:
Diffstat (limited to 'apworld/player_logic.py')
-rw-r--r--apworld/player_logic.py2
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