From c88f4184eaa48efbdc69e76eb3c8a4a206434ad3 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 16 Aug 2025 14:52:24 -0400 Subject: Started writing a data validator Currently, it can check whether identifiers point to non-existent objects, or whether multiple objects share the same identifier. It can also determine whether an identifier is underspecified (e.g. a door doesn't specify a room, or a global connection doesn't specify a map). --- data/maps/four_rooms/doors.txtpb | 8 ++++---- data/maps/four_rooms/rooms/Examples Room.txtpb | 8 ++++---- data/maps/the_butterfly/doors.txtpb | 2 +- data/maps/the_double_sided/connections.txtpb | 2 +- data/maps/the_great/rooms/Main Area.txtpb | 7 +++++++ 5 files changed, 17 insertions(+), 10 deletions(-) (limited to 'data/maps') diff --git a/data/maps/four_rooms/doors.txtpb b/data/maps/four_rooms/doors.txtpb index 46d0abe..f0bf060 100644 --- a/data/maps/four_rooms/doors.txtpb +++ b/data/maps/four_rooms/doors.txtpb @@ -16,10 +16,10 @@ doors { name: "Examples Door" type: STANDARD receivers: "Components/Doors/entry_2" - panels { room: "Examples Room" name: "SIZE" } - panels { room: "Examples Room" name: "EMOTION" } - panels { room: "Examples Room" name: "SIZE" } - panels { room: "Examples Room" name: "EMOTION" } + panels { room: "Examples Room" name: "SIZE (1)" } + panels { room: "Examples Room" name: "EMOTION (1)" } + panels { room: "Examples Room" name: "SIZE (2)" } + panels { room: "Examples Room" name: "EMOTION (2)" } panels { room: "Examples Room" name: "SUPERLATIVE" } panels { room: "Examples Room" name: "SONNET" } panels { room: "Examples Room" name: "URN" } diff --git a/data/maps/four_rooms/rooms/Examples Room.txtpb b/data/maps/four_rooms/rooms/Examples Room.txtpb index ffbe74d..bec3a23 100644 --- a/data/maps/four_rooms/rooms/Examples Room.txtpb +++ b/data/maps/four_rooms/rooms/Examples Room.txtpb @@ -1,28 +1,28 @@ name: "Examples Room" display_name: "Examples Room" panels { - name: "SIZE" + name: "SIZE (1)" path: "Panels/Room 2 Examples/entry_1" clue: "size" answer: "tiny" symbols: "example" } panels { - name: "EMOTION" + name: "EMOTION (1)" path: "Panels/Room 2 Examples/entry_2" clue: "emotion" answer: "love" symbols: "example" } panels { - name: "SIZE" + name: "SIZE (2)" path: "Panels/Room 2 Examples/entry_3" clue: "size" answer: "huge" symbols: "example" } panels { - name: "EMOTION" + name: "EMOTION (2)" path: "Panels/Room 2 Examples/entry_4" clue: "emotion" answer: "fear" diff --git a/data/maps/the_butterfly/doors.txtpb b/data/maps/the_butterfly/doors.txtpb index 1994d2f..987c269 100644 --- a/data/maps/the_butterfly/doors.txtpb +++ b/data/maps/the_butterfly/doors.txtpb @@ -4,7 +4,7 @@ doors { type: EVENT panels { room: "Main Area" name: "SPECIES" } panels { room: "Main Area" name: "PERSONALITY" } - panels { room: "Main Area" name: "CONSTITUION" } + panels { room: "Main Area" name: "CONSTITUTION" } panels { room: "Main Area" name: "GAME" } panels { room: "Main Area" name: "SCIENCE" } panels { room: "Main Area" name: "SCHOOL" } diff --git a/data/maps/the_double_sided/connections.txtpb b/data/maps/the_double_sided/connections.txtpb index c21049d..3c404e2 100644 --- a/data/maps/the_double_sided/connections.txtpb +++ b/data/maps/the_double_sided/connections.txtpb @@ -94,7 +94,7 @@ connections { door { name: "Obverse Black/Pink Door" } } connections { - from_room: "Flipped Yellow Area" + from_room: "Flipped Yellow Front Area" to_room: "Flipped Black Area" door { name: "Flipped Yellow/Black Door" } } diff --git a/data/maps/the_great/rooms/Main Area.txtpb b/data/maps/the_great/rooms/Main Area.txtpb index a70b011..b014b16 100644 --- a/data/maps/the_great/rooms/Main Area.txtpb +++ b/data/maps/the_great/rooms/Main Area.txtpb @@ -119,6 +119,13 @@ panels { symbols: "sun" symbols: "zero" } +panels { + name: "CURT" + path: "Panels/Maze/entry_1" + clue: "curt" + answer: "court" + symbols: "sparkles" +} ports { name: "ENTRY" path: "Components/Warps/worldport" -- cgit 1.4.1