Status: done (2026-11-14)
Priority: 2
Size: S
Arch: crops
Phase: implement
Design ref: Goods and the farming year, Crops and rotations (design.md, section 8)
Goal: Add the row peas (The first crops) and the food pulses.
Acceptance criteria:
peas: sown spring days 1 to 10, ripe after 18 days, 60 rations and 20 of seed, soil +0.04 a crop to at most 1.0, hoeing 20, sowing 2, weeding 2 × 5, pulling 10, threshing 10; lost to the autumn frost.pulses in FOODS: worth 1, spoiling in store as grain does, source pulses, so a pot of grain and pulses goes 10% further by the rule there is; uncooked as grain.tests/golden.json unchanged.
Cost: none in a run that does not sow them.
Notes / questions:QUESTION_ARCHIVE.md, VB-345): its numbers are design.md’s starting values, Agreed.src/sim/rules.js: row peas (yield 60, seed 20, sow spring days 1-10, ripe 18, wear 0, new key gain 0.04, weeds 2, hours plow 20, sow 2, weed 5, reap 10, thresh 10) and FOODS.pulses (worth 1, no shelf date, source pulses, held as grain of its crop).src/sim/fields.js wearSoil: a crop with gain mends the soil to at most SOIL.start, never lowering a manured field (as fallow does).src/sim/pot.js: peas above their reservation are the food pulses in the pot, a source of their own: in a lean pot (2 or 3 sources) they go in first, up to the share that leaves grain a source, else after the grain. The grain cooked skips peas (takeSpare(..., skip) in sim/stores, threaded to split); the seed fallback is as before. A household with no peas takes the old path.thresh: 10 stands in the row, as rye does, unread until sheaves are told apart by crop.grainOf) and spoil as grain does.tests/peas.js (fast): the row; a forced field of peas at seed 7 run by the simulation (sown spring day 1, reaped 18 days on, 56 rations, soil 0.90 to 0.94, hours 20/2/5/10); soil to at most 1.0, manured field kept; frost; the pot (two sources, 10% less food; peas alone one source; peas held for seed not cooked). tests/grain.js and tests/rye.js list the new crop.node tools/same.js --base HEAD --years 3 (founders and heirs, seeds 7 and 42, tiny): same. No run sows peas yet, so no numbers move.npm run verify: 107/107 passed; 16 targets out (advisory, as before). node tests/counters.js: 44 counters, structure unchanged.