Skip to content

placeScatter

placeScatter(surface, share?): ScatterPlacement[]

Defined in: packages/engine/src/gameplay/map/scatterPlacement.ts:92

share scales the density of every kind that does not block, 0 to 1: the quality tier’s cut of what only decorates. A kind that blocks stands in full whatever the share, so a room and every device stand the same rocks and trees. A lower share keeps a subset of a higher one’s placements, because it only moves the survival threshold.

Parameter Type Default value
surface GroundSurface undefined
share number 1

ScatterPlacement[]