Skip to content

AddFactionBuildingRecipeStep

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

Recipe step that places a faction building.

action: "addFactionBuilding"

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

Discriminator for faction building placement.


at: HexCoordinates

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

Tile where the building is anchored.

FactionBuildingOptions.at


building: "archeryrange" | "barracks" | "blacksmith" | "castle" | "church" | "docks" | "home_A" | "home_B" | "lumbermill" | "market" | "mine" | "shipyard" | "shrine" | "stables" | "tavern" | "tent" | "townhall" | "tower_A" | "tower_B" | "tower_base" | "tower_cannon" | "tower_catapult" | "watchtower" | "watermill" | "well" | "windmill" | "workshop"

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

Faction building kind.

FactionBuildingOptions.building


faction: "blue" | "green" | "red" | "yellow"

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

Faction color for the building.

FactionBuildingOptions.faction


optional rotationSteps?: number

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

Clockwise 60-degree rotation steps.

FactionBuildingOptions.rotationSteps


optional scale?: number

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

Uniform render scale.

FactionBuildingOptions.scale