diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-01-12 14:24:55 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-01-12 14:24:55 -0500 |
commit | 78789475f9cbbfc4015219fbf218e24599809c91 (patch) | |
tree | e9dc456ce34451e6a929623b35dc89152fc35ce8 /Archipelago | |
parent | e24b49a9f55e3051922925d407d4cda31afcb8e2 (diff) | |
download | lingo-archipelago-78789475f9cbbfc4015219fbf218e24599809c91.tar.gz lingo-archipelago-78789475f9cbbfc4015219fbf218e24599809c91.tar.bz2 lingo-archipelago-78789475f9cbbfc4015219fbf218e24599809c91.zip |
Turn THE COLORFUL into a cdp
Diffstat (limited to 'Archipelago')
-rw-r--r-- | Archipelago/load.gd | 13 |
1 files changed, 12 insertions, 1 deletions
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(): | |||
81 | 81 | ||
82 | wanderer_achieve.translation = Vector3(-51, -33, 35) # way under the map | 82 | wanderer_achieve.translation = Vector3(-51, -33, 35) # way under the map |
83 | 83 | ||
84 | # Turn THE COLORFUL into a cdp. | ||
85 | var real_colorful = panels_parent.get_node("Countdown Panels/Panel_colorful_colorful") | ||
86 | var cdp_auto_scene = load("res://nodes/panel_countdown_auto.tscn") | ||
87 | var colorful_cdp = cdp_auto_scene.instance() | ||
88 | colorful_cdp.name = "CountdownPanel_colorful" | ||
89 | colorful_cdp.replace_with = "../../Panels/Countdown Panels/Panel_colorful_colorful" | ||
90 | colorful_cdp.panels = "../../Panels/Doorways Room" | ||
91 | colorful_cdp.translation = real_colorful.translation | ||
92 | colorful_cdp.rotation = real_colorful.rotation | ||
93 | get_node("CountdownPanels").add_child(colorful_cdp) | ||
94 | real_colorful.translation = Vector3(-51, -35, 35) # way under the map | ||
95 | |||
84 | # Set up The Master to be variable. | 96 | # Set up The Master to be variable. |
85 | var old_master_cdp = get_node("CountdownPanels/CountdownPanel_countdown_16") | 97 | var old_master_cdp = get_node("CountdownPanels/CountdownPanel_countdown_16") |
86 | var cdp_auto_scene = load("res://nodes/panel_countdown_auto.tscn") | ||
87 | var new_master_cdp = cdp_auto_scene.instance() | 98 | var new_master_cdp = cdp_auto_scene.instance() |
88 | new_master_cdp.name = "AP_variable_master" | 99 | new_master_cdp.name = "AP_variable_master" |
89 | new_master_cdp.replace_with = old_master_cdp.replace_with | 100 | new_master_cdp.replace_with = old_master_cdp.replace_with |