Skip to content

GameboardScenarioPatrolRoute

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

Patrol route rule embedded in a scenario.

optional count?: number

Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:73

Requested waypoint count.

GameboardPatrolRouteRule.count


optional edgePadding?: number

Defined in: packages/declarative-hex-worlds/src/coordinates/grid.ts:87

Number of outer rings/rows to avoid when selecting automatic candidates.

SpawnLocationOptions.edgePadding


optional elevation?: number

Defined in: packages/declarative-hex-worlds/src/coordinates/grid.ts:89

Elevation used when projecting spawn locations to world positions.

SpawnLocationOptions.elevation


optional excludeTileTags?: readonly string[]

Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:34

Tile tags that must all be absent.

GameboardPatrolRouteRule.excludeTileTags


id: string

Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:95

Stable route id.

GameboardPatrolRouteRule.id


optional idPrefix?: string

Defined in: packages/declarative-hex-worlds/src/coordinates/grid.ts:91

Prefix used for generated spawn ids.

SpawnLocationOptions.idPrefix


optional loop?: boolean

Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:85

Whether the patrol returns to its first waypoint.

GameboardPatrolRouteRule.loop


optional maxElevation?: number

Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:30

Maximum candidate elevation.

GameboardPatrolRouteRule.maxElevation


optional minDistance?: number

Defined in: packages/declarative-hex-worlds/src/coordinates/grid.ts:85

Minimum axial distance between returned spawn coordinates.

SpawnLocationOptions.minDistance


optional minElevation?: number

Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:28

Minimum candidate elevation.

GameboardPatrolRouteRule.minElevation


optional profile?: GameboardNavigationProfile

Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:24

Navigation profile used to reject blocked candidates.

GameboardPatrolRouteRule.profile


optional requireCompleteRoute?: boolean

Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:87

Treat missing route segments as errors.

GameboardPatrolRouteRule.requireCompleteRoute


optional routeProfile?: GameboardNavigationProfile

Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:83

Navigation profile used for route segments.

GameboardPatrolRouteRule.routeProfile


optional seed?: string | number

Defined in: packages/declarative-hex-worlds/src/coordinates/grid.ts:79

Seed used when candidate order must be randomized.

SpawnLocationOptions.seed


optional start?: string | HexCoordinates

Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:75

Explicit start tile, actor, or key.

GameboardPatrolRouteRule.start


optional startGroupId?: string

Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:77

Spawn group id used for the start waypoint.

GameboardPatrolRouteRule.startGroupId


optional startLocationIndex?: number

Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:79

Location index within the start spawn group.

GameboardPatrolRouteRule.startLocationIndex


optional terrain?: GameboardTerrain | readonly GameboardTerrain[]

Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:26

Allowed terrain for spawn candidates.

GameboardPatrolRouteRule.terrain


optional tileTags?: readonly string[]

Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:32

Tile tags that must all be present.

GameboardPatrolRouteRule.tileTags