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> |
||
|---|---|---|
| .. | ||
| BarbarianGrowthTest.php | ||
| BuildQueueTest.php | ||
| BuildingRulesTest.php | ||
| ConfigLintTest.php | ||
| ContinentTest.php | ||
| PopulationTest.php | ||
| ProductionTest.php | ||
| SpawnRingTest.php | ||
| UnitRulesTest.php | ||