From 8b97ed0755c8d950f5cc8f9a957636982f33f012 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 10 Apr 2024 22:34:43 -0400 Subject: Replace early color hallways painting --- Archipelago/load.gd | 38 ++++++++++++++------------------------ 1 file changed, 14 insertions(+), 24 deletions(-) (limited to 'Archipelago/load.gd') diff --git a/Archipelago/load.gd b/Archipelago/load.gd index 566ee39..1b77c9e 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd @@ -6,7 +6,7 @@ const EXCLUDED_PAINTINGS = [ "ascension_nw.tscn", "ascension_se.tscn", "ascension_sw.tscn", - "dan_L1_gate.tscn", + "color_hallways.tscn", "frame.tscn", "scenery_0.tscn", "scenery_1.tscn", @@ -372,33 +372,23 @@ func _load(): ] if apclient._early_color_hallways: - var painting_scene = load("res://nodes/paintings/dan_L1_gate.tscn") - var mypainting_script = apclient.SCRIPT_mypainting - - var exit_painting = painting_scene.instance() - exit_painting.set_name("color_exit_painting") - exit_painting.translation.x = -98.75 - exit_painting.translation.y = 1 - exit_painting.translation.z = 3.5 - exit_painting.rotation_degrees.y = -90 - - var exit_mps = mypainting_script.new() - exit_mps.set_name("Script") - exit_mps.orientation = "west" - exit_painting.add_child(exit_mps) + var exit_painting = get_node("Decorations/Paintings/crown_painting_exit").duplicate() + exit_painting.name = "color_hallways_exit" + exit_painting.translation.x = 48 + exit_painting.translation.y = 0.25 + exit_painting.translation.z = -18 $Decorations/Paintings.add_child(exit_painting) + var painting_scene = load("res://nodes/paintings/color_hallways.tscn") var enter_painting = painting_scene.instance() - enter_painting.set_name("color_enter_painting") + enter_painting.set_name("color_hallways") enter_painting.translation.x = 4.5 - enter_painting.translation.y = 1 - enter_painting.translation.z = 6.75 - - var enter_mps = mypainting_script.new() - enter_mps.set_name("Script") - enter_mps.orientation = "south" - enter_mps.target = exit_mps - enter_painting.add_child(enter_mps) + enter_painting.translation.y = 0.25 + enter_painting.translation.z = 7 + enter_painting.rotation_degrees.y = 180 + enter_painting.set_script(load("res://scripts/painting.gd")) + enter_painting.rotate = "90" + enter_painting.target_path = "../color_hallways_exit" $Decorations/Paintings.add_child(enter_painting) # Randomize the paintings, if necessary. -- cgit 1.4.1