EverambleGAME API / 1

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

NameTypeMeaning
baseBaseTerrainTerrain under the decorations.
choices{ScatterChoice}Prefabs drawn by relative weight for each accepted candidate.
Items: 1…256
density_per_km2CountExpected decorations per square kilometre before spacing and the count limit.
Range: 0…2147483647; Unit: count
max_countCountHard upper limit of decorations in this zone; candidates with the lowest stable ID win.
Range: 0…2147483647; Unit: count
min_distance_mmPositiveDistanceMinimum horizontal distance between two decorations; also the candidate grid size.
Range: 1…2147483647; Unit: mm