Skip to content

GameboardPlanValidationConfig

Defined in: src/rules/validation.ts:21

Validation config for complete gameboard plans.

optional allowUnknownAssetIds?: readonly string[]

Defined in: src/rules/validation.ts:31

Specific unknown asset ids to allow even when unknown assets are otherwise errors.


optional allowUnknownAssets?: boolean

Defined in: src/rules/validation.ts:29

Whether unknown asset ids are allowed.


optional assetCatalog?: ManifestAssetCatalog

Defined in: src/rules/validation.ts:27

Optional manifest catalog used to validate asset ids and editions.


optional forbidStructuresOnWater?: boolean

Defined in: src/rules/rule-types.ts:35

Whether structure placements are forbidden on water tiles.

GameboardRuleConfig.forbidStructuresOnWater


optional maxElevation?: number

Defined in: src/rules/rule-types.ts:27

Maximum allowed tile elevation.

GameboardRuleConfig.maxElevation


optional registry?: HexTileRegistry

Defined in: src/rules/validation.ts:23

Optional tile declaration registry for declaration-aware validation.


optional requireCoastsTouchWater?: boolean

Defined in: src/rules/rule-types.ts:33

Whether coast edges should face adjacent water tiles.

GameboardRuleConfig.requireCoastsTouchWater


optional requireExtraAssetFlags?: boolean

Defined in: src/rules/validation.ts:33

Whether EXTRA assets must be marked with requiresExtra.


optional requireHarborsTouchWater?: boolean

Defined in: src/rules/rule-types.ts:37

Whether harbor placements must face adjacent water tiles.

GameboardRuleConfig.requireHarborsTouchWater


optional requireReciprocalRivers?: boolean

Defined in: src/rules/rule-types.ts:31

Whether river edges must connect back from neighboring tiles.

GameboardRuleConfig.requireReciprocalRivers


optional requireReciprocalRoads?: boolean

Defined in: src/rules/rule-types.ts:29

Whether road edges must connect back from neighboring tiles.

GameboardRuleConfig.requireReciprocalRoads


optional validatePlacementBlockingOverlap?: boolean

Defined in: src/rules/validation.ts:37

Whether blocking placements may overlap.


optional validatePlacementFootprints?: boolean

Defined in: src/rules/validation.ts:35

Whether placement layout footprints must point at existing tiles.


optional validateRegisteredDeclarations?: boolean

Defined in: src/rules/validation.ts:25

Whether to validate base/support assets and declaration adjacency rules.