AddUnitRecipeStep
Defined in: src/scenario/recipe.ts:341
Recipe step that places a single unit asset.
Extends
Section titled “Extends”Properties
Section titled “Properties”action
Section titled “action”action:
"addUnit"
Defined in: src/scenario/recipe.ts:343
Discriminator for unit placement.
at:
HexCoordinates
Defined in: src/gameboard/gameboard.ts:641
Tile where the unit part is anchored.
Inherited from
Section titled “Inherited from”compositeId?
Section titled “compositeId?”
optionalcompositeId?:string
Defined in: src/gameboard/gameboard.ts:651
Shared composite id for multi-part units.
Inherited from
Section titled “Inherited from”UnitPlacementOptions.compositeId
faction?
Section titled “faction?”
optionalfaction?:"blue"|"green"|"red"|"yellow"
Defined in: src/gameboard/gameboard.ts:645
Faction used by colored unit parts.
Inherited from
Section titled “Inherited from”neutral?
Section titled “neutral?”
optionalneutral?:boolean
Defined in: src/gameboard/gameboard.ts:649
Force neutral unit asset selection.
Inherited from
Section titled “Inherited from”part:
"banner"|"bow"|"cannon"|"cart"|"cart_merchant"|"catapult"|"helmet"|"horse"|"projectile_arrow"|"shield"|"ship"|"spear"|"sword"|"unit"|"hammer"|"horse_A"|"horse_B"|"horse_C"|"horse_D"|"horse_E"|"horse_F"|"horse_G"|"horse_saddle"|"projectile_cannonball"|"projectile_catapult"|"shovel"
Defined in: src/gameboard/gameboard.ts:643
Unit part asset id.
Inherited from
Section titled “Inherited from”rotationSteps?
Section titled “rotationSteps?”
optionalrotationSteps?:number
Defined in: src/gameboard/gameboard.ts:653
Clockwise 60-degree rotation steps.
Inherited from
Section titled “Inherited from”UnitPlacementOptions.rotationSteps
scale?
Section titled “scale?”
optionalscale?:number
Defined in: src/gameboard/gameboard.ts:655
Uniform render scale.
Inherited from
Section titled “Inherited from”style?
Section titled “style?”
optionalstyle?:"accent"|"full"
Defined in: src/gameboard/gameboard.ts:647
Colored unit style.