summary refs log tree commit diff stats
path: root/apworld/player_logic.py
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-08-30 12:00:03 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-08-30 12:00:03 -0400
commitd2bc5b2811171685e8bdc895122987b53defcf0a (patch)
treedabf111e8d4ba8caceee46189075968e223e3ee8 /apworld/player_logic.py
parent3b77044a6a53d38a6960eb2a5855283a00b24d75 (diff)
downloadlingo2-archipelago-d2bc5b2811171685e8bdc895122987b53defcf0a.tar.gz
lingo2-archipelago-d2bc5b2811171685e8bdc895122987b53defcf0a.tar.bz2
lingo2-archipelago-d2bc5b2811171685e8bdc895122987b53defcf0a.zip
Changed how door location names are formatted
STANDARD type doors with at most four panels in the same map area and no
other trigger objects will have their location names generated from the
names of the panels used to open the door, similar to Lingo 1. Other
door types will use the door's name. In either case, the name can be
overridden using the new location_name field.

Rooms can also set a panel_display_name field, which will be used in
location names for doors, and is used to group panels into areas.

Panels themselves can set display names, which differentiates their
locations from other panels in the same area.

Many maps were updated for this, but note that the_symbolic and
the_unyielding have validator failures because of duplicate panel names.
This won't matter until panelsanity is implemented.
Diffstat (limited to 'apworld/player_logic.py')
-rw-r--r--apworld/player_logic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apworld/player_logic.py b/apworld/player_logic.py index 3854c99..ae22818 100644 --- a/apworld/player_logic.py +++ b/apworld/player_logic.py
@@ -105,7 +105,7 @@ class Lingo2PlayerLogic:
105 # before we calculate any access requirements. 105 # before we calculate any access requirements.
106 for door in world.static_logic.objects.doors: 106 for door in world.static_logic.objects.doors:
107 if door.type in [data_pb2.DoorType.STANDARD, data_pb2.DoorType.ITEM_ONLY] and self.world.options.shuffle_doors: 107 if door.type in [data_pb2.DoorType.STANDARD, data_pb2.DoorType.ITEM_ONLY] and self.world.options.shuffle_doors:
108 door_item_name = self.world.static_logic.get_door_item_name(door.id) 108 door_item_name = self.world.static_logic.get_door_item_name(door)
109 self.item_by_door[door.id] = door_item_name 109 self.item_by_door[door.id] = door_item_name
110 self.real_items.append(door_item_name) 110 self.real_items.append(door_item_name)
111 111