Terrain walls #48
Notifications
Due Date
No due date set.
Blocks
Depends on
#49 Wall wire format, schema and migration
SirStone/FFF_vtt_frozen
#42 Wall model: kinds or restriction flags
SirStone/FFF_vtt_frozen
Reference: SirStone/FFF_vtt_frozen#48
Reference in New Issue
Block a user
Part of #38
Question
What does a movement-only barrier (pit, river) do to movement, door push, stuck/squeezed, and is it visible to players?
Fixed by #42 (DESIGN 5.8)
terrainis a preset, not a kind:blocks_sight:false,blocks_movement:true. It is absent from the vision input entirely, so it changes no polygon, no explored cell and no tile.stuck/squeezed, the move checks and the door push treat it exactly as a solid wall.Question (narrowed)
Is that play consequence acceptable (players walk into a barrier the art does not obviously show), or does v1 need a player-visible cue, which would change the 3.1 rule and is therefore the owner's call? And what should the GM editor do so the invisible barrier is obvious while authoring (distinct colour, hatching, a terrain label)?
Input from #47 (DESIGN 5.8, decided)
terrainswitch set exactly (blocks_sight:false,blocks_movement:true, no door), so it deriveskind:"terrain": no preset of its own and no new kind.terrainis therefore also the name for a see-through, impassable window; the editor may annotate a terrain piece between two walls as a fixed window (M4 UI, nothing on the wire).Resolved in DESIGN v0.27, commit
7ac915a(no push).What we decided
terrainis dropped, everywhere: no preset, no derived kind, no stored name. The switch setblocks_sight:false+blocks_movement:true(no door) is a fixed window and deriveskind:"window". A railing, a bush, a pit edge and a fixed window are one wall object with one switch set; they differ only in the GM'slabel.wall,door,window,one-way.secretandlockedare checkboxes on any door, including an opening window (door+blocks_sight:false); #46 semantics unchanged (GM-only, locked refuses open until the GM unlocks, never observable).player_marker: on for thewindowpreset, off for all others; GM may toggle it on any wall. An invisible barrier = a window with the marker off. This is the first wall-derived player data, an exact exception to §3.1: a player receives an anchor point and its own opaque per-player marker id, nothing else (client draws the window icon). Anchor = the wall's drawn midpoint; the marker is sent once any point of the wall's visible extent (segment, or body boundary if thick) has entered that player's vision polygon; it then persists like explored memory. It is retracted only on a GM change (wall removed, marker off, no longer a window, geometry moved), and a moved wall must be seen again before its marker returns.label: optional GM-only free text, no behaviour, never on a player wire (leakcheckBannedAlways->WALLDATA).Delegated picks
secret_door/locked_doorremoved as wire preset names (presetswall|door|window|one_way; #49 implements the wire). Derived kinds arewall,door,window,one_way, elsecustom, by shape in this order: window (blocks_sight:false+blocks_movement:true, door either), one-way (blocks_sight:true,sight_dir != both), door, wall;secret/lockedare flags that never change the label. A secret door also requires both block switches on andsight_dir:"both"(a secret window would show itself); a locked window is allowed.markeronly (fields/diff/removal are #49's). Anchor and visibility gate as above; opaque per-player id so no wall id or wall count is exposed; retraction on GM change.labelmax 64 code points, trimmed, no control characters (the 6.5 text rule).Supersessions (closed bodies untouched, recorded in DESIGN §14): #42's
terrainpreset and #47's fixed-form/kind rule and the seven-name preset list; §14 Q6 gets the four-preset list, and #47's §14 entry is marked superseded.Owner confirmed 2026-11-16:
secretis not allowed on a window (a see-through wall can never be byte-identical to solid wall, #46 invariant);lockedis allowed on windows. Matches DESIGN as committed in7ac915a— no change needed.