about summary refs log tree commit diff stats
path: root/Archipelago/load.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Archipelago/load.gd')
-rw-r--r--Archipelago/load.gd13
1 files changed, 13 insertions, 0 deletions
diff --git a/Archipelago/load.gd b/Archipelago/load.gd index 56991fb..c637ccb 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd
@@ -58,6 +58,19 @@ func _load():
58 58
59 wanderer_achieve.translation = Vector3(-51, -33, 35) # way under the map 59 wanderer_achieve.translation = Vector3(-51, -33, 35) # way under the map
60 60
61 # Set up The Master to be variable.
62 var old_master_cdp = get_node("CountdownPanels/CountdownPanel_countdown_16")
63 var cdp_auto_scene = load("res://nodes/panel_countdown_auto.tscn")
64 var new_master_cdp = cdp_auto_scene.instance()
65 new_master_cdp.name = "AP_variable_master"
66 new_master_cdp.replace_with = old_master_cdp.replace_with
67 new_master_cdp.panels = "../../Panels/Countdown Panels"
68 new_master_cdp.maxlength = apclient._mastery_achievements
69 new_master_cdp.translation = old_master_cdp.translation
70 new_master_cdp.rotation = old_master_cdp.rotation
71 get_node("CountdownPanels").add_child(new_master_cdp)
72 old_master_cdp.queue_free()
73
61 # This is the best time to create the location nodes, since the map is now 74 # This is the best time to create the location nodes, since the map is now
62 # loaded but the panels haven't been solved from the save file yet. 75 # loaded but the panels haven't been solved from the save file yet.
63 var panels_parent = self.get_node("Panels") 76 var panels_parent = self.get_node("Panels")