game-village-politics-backend/app/Models
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
..
BuildOrder.php refactor: building space instead of a tile grid, plus village points and continent 2026-10-28 19:45:02 +01:00
Building.php refactor: building space instead of a tile grid, plus village points and continent 2026-10-28 19:45:02 +01:00
GameEvent.php feat: starvation: food zero-crossing event, grace timer, desertion waves 2026-10-28 22:03:33 +01:00
Player.php feat: data model, event engine and village actions with feature tests 2026-10-28 19:17:34 +01:00
RecruitOrder.php feat: units, military buildings and recruiting with per-building queues 2026-10-28 21:39:48 +01:00
UnitStack.php feat: units, military buildings and recruiting with per-building queues 2026-10-28 21:39:48 +01:00
User.php chore: Laravel 13 scaffold with Sanctum, Pest and laravel-websockets 2026-10-28 19:17:33 +01:00
Village.php feat: starvation: food zero-crossing event, grace timer, desertion waves 2026-10-28 22:03:33 +01:00
World.php feat: units, military buildings and recruiting with per-building queues 2026-10-28 21:39:48 +01:00