Skip to content

AddPropClusterRecipeStep

Defined in: src/scenario/recipe.ts:289

Recipe step that places a semantic prop cluster.

action: "addPropCluster"

Defined in: src/scenario/recipe.ts:291

Discriminator for prop-cluster placement.


at: HexCoordinates

Defined in: src/gameboard/gameboard.ts:603

Anchor tile for the cluster.

PropClusterOptions.at


optional clusterId?: string

Defined in: src/gameboard/gameboard.ts:615

Optional stable id shared by all placements in the cluster.

PropClusterOptions.clusterId


optional density?: number

Defined in: src/gameboard/gameboard.ts:611

Percentage of the cluster’s available asset list to place, from 0 to 1. Defaults to 1.

PropClusterOptions.density


optional facing?: HexEdgeIndex

Defined in: src/gameboard/gameboard.ts:607

Edge used to orient adjacent spread patterns.

PropClusterOptions.facing


optional includeExtra?: boolean

Defined in: src/gameboard/gameboard.ts:613

Include local-only EXTRA prop assets when the cluster kind has them. Defaults to false.

PropClusterOptions.includeExtra


kind: PropClusterKind

Defined in: src/gameboard/gameboard.ts:605

Cluster purpose. Determines the default asset list.

PropClusterOptions.kind


optional placement?: PropClusterPlacement

Defined in: src/gameboard/gameboard.ts:609

Whether assets stack on one tile or spread to neighboring tiles. Defaults to adjacent.

PropClusterOptions.placement


optional rotationSteps?: number

Defined in: src/gameboard/gameboard.ts:617

Base clockwise 60-degree rotation steps. Defaults to facing.

PropClusterOptions.rotationSteps


optional scale?: number

Defined in: src/gameboard/gameboard.ts:619

Uniform render scale.

PropClusterOptions.scale