[need help]Binding science output to GPT instead of Pop

Aerolight

Chieftain
Joined
Sep 16, 2012
Messages
45
Now I wanna make a mod that makes science output based on a city's gpt instead of population.(assume that maintenance cost for buildings is ignored)
How can I implement this? XML doesn't work.
and what if I want to bind it to the national income,making a universal value like happiness?(in this case maintenance cost,gold from treaties,etc are considered while buildings boosting city gold output are ignored.)
 
Top Bottom