AddHarborRecipeStep
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:350
Recipe step that places a harbor composition.
Extends
Section titled “Extends”Properties
Section titled “Properties”action
Section titled “action”action:
"addHarbor"
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:352
Discriminator for harbor placement.
at:
HexCoordinates
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:390
Coast tile where the harbor is anchored.
Inherited from
Section titled “Inherited from”facing
Section titled “facing”facing:
HexEdgeIndex
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:392
Edge facing adjacent water.
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:394
Faction color for the harbor.
Inherited from
Section titled “Inherited from”includeProps?
Section titled “includeProps?”
optionalincludeProps?:boolean
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:398
Whether to add adjacent boat/anchor props.
Inherited from
Section titled “Inherited from”
optionalkind?:HarborKind
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:396
Harbor structure variant.
Inherited from
Section titled “Inherited from”rotationSteps?
Section titled “rotationSteps?”
optionalrotationSteps?:number
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:400
Clockwise 60-degree rotation steps. Defaults to facing.