aboutsummaryrefslogtreecommitdiff
path: root/internal/game/content_refs.go
blob: d3328a1ec796337295dc3435f1f3365480d93753 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
)