SeededGameboardOptions
Defined in: src/rules/rules.ts:167
High-level options for generating a playable seeded medieval gameboard.
Extends
Section titled “Extends”Partial<GameboardPlanOptions>
Properties
Section titled “Properties”defaultTerrain?
Section titled “defaultTerrain?”
optionaldefaultTerrain?:"grass"|"water"
Defined in: src/gameboard/gameboard.ts:146
Initial terrain used for every generated tile.
Inherited from
Section titled “Inherited from”GameboardPlanOptions.defaultTerrain
faction?
Section titled “faction?”
optionalfaction?:"blue"|"green"|"red"|"yellow"
Defined in: src/rules/rules.ts:171
Primary faction used for settlements, harbors, and generated units.
forestTiles?
Section titled “forestTiles?”
optionalforestTiles?:number
Defined in: src/rules/rules.ts:177
Number of forest tiles to place.
harborKind?
Section titled “harborKind?”
optionalharborKind?:HarborKind
Defined in: src/rules/rules.ts:173
Harbor composition variant to place on the coast.
hillTiles?
Section titled “hillTiles?”
optionalhillTiles?:number
Defined in: src/rules/rules.ts:179
Number of hill tiles to place.
layoutArchetypes?
Section titled “layoutArchetypes?”
optionallayoutArchetypes?:Readonly<Record<string,GameboardLayoutArchetype>>
Defined in: src/rules/rules.ts:187
Additional archetypes available to generated layout fill rules.
layoutDensity?
Section titled “layoutDensity?”
optionallayoutDensity?:SeededGameboardLayoutDensityOptions
Defined in: src/rules/rules.ts:185
Built-in density preset overrides for layout fill.
layoutFills?
Section titled “layoutFills?”
optionallayoutFills?: readonlyGameboardLayoutFillRule[]
Defined in: src/rules/rules.ts:191
Additional layout fill rules to run after built-in density and piece rules.
layoutFillSeed?
Section titled “layoutFillSeed?”
optionallayoutFillSeed?:string|number
Defined in: src/rules/rules.ts:189
Seed used for the layout fill pass.
mountainStacks?
Section titled “mountainStacks?”
optionalmountainStacks?:number
Defined in: src/rules/rules.ts:175
Number of mountain stacks to place.
pieceFills?
Section titled “pieceFills?”
optionalpieceFills?: readonlySeededGameboardPieceFillOptions[]
Defined in: src/rules/rules.ts:195
Piece fill rules that spawn registered external or custom pieces.
pieceRegistry?
Section titled “pieceRegistry?”
optionalpieceRegistry?:GameboardPieceRegistry
Defined in: src/rules/rules.ts:193
Piece registry used by seeded piece fill rules.
scatterProps?
Section titled “scatterProps?”
optionalscatterProps?:number
Defined in: src/rules/rules.ts:183
Number of loose prop decorations to scatter.
optionalseed?:string|number
Defined in: src/gameboard/gameboard.ts:140
Deterministic seed for generation.
Inherited from
Section titled “Inherited from”settlements?
Section titled “settlements?”
optionalsettlements?:number
Defined in: src/rules/rules.ts:181
Number of faction settlements to place.
shape?
Section titled “shape?”
optionalshape?:GameboardShape
Defined in: src/rules/rules.ts:169
Board shape to generate.
Overrides
Section titled “Overrides”textureSet?
Section titled “textureSet?”
optionaltextureSet?:"default"|"fall"|"summer"|"winter"
Defined in: src/gameboard/gameboard.ts:144
Texture set applied to generated terrain.