Skip to content

AddPropRecipeStep

Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:280

Recipe step that places a prop asset.

action: "addProp"

Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:282

Discriminator for prop placement.


assetId: "tent" | "anchor" | "barrel" | "boat" | "boatrack" | "bucket_arrows" | "bucket_empty" | "bucket_water" | "cannonball_pallet" | "crate_A_big" | "crate_A_small" | "crate_B_big" | "crate_B_small" | "crate_long_A" | "crate_long_B" | "crate_long_C" | "crate_long_empty" | "crate_open" | "flag_blue" | "flag_green" | "flag_red" | "flag_yellow" | "haybale" | "icon_combat" | "icon_range" | "ladder" | "pallet" | "resource_lumber" | "resource_stone" | "sack" | "target" | "trough" | "trough_long" | "weaponrack" | "wheelbarrow"

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:564

Prop asset id.

PropPlacementOptions.assetId


at: HexCoordinates

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:562

Tile where the prop is anchored.

PropPlacementOptions.at


optional rotationSteps?: number

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:566

Clockwise 60-degree rotation steps.

PropPlacementOptions.rotationSteps


optional scale?: number

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:568

Uniform render scale.

PropPlacementOptions.scale