CONTENT CONTRACT · VERSION 1
ScatterTerrain
Weighted decoration prefabs with a density, a minimum spacing and a hard count limit.
Signature
{ base: BaseTerrain, choices: {ScatterChoice}, density_per_km2: Count, max_count: Count, min_distance_mm: PositiveDistance }Fields
| Name | Type | Meaning |
|---|---|---|
base | BaseTerrain | Terrain under the decorations. |
choices | {ScatterChoice} | Prefabs drawn by relative weight for each accepted candidate. Items: 1…256 |
density_per_km2 | Count | Expected decorations per square kilometre before spacing and the count limit. Range: 0…2147483647; Unit: count |
max_count | Count | Hard upper limit of decorations in this zone; candidates with the lowest stable ID win. Range: 0…2147483647; Unit: count |
min_distance_mm | PositiveDistance | Minimum horizontal distance between two decorations; also the candidate grid size. Range: 1…2147483647; Unit: mm |