aboutsummaryrefslogtreecommitdiff
path: root/internal/game/content_refs.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-18 20:03:13 -0400
committerhistoria <[not public]>2026-09-18 20:03:13 -0400
commit79764732406d6484f67d3dec045483dcb5d08c28 (patch)
tree7a64e8581a540b97ed554f5723e2d587424ab1c6 /internal/game/content_refs.go
parentf1e461ab6aec6b9bf056bbe2daa88a251e0f21da (diff)
downloadthehouseoficarus-79764732406d6484f67d3dec045483dcb5d08c28.tar.gz
feat: better card ascii art
Diffstat (limited to 'internal/game/content_refs.go')
-rw-r--r--internal/game/content_refs.go18
1 files changed, 18 insertions, 0 deletions
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
+)