Skip to content

AddBridgeRecipeStep

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

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

action: "addBridge"

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

Discriminator for bridge placement.


at: HexCoordinates

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

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

BridgeOptions.at


optional facing?: HexEdgeIndex

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

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

BridgeOptions.facing


optional rotationSteps?: number

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

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

BridgeOptions.rotationSteps


optional scale?: number

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

Uniform render scale.

BridgeOptions.scale


optional variant?: BridgeVariant

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

KayKit bridge visual variant. Defaults to A.

BridgeOptions.variant