Skip to content

AddHarborRecipeStep

Defined in: src/scenario/recipe.ts:353

Recipe step that places a harbor composition.

action: "addHarbor"

Defined in: src/scenario/recipe.ts:355

Discriminator for harbor placement.


at: HexCoordinates

Defined in: src/gameboard/gameboard.ts:417

Coast tile where the harbor is anchored.

HarborOptions.at


facing: HexEdgeIndex

Defined in: src/gameboard/gameboard.ts:419

Edge facing adjacent water.

HarborOptions.facing


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

Defined in: src/gameboard/gameboard.ts:421

Faction color for the harbor.

HarborOptions.faction


optional includeProps?: boolean

Defined in: src/gameboard/gameboard.ts:425

Whether to add adjacent boat/anchor props.

HarborOptions.includeProps


optional kind?: HarborKind

Defined in: src/gameboard/gameboard.ts:423

Harbor structure variant.

HarborOptions.kind


optional rotationSteps?: number

Defined in: src/gameboard/gameboard.ts:427

Clockwise 60-degree rotation steps. Defaults to facing.

HarborOptions.rotationSteps