ADR-0015 no longer cites DESIGN §10.3 (now a pointer); ADR-0012 and the thick/low-wall research note name TESTING.md for the proof side.
32 lines
1.6 KiB
Markdown
32 lines
1.6 KiB
Markdown
# A player marker is the one wall fact a player ever receives
|
|
|
|
A wall with `player_marker` on that derives `window` sends a player, once any point of its visible
|
|
extent has entered that player's vision polygon, exactly one anchor point (integer px, the drawn
|
|
midpoint) and an opaque per-player marker id. It carries no type, kind, open/closed, direction,
|
|
label, thickness, height, wall id or switch. This is a deliberate, exact exception to "walls never
|
|
reach a player", because an invisible window is worse for play than a single point of disclosure,
|
|
and the point cannot be used to infer what the wall does.
|
|
|
|
## Status
|
|
accepted
|
|
|
|
## Alternatives
|
|
- Send the window's geometry or kind: rejected, that is wall data and reveals a barrier's shape.
|
|
- Send nothing: rejected, players would walk into invisible windows.
|
|
- Send a marker for every marked wall regardless of kind: rejected, turning the switch on for a
|
|
solid wall would then disclose it; the derived-kind gate makes a solid wall's switch inert.
|
|
|
|
## Consequences
|
|
The marker is per-player memory like explored: persisted in `marker_seen`, restored before the first
|
|
connection, never retracted by walking away, a door or lost sight, and retracted only when the GM
|
|
removes the wall, clears the switch, makes it not a window or moves its geometry. The GM never
|
|
receives `marker` frames. Frames diff by the opaque id, never the wall id, and an anchor is never
|
|
updated in place. Three fault classes and an oracle pin it.
|
|
|
|
## Tickets
|
|
#48 (marker decision), #49 (wire shape and storage).
|
|
|
|
## Spec
|
|
Current §3.1 (the one exception), §5.8, §6.1 (`marker`), §6.3, §8 (`marker_seen`); proven by
|
|
`TESTING.md` §5.8 and §10.3.
|