From 6e04dbb1ebb811429bbfdb53bd8c4c079ef63732 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sun, 4 Feb 2024 11:30:04 -0500 Subject: Randomize layout of The Steady --- randomizer/load.gd | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'randomizer/load.gd') diff --git a/randomizer/load.gd b/randomizer/load.gd index aad221f..55e4efc 100644 --- a/randomizer/load.gd +++ b/randomizer/load.gd @@ -206,6 +206,14 @@ func _load(): $CountdownPanels.add_child(pilgrim_cdp) pilgrim_real.translation.y = -33 + # Remap The Steady's doors. + for door in randomizer.steady._door_mapping.keys(): + get_node("Doors/Rock Room Doors").get_node(door).remap(["../../../Panels/Rock Room/%s" % randomizer.steady._door_mapping[door]]) + + for door in get_node("Doors/Rock Room Doors").get_children(): + if !randomizer.steady._door_mapping.has(door.name) and door.name != "Door_hint": + door.remap(["../../../Panels/Countdown Panels/Panel_steady_steady"]) + # Proceed with the rest of the load. global._print("Hooked Load End") ._load() -- cgit 1.4.1