From 78789475f9cbbfc4015219fbf218e24599809c91 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 12 Jan 2024 14:24:55 -0500 Subject: Turn THE COLORFUL into a cdp --- Archipelago/load.gd | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Archipelago/load.gd b/Archipelago/load.gd index a2051c3..7dda51b 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd @@ -81,9 +81,20 @@ func _load(): wanderer_achieve.translation = Vector3(-51, -33, 35) # way under the map + # Turn THE COLORFUL into a cdp. + var real_colorful = panels_parent.get_node("Countdown Panels/Panel_colorful_colorful") + var cdp_auto_scene = load("res://nodes/panel_countdown_auto.tscn") + var colorful_cdp = cdp_auto_scene.instance() + colorful_cdp.name = "CountdownPanel_colorful" + colorful_cdp.replace_with = "../../Panels/Countdown Panels/Panel_colorful_colorful" + colorful_cdp.panels = "../../Panels/Doorways Room" + colorful_cdp.translation = real_colorful.translation + colorful_cdp.rotation = real_colorful.rotation + get_node("CountdownPanels").add_child(colorful_cdp) + real_colorful.translation = Vector3(-51, -35, 35) # way under the map + # Set up The Master to be variable. var old_master_cdp = get_node("CountdownPanels/CountdownPanel_countdown_16") - var cdp_auto_scene = load("res://nodes/panel_countdown_auto.tscn") var new_master_cdp = cdp_auto_scene.instance() new_master_cdp.name = "AP_variable_master" new_master_cdp.replace_with = old_master_cdp.replace_with -- cgit 1.4.1