Status: done (2026-10-30, 0372a9d)
Priority: 1
Size: L
Arch: expansion
Phase: implement
Design ref: Inheritance and expansion, Clearing a new plot (Decided; details Agreed, next batch); Customs (Cleared land belongs to).
Goal: When adults want to move out, nothing is claimable and there is room, the village clears a new plot: a house tile and its first fields. Who gets the plot follows the village’s “Cleared land belongs to” custom (newLand), which today has no effect. Depends on VB-003 (owners per tile), VB-030 (answers) and VB-010 (the clear and break jobs), all done. It does not wait for VB-033 (claiming empty farms): the claim check is a stub until then (see the first criterion).
Acceptance criteria (Kim answered the VB-030 questions on 2026-10-30):
st.demand in the village, no empty farm they may claim, and a free site. At most two projects per village at a time. “No empty farm they may claim” is one function, claimableFarm(st, pawnId) in sim/heirs (or a new sim/expansion module), which returns null until VB-033 is done; VB-033 fills it in.setOwner).clear 10 h + 20 h × stones/255, break 30 h); forest tiles: fell 10 h (firewood and timber), grub out stumps 6 h. The cottage is VB-032.ROLES: those waiting for the plot 9 (a pawn in st.demand of the village takes 9 whatever its role), farmhand and maid 7, son and daughter 5, farmer 3, others 0. Each pawn’s hours on the project are recorded.newLand: village the village allots it, married couples first, then by age, then single adults by age once no couple waits; labour whoever worked most hours; intended the person the project was started for (the first in st.demand when it started).newLand option picks the expected person.clear and break jobs of VB-010 (not done) and the claim check of VB-033 (not done). Do VB-010 and VB-033 first, then set back to ready.claimableFarm stub, so the growth path (VB-031, then VB-032) does not wait for VB-033’s open questions; set ready.src/sim/expansion.js; claimableFarm is the stub. Stones cleared from a plot are dropped (no village store yet). A pawn with a plot (or whose spouse has one) waiting for its cottage (VB-032) starts no second plot. Test: tests/plots.js.