Status: done (2026-11-24) Priority: 2 Size: M Design ref: design.md, Goods and the farming year (Water by the site, The thirsty pawn); backlog/VB-1585.md Goal: a pawn working away has its water walked for, as at home; the player can send the played pawn to drink Acceptance criteria:
sim/drinking sourceFor from the booth’s tile, or a source found once for the booth), walked as the farm’s fetch is; the day it is not in, those who sleep in the booth end their day by their own thirst (sim/thirst dayEnd, given false), not watered by the roof (sim/hunger nightCost gives a booth no dry day today: water from nowhere).drink takes the booth’s fetch from there when the booth’s water is not in (design.md, Water by the site, The thirsty pawn: “drinks and fetches at the site’s source in the same way”); checked on a small constructed state.roof: 'none', why work) is told what its water is: today it goes to drink at 36 hours and ends two days of three thirsty; decide by AGENTS.md whether the site’s fetch covers it or it drinks each morning, and record the reason.sim/opportunities, page/actbar) offers Drink, with the verb’s own reason where it is refused (no source in reach; on the road); the panel’s “Thirsty” line stands beside it. node tests/smoke.js and the action bar’s browser test pass.Noted by VB-1585, 24 November 2026.
sim/building: the kind boothwater (a job of the booth’s own, owner {type: 'booth'}, an island rule; booth.water, the source found once; booth.waterDay, marshDay), boothSource, boothFetch; sim/away: waterFirst in the lodger’s day, the booth’s water read at the meal (feedAway), stay.noWater; sim/drinking: a booth’s sleeper drinks at the booth’s source and takes its fetch from there; sim/thirst dayEnd(.., poor); sim/opportunities, page/actbar: Drink; tests/boothwater.js. sim/building was over 700 lines already (VB-1539 is open) and has two more exports.vital kind is weighed without its walk, so a hand at home would walk hours to a site it does not sleep at. One trip by hand covers all a booth sleeps (4 against WATER.hand 6): no count of people. Close call, noted.drink, once a day; refused, it is not asked again that day), and no fetch covers it. Reason: a fetch brings a day’s water to a pot under a roof, and there is none; for one person the drink is the cheaper walk (2 x the walk + 0.05 h against 2.11 x + 0.1), and nothing comes from nowhere. In tests/boothwater.js no day of its two ends thirsty (the criterion’s “two days of three” before). Close call, noted.sourceFor no longer keeps a farm’s source found before its first morning (asking leaves the state as it was, tests/opportunities.js).lodge is issued by the gathering alone, to a host’s roof; a working stay is the played pawn’s and the tests’), so no booth is raised and no stay at a bed without a host opens in any run: what is built here is reached by the played pawn and the tests until VB-787.tools/same.js against 95ce2c1: founders 7 and 42, populous 7 and 42): pawn-days at a booth 0 -> 0 and at a roofless site 0 -> 0, ended thirsty there 0 -> 0, health lost there 0 -> 0, a booth’s hours on water 0 -> 0 (on the constructed state one trip of 0.89 h a day at 3 steps of meadow). Unchanged: booth households (farmstead.booth, whose water is the farm’s fetch already), populous 7: 387 household-days, 71 dry, none of those with someone at home; populous 42: 764, 352, none; deaths 138 and 76; pawn-days ended hungry 4,263 and 3,926; founders 7 and 42: deaths 7 and 7.boothWater, 0 in every run) and one search for a booth’s source in its life. A lodger under the open sky: one search a morning (sourceSettled).