From bcf503855107404ab3c8e0a7edd750c2720f8024 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 20 Aug 2025 15:28:40 -0400 Subject: Maps have display names now Also added endings to the apworld. --- apworld/player_logic.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apworld/player_logic.py') diff --git a/apworld/player_logic.py b/apworld/player_logic.py index f67d7f9..455e24f 100644 --- a/apworld/player_logic.py +++ b/apworld/player_logic.py @@ -101,6 +101,10 @@ class Lingo2PlayerLogic: self.locations_by_room.setdefault(mastery.room_id, []).append(PlayerLocation(mastery.ap_id, AccessRequirements())) + for ending in world.static_logic.objects.endings: + self.locations_by_room.setdefault(ending.room_id, []).append(PlayerLocation(ending.ap_id, + AccessRequirements())) + def get_panel_reqs(self, panel_id: int, answer: str | None) -> AccessRequirements: if answer is None: if panel_id not in self.panel_reqs: -- cgit 1.4.1