EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

FloraLayer

Weighted plants with a density, a minimum spacing and a hard count limit; one candidate per spacing cell.

Signature

{ choices: {FloraChoice}, density_per_km2: Count, max_count: Count, min_distance_mm: PositiveDistance, seed_salt: Name }

Fields

NameTypeMeaning
choices{FloraChoice}Plants drawn by relative weight for each accepted candidate.
Items: 1…64
density_per_km2CountExpected plants per square kilometre before free ground, spacing and the count limit.
Range: 0…2147483647; Unit: count
max_countCountHard upper limit of plants of this layer; candidates in seeded order win.
Range: 0…2147483647; Unit: count
min_distance_mmPositiveDistanceMinimum horizontal distance between two plants of the layer; also the candidate grid size.
Range: 1…2147483647; Unit: mm
seed_saltNameStable local salt separating this layer's deterministic seed stream.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$