You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>