AddPropClusterRecipeStep
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:286
Recipe step that places a semantic prop cluster.
Extends
Section titled “Extends”Properties
Section titled “Properties”action
Section titled “action”action:
"addPropCluster"
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:288
Discriminator for prop-cluster placement.
at:
HexCoordinates
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:576
Anchor tile for the cluster.
Inherited from
Section titled “Inherited from”clusterId?
Section titled “clusterId?”
optionalclusterId?:string
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:588
Optional stable id shared by all placements in the cluster.
Inherited from
Section titled “Inherited from”density?
Section titled “density?”
optionaldensity?:number
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:584
Percentage of the cluster’s available asset list to place, from 0 to 1. Defaults to 1.
Inherited from
Section titled “Inherited from”facing?
Section titled “facing?”
optionalfacing?:HexEdgeIndex
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:580
Edge used to orient adjacent spread patterns.
Inherited from
Section titled “Inherited from”includeExtra?
Section titled “includeExtra?”
optionalincludeExtra?:boolean
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:586
Include local-only EXTRA prop assets when the cluster kind has them. Defaults to false.
Inherited from
Section titled “Inherited from”PropClusterOptions.includeExtra
kind:
PropClusterKind
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:578
Cluster purpose. Determines the default asset list.
Inherited from
Section titled “Inherited from”placement?
Section titled “placement?”
optionalplacement?:PropClusterPlacement
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:582
Whether assets stack on one tile or spread to neighboring tiles. Defaults to adjacent.
Inherited from
Section titled “Inherited from”rotationSteps?
Section titled “rotationSteps?”
optionalrotationSteps?:number
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:590
Base clockwise 60-degree rotation steps. Defaults to facing.
Inherited from
Section titled “Inherited from”PropClusterOptions.rotationSteps
scale?
Section titled “scale?”
optionalscale?:number
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:592
Uniform render scale.