about summary refs log tree commit diff stats
path: root/apworld/player_logic.py
diff options
context:
space:
mode:
Diffstat (limited to 'apworld/player_logic.py')
-rw-r--r--apworld/player_logic.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/apworld/player_logic.py b/apworld/player_logic.py index 0cf0473..5f4f1d7 100644 --- a/apworld/player_logic.py +++ b/apworld/player_logic.py
@@ -234,6 +234,13 @@ 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
240 elif game_map.name == "the_charismatic":
241 return "The Charismatic" in world.options.enable_gift_maps.value
242 elif game_map.name == "the_crystalline":
243 return "The Crystalline" in world.options.enable_gift_maps.value
237 244
238 return False 245 return False
239 246