From 8cfee29fe6500e96c3b8669c12ac944716e9aae4 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 23 Oct 2025 12:13:09 -0400 Subject: 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). --- apworld/player_logic.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apworld/player_logic.py') 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: return True elif game_map.type == data_pb2.MapType.ICARUS: return bool(world.options.enable_icarus) + elif game_map.type == data_pb2.MapType.GIFT_MAP: + if game_map.name == "the_advanced": + return "The Advanced" in world.options.enable_gift_maps.value return False -- cgit 1.4.1