diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-10-23 12:13:09 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-10-23 12:13:09 -0400 |
| commit | 8cfee29fe6500e96c3b8669c12ac944716e9aae4 (patch) | |
| tree | bf4723a1790d30155bb70fc710d416f008790b27 /apworld/player_logic.py | |
| parent | 3cb2ced48dec3b9ea60e008b2a3598a322458adf (diff) | |
| download | lingo2-archipelago-8cfee29fe6500e96c3b8669c12ac944716e9aae4.tar.gz lingo2-archipelago-8cfee29fe6500e96c3b8669c12ac944716e9aae4.tar.bz2 lingo2-archipelago-8cfee29fe6500e96c3b8669c12ac944716e9aae4.zip | |
Added "Enable Gift Maps" option
Only supports The Advanced so far. Also added the mastery to The Advanced. Location listeners are now created after any map edits are made since some locations may require custom nodes (like The Advanced's mastery).
Diffstat (limited to 'apworld/player_logic.py')
| -rw-r--r-- | apworld/player_logic.py | 3 |
1 files changed, 3 insertions, 0 deletions
| diff --git a/apworld/player_logic.py b/apworld/player_logic.py index 0cf0473..4f825b9 100644 --- a/apworld/player_logic.py +++ b/apworld/player_logic.py | |||
| @@ -234,6 +234,9 @@ class Lingo2PlayerLogic: | |||
| 234 | return True | 234 | return True |
| 235 | elif game_map.type == data_pb2.MapType.ICARUS: | 235 | elif game_map.type == data_pb2.MapType.ICARUS: |
| 236 | return bool(world.options.enable_icarus) | 236 | return bool(world.options.enable_icarus) |
| 237 | elif game_map.type == data_pb2.MapType.GIFT_MAP: | ||
| 238 | if game_map.name == "the_advanced": | ||
| 239 | return "The Advanced" in world.options.enable_gift_maps.value | ||
| 237 | 240 | ||
| 238 | return False | 241 | return False |
| 239 | 242 | ||
