Skip to content

AddRoadPathRecipeStep

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

Recipe step that lays road surfaces along a coordinate path.

action: "addRoadPath"

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

Discriminator for road path creation.


path: readonly HexCoordinates[]

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

Ordered coordinates along the road.


optional slope?: RoadSlope

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

Optional road slope variant for the path.