game-village-politics-backend/app/Game
Fabian @ Blax Software 93e9b09c5c feat: starvation: food zero-crossing event, grace timer, desertion waves
Starvation::sync() runs after every mutation and event: it keeps food.runs_out at
the moment the stock hits 0, starts the grace timer once the village starves and
stops it when income covers upkeep again. Each desertion wave takes the fewest
soldiers, highest upkeep first, that feed the rest; then the levy ends.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 22:03:33 +01:00
..
Buildings refactor: building space instead of a tile grid, plus village points and continent 2026-10-28 19:45:02 +01:00
Economy feat: levy: draft villagers as militia for a fixed time, back to work on their own 2026-10-28 21:55:44 +01:00
Map feat: spawn ring that grows with the world, and barbarian villages that grow over time 2026-10-28 21:32:09 +01:00
Military feat: units, military buildings and recruiting with per-building queues 2026-10-28 21:39:48 +01:00
ConfigLint.php feat: starvation: food zero-crossing event, grace timer, desertion waves 2026-10-28 22:03:33 +01:00
GameRuleViolation.php feat: game config, WorldConfig and the pure M1 rules with unit tests 2026-10-28 19:17:34 +01:00
WorldConfig.php feat: game config, WorldConfig and the pure M1 rules with unit tests 2026-10-28 19:17:34 +01:00