diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-03 21:51:34 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-03 21:51:34 -0400 |
commit | bed3397a3acb42104cbf085455954313178d8433 (patch) | |
tree | f4cd9f318b578c85e7a23c05896e7505c4c86e4b /apworld/regions.py | |
parent | c5edb28bd91936ede3c7d31a9d934ef5428fba40 (diff) | |
download | lingo2-archipelago-bed3397a3acb42104cbf085455954313178d8433.tar.gz lingo2-archipelago-bed3397a3acb42104cbf085455954313178d8433.tar.bz2 lingo2-archipelago-bed3397a3acb42104cbf085455954313178d8433.zip |
Added option for Daedalus roof access logic
Diffstat (limited to 'apworld/regions.py')
-rw-r--r-- | apworld/regions.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apworld/regions.py b/apworld/regions.py index fe2c99b..e30493c 100644 --- a/apworld/regions.py +++ b/apworld/regions.py | |||
@@ -41,6 +41,9 @@ def create_regions(world: "Lingo2World"): | |||
41 | 41 | ||
42 | # TODO: The requirements of the opposite trigger also matter. | 42 | # TODO: The requirements of the opposite trigger also matter. |
43 | for connection in world.static_logic.objects.connections: | 43 | for connection in world.static_logic.objects.connections: |
44 | if connection.roof_access and not world.options.daedalus_roof_access: | ||
45 | continue | ||
46 | |||
44 | from_region = world.static_logic.get_room_region_name(connection.from_room) | 47 | from_region = world.static_logic.get_room_region_name(connection.from_room) |
45 | to_region = world.static_logic.get_room_region_name(connection.to_room) | 48 | to_region = world.static_logic.get_room_region_name(connection.to_room) |
46 | connection_name = f"{from_region} -> {to_region}" | 49 | connection_name = f"{from_region} -> {to_region}" |