In the ImmaterialResourceManager function CalculateLocalResources:
I'd like an API call out between the {land value is multiplied by the coverage / 1000 and the clamping of all the numbers to ushort range} that passes the (ushort[] buffer, int[] global, byte pollution, int landValue) through so that I can have a function that modifies the land value based on the services available.
I'd just override the ImmaterialResourceManager, but since everything uses it with static calls, I'd have to replace every building AI class, and probably half the UI just to change the land value calculations.
I'd like an API call out between the {land value is multiplied by the coverage / 1000 and the clamping of all the numbers to ushort range} that passes the (ushort[] buffer, int[] global, byte pollution, int landValue) through so that I can have a function that modifies the land value based on the services available.
I'd just override the ImmaterialResourceManager, but since everything uses it with static calls, I'd have to replace every building AI class, and probably half the UI just to change the land value calculations.