Skip to content

AddBridgeRecipeStep

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

Recipe step that places a bridge structure with bridge-specific metadata.

action: "addBridge"

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

Discriminator for bridge placement.


at: HexCoordinates

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

Tile where the bridge is anchored, usually a road crossing over water or river terrain.

BridgeOptions.at


optional facing?: HexEdgeIndex

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

Edge the bridge points toward; also used as the default rotation.

BridgeOptions.facing


optional rotationSteps?: number

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

Clockwise 60-degree rotation steps. Overrides facing when provided.

BridgeOptions.rotationSteps


optional scale?: number

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

Uniform render scale.

BridgeOptions.scale


optional variant?: BridgeVariant

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

KayKit bridge visual variant. Defaults to A.

BridgeOptions.variant