Dec 10th 2019, 16:15:07
No im not talking about the PCI formula. But like with population you have a "population formula" but you also have a "population growth formula" and it is the same thing with PCI.
The population growth formula is quite simple so I can post it:
Population Growth =Trunc(If(MaxPop>CurrentPop,PopG,PopL),0)
PopG =Min(Trunc(Round((MaxPop-CurrentPop),0)/3,0),Max(40,Round(0.03*(1-Taxrate)*CurrentPop),0))
PopL =Min(Round((0.05+0.15*Taxrate)*CurrentPop,0),Trunc(Round((CurrentPop-MaxPop),0)/3,0))
On top of that you have the formula for maxpop which is the analogue of what we have posted in this thread for the PCI formula:
Maximum Population = (1-0.95*Taxrate)*(24*Res+12*Land)*ResTech*GvtPOP
So you see that there are two different formulas that are used depending on tax rate, population and max population, for how much your population grows. For instance if your pop is really low you get 40 as minimum pop growth.
It is the same with PCI growth except that formula is more complex and is actually 3 different formulas that are used in various situations. ONE of those formulas can cause it to take on negative values even when the actual PCI is below the max PCI. Ergo your PCI keeps dropping to 0 if it goes on long enough, and you die.