From 79764732406d6484f67d3dec045483dcb5d08c28 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 18 Sep 2026 20:03:13 -0400 Subject: feat: better card ascii art --- internal/game/content_refs.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 internal/game/content_refs.go (limited to 'internal/game/content_refs.go') diff --git a/internal/game/content_refs.go b/internal/game/content_refs.go new file mode 100644 index 0000000..d3328a1 --- /dev/null +++ b/internal/game/content_refs.go @@ -0,0 +1,18 @@ +package game + +// Code-referenced room IDs. +// +// A few rooms are referenced by literal ID in game code rather than by YAML. +// Renaming, moving, or deleting them compiles clean and validates clean (no +// check inspects Go literals), but silently soft-locks the affected flow: the +// thief's "take me to jail" option and the estate directory's "enter" both +// teleport there. TestCodeReferencedRoomsExist pins their existence against +// the shipped data so a move fails loudly instead. +const ( + // jailRoomID is the destination of the stall-guard's "Take me to jail" + // step in act_steal.go. + jailRoomID = 99999162 + // estateNeighborhoodID is the local-neighborhood house room used by the + // construction/estate directory flow in cmd_estate_directory.go. + estateNeighborhoodID = 99999300 +) -- cgit v1.2.3