AddFlagRecipeStep
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:292
Recipe step that places a faction flag.
Properties
Section titled “Properties”action
Section titled “action”action:
"addFlag"
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:294
Discriminator for flag placement.
at:
HexCoordinates
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:296
Target hex coordinate.
faction
Section titled “faction”faction:
"blue"|"green"|"red"|"yellow"
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:298
Faction color/style to use for the flag.
rotationSteps?
Section titled “rotationSteps?”
optionalrotationSteps?:number
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:300
Clockwise 60-degree rotation steps.
scale?
Section titled “scale?”
optionalscale?:number
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:302
Optional placement scale override.