AddUnitPresetRecipeStep
Defined in: src/scenario/recipe.ts:347
Recipe step that places a unit preset composition.
Extends
Section titled “Extends”Properties
Section titled “Properties”action
Section titled “action”action:
"addUnitPreset"
Defined in: src/scenario/recipe.ts:349
Discriminator for unit preset placement.
at:
HexCoordinates
Defined in: src/gameboard/gameboard.ts:663
Tile where the unit preset is anchored.
Inherited from
Section titled “Inherited from”faction
Section titled “faction”faction:
"blue"|"green"|"red"|"yellow"
Defined in: src/gameboard/gameboard.ts:665
Faction used by colored unit parts.
Inherited from
Section titled “Inherited from”role:
"ship"|"worker"|"soldier"|"archer"|"cavalry"|"merchant"|"siege"
Defined in: src/gameboard/gameboard.ts:669
Unit role composition to create.
Inherited from
Section titled “Inherited from”rotationSteps?
Section titled “rotationSteps?”
optionalrotationSteps?:number
Defined in: src/gameboard/gameboard.ts:671
Clockwise 60-degree rotation steps.
Inherited from
Section titled “Inherited from”UnitPresetOptions.rotationSteps
style?
Section titled “style?”
optionalstyle?:"accent"|"full"
Defined in: src/gameboard/gameboard.ts:667
Colored unit style.