CONTENT CONTRACT · VERSION 1
PrefabPlacement
How players place a prefab.
Signature
{ category: PlacementCategory, clearance_mm: Distance, joins: (boolean)?, surface: PlacementSurface }Fields
| Name | Type | Meaning |
|---|---|---|
category | PlacementCategory | A building stands outdoors on its footprint; furniture stands on a clearance circle, indoors as well. |
clearance_mm | Distance | Radius furniture keeps clear of bodies and other furniture. Range: 0…2147483647; Unit: mm |
joins | boolean | A piece of a run (a palisade, a fence): placed near a placed piece that also joins, it snaps with its left or right end (along x) flush against that piece's end, straight on or at a right-angled corner, so no gap stays between them. Buildings only; absent: false. |
surface | PlacementSurface | Ground it stands on. |