VB-700: Salt: boiled at a salt spring, and salting needs it
Status: done (2026-11-23)
Priority: 2
Size: M
Arch: fair
Phase: implement
Design ref: AGENTS.md, Deciding without Kim (7, 9, 16); design.md, Goods, production and animals
Goal: Salt is boiled from brine at a salt spring with wood, carried home, and used up by salting meat, fish and butter; a household without salt keeps its meat a shorter time by drying or smoking.
Acceptance criteria:
A job kind at a salt spring tile within reach: brine boiled with firewood into salt, a load carried home (nothing teleports); the good salt in the goods registry with its weight, keeping and worth; its target is the head’s (VB-698).
Salting uses salt by the ration of meat (a tunable with its physical meaning); without salt the meat is dried or smoked and keeps a named shorter time, so a household without salt is worse off, not barred.
Sea salt is not made (a cold shore: a note says why, or the task decides otherwise and says so); the spring’s yield does not run out.
Numbers before and after (tools/balance.js), populous small seeds 3, 7, 11, 42, 15 years: villages with a salt spring in reach, meat spoilt, hungry household-days by whether the village has salt; the invariants and tools/stocks.js line for salt.
16 Nov 2026 (Kim, the session on the material economy): built without VB-360’s skills or VB-361’s facilities (a pan over a fire needs neither); they may add to it later.
16 Nov 2026 (the check of the new chain): now waits for VB-698, so that its production is sized by the head’s target from the start and not by a constant to be replaced.
18 Nov 2026, amended to agree with VB-1123 (plan mode; Kim’s decisions of 18 Nov): the stepping of targets leaves the game: no head, played or not, sets a target by hand, and the Plan tab’s steppers go with the tab. “The head’s target” in this task is the level the head reckons for itself, never one that is set. The level stays (Kim, 18 Nov): the player reckons it in their head, and a head not played reckons it as a margin it prefers over what survival needs, by its traits and skill, 1.5 times the baseline to start with. Nothing else in this task changes by it.
23 Nov 2026 (done): sim/saltpan boils at the nearest spring within 12 steps (spring to autumn, 10 hours, 10 measures, a measure weighing a ration of load); the fire’s tree is felled on the spring’s tile or a neighbour’s, not carried from the woodpile (close call: nothing teleports either way, and tar fells its pine at the pit).
Without salt the meat is smoked into a food of its own, smoked meat, keeping HERD.smokeDays 24 (two seasons: the autumn slaughter into spring); salt meat keeps its year. HERD.saltPerRation 0.1 (a part of salt to ten of meat).
Salt joined the fair’s goods with a need term (beyond the criteria: with springs on 2 maps of 16, trade is how most villages would get it; sim/asks now asks for it). Butter and fish are not salted yet (the goal names them; the criteria do not): left for a later task.
Sea salt not made (the note at the head of sim/saltpan: a brackish, cold sea). The spring is ENDLESS and boiling never lowers it.
Numbers (scratch script, populous small, 15 years): no spring in reach on seeds 3, 7, 11, 42, so the change there is smoking alone: 197 to 713 rations of smoked meat spoil a seed, hunger a household about level. With springs (seeds 5, 13) hunger falls in the spring villages. Rows in docs/tuning.md.
Opened VB-1486 (split sim/stores), which salt took to 708 lines; sim/byre’s split is VB-1482.