From 1de29f5fb38058bd2093da67a1119d3d23358eef Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 24 Oct 2025 13:26:20 -0400 Subject: Add logic for the other rainbow in the_sturdy --- data/maps/the_sturdy/connections.txtpb | 5 +++++ data/maps/the_sturdy/doors.txtpb | 6 ++++++ data/maps/the_sturdy/metadata.txtpb | 7 +++---- data/maps/the_sturdy/rooms/Hidden Rainbow.txtpb | 6 ++++++ data/maps/the_sturdy/rooms/S2 Area.txtpb | 4 +--- 5 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 data/maps/the_sturdy/rooms/Hidden Rainbow.txtpb (limited to 'data/maps/the_sturdy') diff --git a/data/maps/the_sturdy/connections.txtpb b/data/maps/the_sturdy/connections.txtpb index efa67c2..341d99e 100644 --- a/data/maps/the_sturdy/connections.txtpb +++ b/data/maps/the_sturdy/connections.txtpb @@ -3,3 +3,8 @@ connections { to_room: "S2 Area" door { name: "Color Puzzle" } } +connections { + from_room: "Main Area" + to_room: "Hidden Rainbow" + door { name: "Hidden Rainbow" } +} diff --git a/data/maps/the_sturdy/doors.txtpb b/data/maps/the_sturdy/doors.txtpb index 9d37064..819f568 100644 --- a/data/maps/the_sturdy/doors.txtpb +++ b/data/maps/the_sturdy/doors.txtpb @@ -10,3 +10,9 @@ doors { panels { room: "Main Area" name: "MOVE (7)" answer: "back" } panels { room: "Main Area" name: "MOVE (8)" answer: "down" } } +doors { + name: "Hidden Rainbow" + type: EVENT + panels { room: "Main Area" name: "MOVE (2)" answer: "move" } + panels { room: "Main Area" name: "MOVE (4)" answer: "move" } +} diff --git a/data/maps/the_sturdy/metadata.txtpb b/data/maps/the_sturdy/metadata.txtpb index 624f765..bdc5a94 100644 --- a/data/maps/the_sturdy/metadata.txtpb +++ b/data/maps/the_sturdy/metadata.txtpb @@ -1,9 +1,8 @@ display_name: "The Sturdy" -# Let's ignore the second half of the rainbow for now. +# Let's ignore the second half of the rainbows for now. #excluded_nodes: "Components/Doors/Rainbow2/Hinge/rainbowMirrored" -# I don't know why there's a second copy of the rainbow. -#excluded_nodes: "Components/Doors/Rainbow/Hinge/rainbow" #excluded_nodes: "Components/Doors/Rainbow/Hinge/rainbowMirrored" -# The validator doesn't know that this node exists because it is part of a +# The validator doesn't know that these node exist because they are part of a # sub-scene. +custom_nodes: "Components/Doors/Rainbow/Hinge/rainbow" custom_nodes: "Components/Doors/Rainbow2/Hinge/rainbow" diff --git a/data/maps/the_sturdy/rooms/Hidden Rainbow.txtpb b/data/maps/the_sturdy/rooms/Hidden Rainbow.txtpb new file mode 100644 index 0000000..215def8 --- /dev/null +++ b/data/maps/the_sturdy/rooms/Hidden Rainbow.txtpb @@ -0,0 +1,6 @@ +name: "Hidden Rainbow" +paintings { + name: "RAINBOW" + path: "Components/Doors/Rainbow/Hinge/rainbow" + enter_only: true +} diff --git a/data/maps/the_sturdy/rooms/S2 Area.txtpb b/data/maps/the_sturdy/rooms/S2 Area.txtpb index 38fad5e..745f78f 100644 --- a/data/maps/the_sturdy/rooms/S2 Area.txtpb +++ b/data/maps/the_sturdy/rooms/S2 Area.txtpb @@ -12,9 +12,7 @@ letters { path: "Components/Collectables/collectable" } paintings { - name: "RAINBOW" - # The validator is wrong about this node not existing, because it's in a - # sub-scene. + name: "RAINBOW2" path: "Components/Doors/Rainbow2/Hinge/rainbow" enter_only: true } -- cgit 1.4.1