Skip to content

AddPlacementRecipeStep

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

Recipe step that places an arbitrary asset with explicit placement semantics.

action: "addPlacement"

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

Discriminator for custom placement creation.


assetId: string

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

Asset id to place.


at: HexCoordinates

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

Target hex coordinate.


optional elevationOffset?: number

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

Fractional elevation offset above the tile surface.


kind: GameboardPlacementKind

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

Gameplay/render category for the placement.


layer: GameboardPlacementLayer

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

Render and gameplay layer for the placement.


optional metadata?: Readonly<Record<string, string | number | boolean | null>>

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

Serializable placement metadata.


optional requiresExtra?: boolean

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

Whether the placement requires local EXTRA assets.


optional rotationSteps?: number

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

Clockwise 60-degree rotation steps.


optional scale?: number

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

Uniform render scale.


optional stackIndex?: number

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

Optional stack order metadata.