docs: point wall geometry wire validation at 5.7/5.10
One statement of the thickness/position/height ranges; the wall payload rule keeps only the defaults and the patch behaviour.
This commit is contained in:
+5
-5
@@ -1461,11 +1461,11 @@ switches, never `thickness`, `position` or `height` (#50).
|
||||
- `id` is an integer; lookup failures are `not-found` (a GM's missing target, 6.5 step 8).
|
||||
`door.set` on a row whose `door` is false is `invalid`, and so is `open:true` on a secret door
|
||||
(5.8) or on a locked door (#46, 5.8).
|
||||
- `thickness`, `position` and `height` are the wall's geometry fields and are typed, validated
|
||||
server-side, and never live in `flags` (5.10, 5.7). `thickness` is a finite number in px `0 <= t
|
||||
<= 256` (absent/default `0`, the drawn line); `position` is one of `center|left|right`
|
||||
(absent/default `center`); `height` is metres, a finite number `> 0` and `<= 100`, and **absent or
|
||||
`null` means full height** (5.7, #49). A preset never implies or resets them: `wall.add
|
||||
- `thickness`, `position` and `height` are the wall's geometry fields, typed and validated
|
||||
server-side and never inside `flags`. Their units, ranges and the full-height meaning are stated
|
||||
once in 5.10 (thickness, position) and 5.7 (height); here only the defaults and the patch
|
||||
behaviour: absent `thickness` = `0` (the drawn line), absent `position` = `center`, absent or
|
||||
`null` `height` = full height. A preset never implies or resets them: `wall.add
|
||||
{preset:"door", thickness:20, position:"left"}` is legal, and a `wall.update {preset:"window"}` on
|
||||
a thick wall keeps the thick body. `height:null` in `wall.update` restores full height; `height`
|
||||
absent leaves it alone.
|
||||
|
||||
Reference in New Issue
Block a user