ice

Azgaar 2026-01-30 18:25:53 +01:00
parent 54418d79ec
commit a116299cc4

@ -280,6 +280,14 @@ Zones data is stored as an array of objects with `i` not necessary equal to the
* `lock`: `boolean` - `true` if zone is locked (not affected by regeneration). Optional * `lock`: `boolean` - `true` if zone is locked (not affected by regeneration). Optional
* `hidden`: `boolean` - `true` if zone is hidden (not displayed). Optional * `hidden`: `boolean` - `true` if zone is hidden (not displayed). Optional
## Ice
Ice data is stored as an array of objects with `i` not necessary equal to the element index, but order of element defines the rendering order and is important. Object structure:
* `i`: `number` - ice element id. Please note the element with id `0` is a fully valid ice element, not a placeholder
* `type`: `glacier | iceberg` - ice type
* `offset`: `[number, number]` - ice position offset in px, optional, only added for manually dragged ice elements
* `points`: `number[][]` - ice element vertices positions
# Secondary global data # Secondary global data
Secondary data exposed to global space. Secondary data exposed to global space.