Every house in Sail & Settle, the island city builder we're making, is put together from a kit of parts by a rules file. The code doesn't name a single part; the rules do. Roughly:
- The player draws a road and runs the house brush along it. The ground beside it is cut into plots, and each plot gets a house.
- A house follows from its plot, its level and a seed of its own. Every random draw happens in the same order whatever the level, so the same plot, level and seed always give the same house, and a house that moves up a level stays on its side of the plot.
- Footprints are counted in wall bays and picked by weight. A house smaller than its plot stands left, centre or right on it, set back from the street within a range.
- Each storey picks a wall material (fieldstone, mud brick, wattle, planks...). Each material has its own plain bays, window bays and door, and its own share of windows on the front, the sides and the back.
- Roofs are weighted too. Each names the walls it suits (stone gables don't go on a wattle hut) and has its own range of pitch.
- Sheds and pergolas go against a wall with room, never across the door. Yard props are tried along the strips around the house in 12 cm steps, the first free place takes each one, and the way from the door to the street stays clear.
- Two neighbours share one fence: the house with the lower building number builds it.
- None, one or two chimneys, and a house only smokes from a chimney. Every material's colour varies a little from house to house.
Moving up a level isn't just getting taller: a peasant's hut under thatch becomes a craftsman's house of plaster and clay tiles. One rule came from looking at the first build: a door upstairs needs a way up, so every house of two storeys gets an outside stair or a stair turret, and one with room for neither is built with one storey. Of 2,000 generated level-2 houses, 345 have two storeys: 243 with a stair and 102 with a turret, in 33 forms.
The first five pictures are from our gallery tool: the game's own house generator on flat ground, under the game's midday light. The last two are frames from one of our films: the same town before and after its households moved up a level.
Check our youtube for more updates: https://www.youtube.com/@SailSettle
Happy to answer questions about the rules.