feat: GM characters, reveals, who-sees-it and seen_by (#75)
Server: GM token frames gain the additive, GM-only seen_by:[player ids], computed from each player's existing sight (PlayerVision.visibleTo) with no extra polygon pass. Leakcheck BannedAlways bans seen_by; a seenBy fault build is caught as exactly WALLDATA. proto stays 2 (6.2 additive). Client: new cast slice parses character/character_gone/encountered frames and seen_by; gmcast panel adds character create/rename/assign/remove, reveal to one/all, encountered forget (grey entries only) and the who-sees-it list (0/100 in M4). Mounted beside the #74 admin panel. Docs: DESIGN 5.9/6.1/6.2/7.4 record the round-1 shape and the no-bump call. Gates: devbox run test, client-test, e2e green; bench recorded.
This commit is contained in:
@@ -32,6 +32,7 @@ const FAULTS = {
|
||||
gmOnly: ['GMONLY_TOKEN', 'NO_REMOVE'],
|
||||
walls: ['WALLDATA'],
|
||||
wallHeight: ['WALLDATA'],
|
||||
seenBy: ['WALLDATA'], // #75: the GM-only who-sees-it field in a player token frame
|
||||
oneWay: ['ONEWAY'],
|
||||
markerEarly: ['MARKER_EARLY'],
|
||||
markerExtra: ['MARKER_EXTRA'],
|
||||
|
||||
Reference in New Issue
Block a user