Status: done (2026-10-30, effbdea)
Priority: 2
Size: M
Design ref: Economy and jobs, Known gaps (hunger: Decided); Open questions (What hunger does). Kim, 2026-10-29: hunger can kill, mostly infants and the old; it slows work and postpones marriages and births. Who eats first when food is short is a culture custom, and parents of young children pull it towards children first. Sickness and households leaving are not part of this task.
Goal: Today endOfDay only counts hungryDays when a household’s food runs out, and nothing follows. Give each person a hunger level that raises the risk of death, mostly for infants and the old, slows work, and postpones marriages and births.
Acceptance criteria:
Culture.DIMS, “Who eats first when food is short” (feedOrder): equal shares; children first; those who work first. Default and malleability as the design doc gives them. It appears in the customs panel and changes at meetings like the others.feedOrder towards children first, through refreshInterests, with the same weight as other self-interest pulls.feedOrder. Each member records the day’s shortfall s = 1 − eaten / need, from 0 to 1.hungryDays stays, counting days the household was short.hazard is multiplied by 1 + k(age) × h. The k values are set so that a household at h = 1 for a whole year has about twice the deaths of a fed one: about 2–3 times for those under 5 and over 60, about 1.3 times for ages 15–59. tests/calibrate.js reports these ratios. A death that falls in the added share of the risk is logged as hunger.tests/smoke.js (VB-001) checks the customs table against the number of entries in Culture.DIMS instead of a fixed 11.feedOrder option shares food as described; more deaths at h = 1 in the right age groups (many seeded trials), slower job progress, no marriage at h ≥ 0.5, and h back to 0 after 12 fed days.movingRound; the courting task moves them.