Table of Contents

Class MedievalCitySpec

Namespace
GrindFest.Generation
Assembly
GrindFest.dll

POCO spec for a rectangular walled medieval city. Consumed by MedievalCityGenerator; produced by CityBlueprints.

Layout: rectangular wall (width × depth), corner towers, evenly-spaced gates on the long edges. Interior is divided by a street network running gate-to-gate; remaining space is BSP-subdivided into plots and filled with modular houses, with reserved anchor slots for landmarks (market, fountain, statue, forge, etc).

public class MedievalCitySpec
Inheritance
object
MedievalCitySpec

Fields

AnchorSlots

Optional handcrafted landmark slots (overrides plot generation).

Banners
BattlementsYOffset

Where to put battlement caps on top of walls.

GatesPerLongEdge
GatesPerShortEdge
HouseModule

House wall module length (m). Synty default = 2.5m.

HouseStoreyHeight

House wall height per storey (m). Synty default = 2.5m.

MainStreetWidth

Width of main streets carved through the city (meters).

MaxPlotSize

Maximum plot dimension before forcing a split.

MinPlotSize

Smallest acceptable plot dimension after BSP splits.

PlotGarden
PlotMargin

Empty perimeter strip around each house plot (gardens / fence).

PlotProps

Small ambient props dropped near plot corners (barrels, crates, sacks, wood piles, hay bales, baskets, fences, etc.). Sprinkled by BuildPlotProps after each house is placed.

PresetHouseChance

Chance a plot uses a preset prefab house (vs modular assembly). Currently 0 — modular-only by design.

PresetHouses

Pool of preset house variants (unused while PresetHouseChance==0).

Seed
SideStreetWidth

Side-street width inside plot blocks.

StreetDecor
TileRoofChance

Chance of using tile roof vs thatch.

TownSquareRadius

Town square radius (clearing in the middle).

TwoStoreyChance

Chance of a two-storey house when plot allows it.

WallCornerSize

Castle corner module footprint. Synty L corner = 5.25m.

WallDepth

City depth (Z axis, meters). Snapped to wall module size.

WallModuleLength

Castle wall module footprint (X). Synty default = 5m.

WallWidth

City width (X axis, meters). Snapped to wall module size.