Status: done (2026-11-17) Priority: 3 Size: S Arch: far Phase: implement Design ref: design.md, Moving to new land (Settling in steps; Sleeping away from home); docs/plans/VB-445.md; design.md, Moving to new land (The booth) Goal: A booth is something a pawn builds where it means to stay, and a stay there has a roof. Acceptance criteria:
st.booths[], owned by sim/building: {id, tile, by (the pawn or household it was built for), built, cond, condAt}; ids never reused, a live index, the field in WORLD or the saves as its kind needs, invariants, and a line in docs/architecture/ownership.md.booth: BOOTH.hours (12) at the tile, with BOOTH.wood (2) loads there first: felled on the tile where it is wooded, else fetched from the nearest wood within WOOD.reach as a timber trip is. Opened by a verb any pawn has (raiseBooth), on ground nobody else owns or has staked.BOOTH.sleeps (4) at most, the verb lodge refusing the fifth; those it was built for and whom its builder lets in.f.condition, f.condAt), and at none it is gone and the tile is as it was (Principles, What does not wear needs a way out); a stay there renews nothing.docs/img/.node tools/same.js --base REF prints same (nothing builds one yet).Noted by VB-445, 16 November 2026.
st.booths[] (live only), st.boothSeq, owner sim/building; entries {id, tile, by (household id), maker (pawn), guests, built (null while
raised), wood, cond, condAt}. by is the household and maker the pawn, since the household’s pawns raise and sleep in it. A save without
the fields gets none (saves.js); not a WORLD field (it is st, not the map). Invariants in tests/lib/invariants.js, tools/stocks.js line.raiseBooth(tile, {guests}) (sim/commands): refused unless the tile is free ground (freeFor: nobody else’s, unstaked, not used) with no
booth. Wood and raising are posted by boothWork for the household: a timber trip (as the cottage’s, one trip brings 3 units, BOOTH.wood
is 2) felled on the tile where it is wooded (onSite), else from the village’s wood (v.wood, which is within WOOD.reach), then the job kind
booth, 12 hours.lodge (sim/away, small): roof ‘booth’ at a standing booth’s tile; refused for a pawn it is not for and for the fifth; a stay under a booth that
rots goes to roof ‘none’ (event boothGone, since building may not look up away).cond - years * BOOTH.wear (1/3 a year: three years), the daily rule of sim/building removes the gone ones, a loop over live
booths only (none, in every run today). The tile is as it was: nothing was written to it. A stay renews nothing.tent() is the one presentation, used for a settlers’ booth and for a booth on its tile (fades with condition; a ring of stakes while raised).
Screenshot docs/img/vb-784-booths.jpg (two booths, one being staked, made by a script that adds them to a founders seed 7 state).tools/same.js --base 33da017 differs only in the two new keys (booths, boothSeq) in every entry: no behaviour changed.tests/booth.js (staked, raised with its wood, five pawns four beds, rots away); the fetched-wood path is not tested (the tiny world has none).raiseBooth and raised as the household’s own job; a built-for household (not a single pawn) with maker kept. The
guests list is the builder’s letting in; no verb lets one in later (VB-787 or VB-790 may add one).f.booth (the settlers’ flag) stays; VB-787 replaces it with st.booths.