From 8662f88dfe0d7f2a9090037a92a8d1d761614a8c Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 14 Aug 2025 14:24:47 -0400 Subject: Assigned IDs for the_gold, the_graveyard, and the_great --- apworld/static_logic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apworld/static_logic.py') diff --git a/apworld/static_logic.py b/apworld/static_logic.py index 6a05f3d..af1e985 100644 --- a/apworld/static_logic.py +++ b/apworld/static_logic.py @@ -17,11 +17,11 @@ class Lingo2StaticLogic: self.objects.ParseFromString(bytearray(file)) for door in self.objects.doors: - if door.type in [data_pb2.DoorType.STANDARD, data_pb2.DoorType.LOCATION_ONLY]: + if door.type in [data_pb2.DoorType.STANDARD, data_pb2.DoorType.LOCATION_ONLY, data_pb2.DoorType.GRAVESTONE]: location_name = f"{self.objects.maps[door.map_id].name} - {door.name}" self.location_id_to_name[door.ap_id] = location_name - if door.type not in [data_pb2.DoorType.EVENT, data_pb2.DoorType.LOCATION_ONLY]: + if door.type not in [data_pb2.DoorType.EVENT, data_pb2.DoorType.LOCATION_ONLY, data_pb2.DoorType.GRAVESTONE]: item_name = self.get_door_item_name(door.id) self.item_id_to_name[door.ap_id] = item_name -- cgit 1.4.1