Skip to content

1.0.36

Choose a tag to compare

@github-actions github-actions released this 15 Mar 17:05
· 138 commits to main since this release
milo: citizen budget cap + demand utilization UI

Server (TickProcessor.cs):
- Add CitizenDailyIncomeCents = 1000 (EUR10/citizen/tick)
- Compute budgetRemainingCents = population * income each demand pass
- Pass ref budgetRemainingCents into FulfillOffering()
- Cap sold units by maxAffordableUnits = budget / price
- Deduct grossRevenueCents from budget after each sale
- Stops purchases when budget exhausted across all resources

Client:
- Fix getDemandUtilization response type: data not points
- Add Citizen Demand Utilization panel to MarketScreen
- Shows total demand, fulfilled, utilization % per resource
- Color-coded bar: green>=80%, yellow>=40%, red<40%

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>