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