about summary refs log tree commit diff stats
path: root/apworld/regions.py
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-09-29 12:31:01 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-09-29 12:31:01 -0400
commit99191f3aa87b2362516971c1fdd64d21b16f87b7 (patch)
tree336a0fff582e0709f7cc60b3e46fff5f10d6b649 /apworld/regions.py
parent91f829a193b9fd7686bd401bc0704f26bf75dafc (diff)
downloadlingo2-archipelago-99191f3aa87b2362516971c1fdd64d21b16f87b7.tar.gz
lingo2-archipelago-99191f3aa87b2362516971c1fdd64d21b16f87b7.tar.bz2
lingo2-archipelago-99191f3aa87b2362516971c1fdd64d21b16f87b7.zip
Show when goal is reachable in tracker
Diffstat (limited to 'apworld/regions.py')
-rw-r--r--apworld/regions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/apworld/regions.py b/apworld/regions.py index 9f44682..64302f6 100644 --- a/apworld/regions.py +++ b/apworld/regions.py
@@ -28,6 +28,9 @@ def create_locations(room, new_region: Region, world: "Lingo2World", regions: di
28 28
29 for event_name, item_name in world.player_logic.event_loc_item_by_room.get(room.id, {}).items(): 29 for event_name, item_name in world.player_logic.event_loc_item_by_room.get(room.id, {}).items():
30 new_location = Lingo2Location(world.player, event_name, None, new_region) 30 new_location = Lingo2Location(world.player, event_name, None, new_region)
31 if world.for_tracker and item_name == "Victory":
32 new_location.goal = True
33
31 event_item = Lingo2Item(item_name, ItemClassification.progression, None, world.player) 34 event_item = Lingo2Item(item_name, ItemClassification.progression, None, world.player)
32 new_location.place_locked_item(event_item) 35 new_location.place_locked_item(event_item)
33 new_region.locations.append(new_location) 36 new_region.locations.append(new_location)