Well. It "fixed" the problem in that my city now requires an extra 500 food to grow, so it'd take another 100 turns to find out!Maybe that food required bug was coming in right at the beginning of games?
Off to start a new game and see if I really do need 800 surplus food to reach size 2.
This is the calculation for the base (unmodified) growth threshold:
Code:
iThreshold = (GC.getDefineINT("BASE_CITY_GROWTH_THRESHOLD") + (iPopulation * GC.getDefineINT("CITY_GROWTH_MULTIPLIER")));
iThreshold *= GC.getGameSpeedInfo(GC.getGameINLINE().getGameSpeedType()).getGrowthPercent();
The assets currently define BASE_CITY_GROWTH_THRESHOLD as 25, CITY_GROWTH_MULTIPLIER as 3. Gamespeed SNAIL (which I am on) has 'iGrowthPercent' as 600%.
So the net is 6*(25 + pop*3)
For a city of size 1 that's 168 food. For a city of size 50 it's 1050 food.
The modifiers then change that according to civics etc.