diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-07-16 13:40:29 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-07-16 13:40:29 -0400 |
commit | 59e2b90ef45adb2c76d139e5995cedb331322176 (patch) | |
tree | c63266a399fea67c379333dfee8803c87d6827e5 /Archipelago/load.gd | |
parent | 0e10801d335a52d3e88ad02a5f3ff9784a53a119 (diff) | |
parent | 6b5b85f96fc855810ac21e96e1aeb9cbde0fe88e (diff) | |
download | lingo-archipelago-59e2b90ef45adb2c76d139e5995cedb331322176.tar.gz lingo-archipelago-59e2b90ef45adb2c76d139e5995cedb331322176.tar.bz2 lingo-archipelago-59e2b90ef45adb2c76d139e5995cedb331322176.zip |
Merge branch 'main' into panels
Diffstat (limited to 'Archipelago/load.gd')
-rw-r--r-- | Archipelago/load.gd | 41 |
1 files changed, 17 insertions, 24 deletions
diff --git a/Archipelago/load.gd b/Archipelago/load.gd index 6ce4749..9b20e6d 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd | |||
@@ -6,7 +6,7 @@ const EXCLUDED_PAINTINGS = [ | |||
6 | "ascension_nw.tscn", | 6 | "ascension_nw.tscn", |
7 | "ascension_se.tscn", | 7 | "ascension_se.tscn", |
8 | "ascension_sw.tscn", | 8 | "ascension_sw.tscn", |
9 | "dan_L1_gate.tscn", | 9 | "color_hallways.tscn", |
10 | "frame.tscn", | 10 | "frame.tscn", |
11 | "scenery_0.tscn", | 11 | "scenery_0.tscn", |
12 | "scenery_1.tscn", | 12 | "scenery_1.tscn", |
@@ -263,6 +263,9 @@ func _load(): | |||
263 | hidden_parent.get_node("hidden_door_58").translation.x = 48 | 263 | hidden_parent.get_node("hidden_door_58").translation.x = 48 |
264 | hidden_parent.get_node("hidden_door_58")._setReference("whiteBlock") | 264 | hidden_parent.get_node("hidden_door_58")._setReference("whiteBlock") |
265 | 265 | ||
266 | # Remove Fearless entrance indicator. | ||
267 | get_node("Decorations/Signs/Miscellaneous/Sign14").queue_free() | ||
268 | |||
266 | if apclient._panel_shuffle != apclient.kNO_PANEL_SHUFFLE: | 269 | if apclient._panel_shuffle != apclient.kNO_PANEL_SHUFFLE: |
267 | # Make The Wondrous's FIRE solely midred. | 270 | # Make The Wondrous's FIRE solely midred. |
268 | clear_gridmap_tile(-76.5, 1.5, -73.5) | 271 | clear_gridmap_tile(-76.5, 1.5, -73.5) |
@@ -375,33 +378,23 @@ func _load(): | |||
375 | ] | 378 | ] |
376 | 379 | ||
377 | if apclient._early_color_hallways: | 380 | if apclient._early_color_hallways: |
378 | var painting_scene = load("res://nodes/paintings/dan_L1_gate.tscn") | 381 | var exit_painting = get_node("Decorations/Paintings/crown_painting_exit").duplicate() |
379 | var mypainting_script = apclient.SCRIPT_mypainting | 382 | exit_painting.name = "color_hallways_exit" |
380 | 383 | exit_painting.translation.x = 48 | |
381 | var exit_painting = painting_scene.instance() | 384 | exit_painting.translation.y = 0.25 |
382 | exit_painting.set_name("color_exit_painting") | 385 | exit_painting.translation.z = -18 |
383 | exit_painting.translation.x = -98.75 | ||
384 | exit_painting.translation.y = 1 | ||
385 | exit_painting.translation.z = 3.5 | ||
386 | exit_painting.rotation_degrees.y = -90 | ||
387 | |||
388 | var exit_mps = mypainting_script.new() | ||
389 | exit_mps.set_name("Script") | ||
390 | exit_mps.orientation = "west" | ||
391 | exit_painting.add_child(exit_mps) | ||
392 | $Decorations/Paintings.add_child(exit_painting) | 386 | $Decorations/Paintings.add_child(exit_painting) |
393 | 387 | ||
388 | var painting_scene = load("res://nodes/paintings/color_hallways.tscn") | ||
394 | var enter_painting = painting_scene.instance() | 389 | var enter_painting = painting_scene.instance() |
395 | enter_painting.set_name("color_enter_painting") | 390 | enter_painting.set_name("color_hallways") |
396 | enter_painting.translation.x = 4.5 | 391 | enter_painting.translation.x = 4.5 |
397 | enter_painting.translation.y = 1 | 392 | enter_painting.translation.y = 0.25 |
398 | enter_painting.translation.z = 6.75 | 393 | enter_painting.translation.z = 7 |
399 | 394 | enter_painting.rotation_degrees.y = 180 | |
400 | var enter_mps = mypainting_script.new() | 395 | enter_painting.set_script(load("res://scripts/painting.gd")) |
401 | enter_mps.set_name("Script") | 396 | enter_painting.rotate = "90" |
402 | enter_mps.orientation = "south" | 397 | enter_painting.target_path = "../color_hallways_exit" |
403 | enter_mps.target = exit_mps | ||
404 | enter_painting.add_child(enter_mps) | ||
405 | $Decorations/Paintings.add_child(enter_painting) | 398 | $Decorations/Paintings.add_child(enter_painting) |
406 | 399 | ||
407 | # Randomize the paintings, if necessary. | 400 | # Randomize the paintings, if necessary. |