Skip to content

AddElevationRampRecipeStep

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

Recipe step that places a sloped elevation ramp with ramp-specific metadata.

action: "addElevationRamp"

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

Discriminator for elevation ramp placement.


at: HexCoordinates

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

Lower tile where the visible ramp is anchored.

ElevationRampOptions.at


optional direction?: ElevationRampDirection

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

Visual ramp direction. Defaults to up.

ElevationRampOptions.direction


optional elevationOffset?: number

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

Fractional elevation offset above the tile surface.

ElevationRampOptions.elevationOffset


optional facing?: HexEdgeIndex

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

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

ElevationRampOptions.facing


optional fromElevation?: number

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

Elevation on the anchor tile. Defaults to the tile elevation.

ElevationRampOptions.fromElevation


optional rotationSteps?: number

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

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

ElevationRampOptions.rotationSteps


optional scale?: number

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

Uniform render scale.

ElevationRampOptions.scale


optional textureSet?: "default" | "fall" | "summer" | "winter"

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

Texture set to apply to the anchor tile before placing the ramp.

ElevationRampOptions.textureSet


optional toElevation?: number

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

Elevation reached by the ramp. Defaults to one level above or below fromElevation.

ElevationRampOptions.toElevation