AddPlacementRecipeStep
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:306
Recipe step that places an arbitrary asset with explicit placement semantics.
Properties
Section titled “Properties”action
Section titled “action”action:
"addPlacement"
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:308
Discriminator for custom placement creation.
assetId
Section titled “assetId”assetId:
string
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:312
Asset id to place.
at:
HexCoordinates
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:310
Target hex coordinate.
elevationOffset?
Section titled “elevationOffset?”
optionalelevationOffset?:number
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:320
Fractional elevation offset above the tile surface.
kind:
GameboardPlacementKind
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:314
Gameplay/render category for the placement.
layer:
GameboardPlacementLayer
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:316
Render and gameplay layer for the placement.
metadata?
Section titled “metadata?”
optionalmetadata?:Readonly<Record<string,string|number|boolean|null>>
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:328
Serializable placement metadata.
requiresExtra?
Section titled “requiresExtra?”
optionalrequiresExtra?:boolean
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:326
Whether the placement requires local EXTRA assets.
rotationSteps?
Section titled “rotationSteps?”
optionalrotationSteps?:number
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:318
Clockwise 60-degree rotation steps.
scale?
Section titled “scale?”
optionalscale?:number
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:322
Uniform render scale.
stackIndex?
Section titled “stackIndex?”
optionalstackIndex?:number
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:324
Optional stack order metadata.