Status: done (2026-11-01, b9a4755)
Priority: 1
Size: M
Arch: expansion
Phase: implement
Design ref: Inheritance and expansion, Moving to new land (Where: Decided, 1 Nov). Review: docs/review-expansion.md.
Goal: Settlers who leave a crowded village (VB-146) should prefer a small village nearby that has room, so a lone farm grows into a hamlet by followers, before they found yet another farm. Depends on VB-146 (done).
Acceptance criteria (Kim, 1 November 2026: any village of 1 to 3 farms that is not crowded, including the generated lone farms):
findSite returns a site, none of its own adults is in st.demand without a plot, and fewer than 2 plots and booths are under way there.kinNear) lives come first, then the nearest by walking steps, then the lowest id.findSite gives and takes its field tile as the field project, as in VB-146, in that village; the log says they join it.smallVillage (src/sim/settle.js): villages of 1 to SETTLE.smallFarms farmsteads (any state) whose centre is within SETTLE.join walking steps (one search from the home centre per village and round, shared with the new-site search), none of whose own adults waits for land without a plot, with fewer than 2 plots not cleared or not built on and booths, and room by findSite; kin first (any living near kin’s village), then nearest, then lowest id. The settlers’ farm there is named as a plot’s cottage (Nybygget), or for its surroundings if it is the village’s only farm. Test: tests/settle.js, founders at seed 42 (the lone farm Alsta 15 steps away): the settler joins it; with an adult of its own waiting, or no room, the settler founds.SETTLE.provisionDays), whichever is longer, as kin do before giving (sim/help). VB-146’s rule (above the shares reserve, 60 + 30 a member) let a household of 6 give away part of its own winter. At seed 42 this alone moved a famine into year 5 (20 deaths by starvation against 1), by the weather drawn: one seed is not enough to judge it (VB-150).