feat(client): GM token panel sets vision and vision radius (#78)
Token create and edit now carry flags.vision and vision_radius; edits merge
only the vision key into the stored flags. A new token keeps DESIGN 8's
flags '{}' default (vision off, radius = scene default). The fog e2e authors
its sighted token through the GM panel, and the admin e2e proves the panel
round-trip plus an explored 200 / unexplored 403 tile probe.
Refs #78
This commit is contained in:
@@ -864,6 +864,12 @@ top-level object is depth 1). At a cap is accepted; over is `invalid` and applie
|
||||
live next to the property caps and are read from one shared validator; token `flags`, props and
|
||||
stored values above a cap are out of scope. See current 6.1.
|
||||
|
||||
Owner also decided 2026-11-21 [FIXED (owner-delegated, 2026-11-21, #78)]: a new token's `flags`
|
||||
stays the §8 default `'{}'`, so the GM token panel's Vision checkbox starts unchecked and its vision
|
||||
radius starts blank (scene default), on create and on edit. No wire default changed; the panel
|
||||
follows the existing `'{}'` reading rather than choosing "vision on for a player-controlled token".
|
||||
See current 8.
|
||||
|
||||
## D. Superseded statements removed from the current spec
|
||||
|
||||
Each entry quotes the superseded statement (excerpt) and names the surviving rule.
|
||||
|
||||
@@ -2090,6 +2090,10 @@ copy/export stable).
|
||||
said "the server never interprets props in v1". Property writes are GM-only in v1 (6.1, #11);
|
||||
the writable-by role and a default value are deferred to the FFF seam (9, post-v1), not part of
|
||||
this registry.
|
||||
- **New-token vision default [FIXED (owner-delegated), 2026-11-21, #78].** A new token's `flags`
|
||||
stays `'{}'`, so it sees nothing until the GM turns vision on: the token panel's Vision checkbox
|
||||
starts unchecked and its vision radius starts blank (the scene default), on create and on edit.
|
||||
No wire default changed; the GM panel matches §8's `'{}'` default rather than adding one.
|
||||
- **Character [FIXED, owner decision 2026-11-10, #14]**: own record, separate from tokens. Fields
|
||||
(indicative): `id` (random, same format as token ids), `owner` (exactly one player id; the GM is a
|
||||
player, so GM ownership = the GM's player id; the GM reassigns), `descriptive_name`, `actual_name`
|
||||
|
||||
Reference in New Issue
Block a user