Script Summary: This script adds a Resource Summary to the Palace View. Currently: Displays Resources, Resource Production or Usage Displays Money, Corruption, Population, Growth, Totals Also shows warnings for near max capacity or soon to be.
Replaces the table shown in the Palace and Gov Residence views with info from all towns:
Resources and their production level (including wine usage)
Net Gold, Corruption
Population / Population Max , (Population Capacity Remaining) Growth
Research Points, Cultural Goods
Also has a row for resources currently on the move via trade ships.
And finally a Totals row [which includes trade goods and production rates]
Warnings are shown when resources reach maximum capacity.
Warnings are also shown when a production rate or usage rate will max-out or deplete a resource within a certain time, with the warning starting light yellow, moving through to bright red.
Warnings in Purple show 100% capacity or maximum reached.
Warnings in Blue show over 100% capacity to be reached due to trade goods transfer, which implies that the extra will be lost.
This script is released under GPL, feel free to nick parts for whatever purpose, just keep it released under the GPL and leave the GPL notice at the top.
Hope you find this useful!