village-builder

VB-159: Hay spoils in the barn, by winters held

Status: done Priority: 3 Size: S Arch: animals Phase: implement Design ref: Animals (Hay and the hard winter limit: hay in the barn spoils as grain does; Kim, 2 Nov 2026); docs/review-balance.md (grain spoiling in store). Goal: Grain in store spoils by years of need held (ECON.storeLoss, spoilGrain in src/sim/hunger.js), but hay in the barn (hh.hay) keeps for ever. Haymaking stops at two winters’ need, yet a household whose herd shrinks (the autumn count, a death, a sale) keeps a barn it never uses up. Kim, 2 Nov 2026: hay spoils in tiers, as grain does. Acceptance criteria:

Implementation notes (5 November 2026):