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:
2026-11-21 15:43:13 +01:00
parent fcd90529b6
commit bacf2e1412
9 changed files with 387 additions and 27 deletions
+4
View File
@@ -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`