Skip to content

GameboardRuleConfig

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

Shared validation rule toggles for plans and worlds.

optional forbidStructuresOnWater?: boolean

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

Whether structure placements are forbidden on water tiles.


optional maxElevation?: number

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

Maximum allowed tile elevation.


optional requireCoastsTouchWater?: boolean

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

Whether coast edges should face adjacent water tiles.


optional requireHarborsTouchWater?: boolean

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

Whether harbor placements must face adjacent water tiles.


optional requireReciprocalRivers?: boolean

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

Whether river edges must connect back from neighboring tiles.


optional requireReciprocalRoads?: boolean

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

Whether road edges must connect back from neighboring tiles.