ScatterDecorationsRecipeStep
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:356
Recipe step that scatters decoration assets across matching tiles.
Extends
Section titled “Extends”Properties
Section titled “Properties”action
Section titled “action”action:
"scatterDecorations"
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:358
Discriminator for decoration scatter placement.
assets
Section titled “assets”assets: readonly
string[]
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:690
Candidate asset ids for each decoration.
Inherited from
Section titled “Inherited from”ScatterDecorationOptions.assets
avoidOccupied?
Section titled “avoidOccupied?”
optionalavoidOccupied?:boolean
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:694
Avoid tiles with existing custom placements.
Inherited from
Section titled “Inherited from”ScatterDecorationOptions.avoidOccupied
count:
number
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:688
Number of decorations to place.
Inherited from
Section titled “Inherited from”ScatterDecorationOptions.count
scale?
Section titled “scale?”
optionalscale?:number
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:696
Uniform render scale.
Inherited from
Section titled “Inherited from”ScatterDecorationOptions.scale
terrain?
Section titled “terrain?”
optionalterrain?:GameboardTerrain| readonlyGameboardTerrain[]
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:692
Allowed terrain for decoration sites.