Re: Per City Growth Control
Reply #4 –
But why growing city of recent version is too fast ?
In old versions, if bev is less than 1000, max growth was 1.
(yes, 1 not 2, because of +1)
But in current version, max growth is (80<<6)/400=12.8
So, if city have only 1 factory and is full of goods.
It always keep growing 3. It's too fast.
} else if (bev < 1000) {
wachstum = (pax_transport * 2) / (pax_erzeugt + 1);
sint32 pas = (city_history_month[0][HIST_PAS_TRANSPORTED] * (40<<6)) / (city_history_month[0][HIST_PAS_GENERATED] + 1);
sint32 mail = (city_history_month[0][HIST_MAIL_TRANSPORTED] * (20<<6)) / (city_history_month[0][HIST_MAIL_GENERATED] + 1);
sint32 electricity = 0;
sint32 goods = city_history_month[0][HIST_GOODS_NEEDED]==0 ? 0 : (city_history_month[0][HIST_GOODS_RECIEVED] * (20<<6)) / (city_history_month[0][HIST_GOODS_NEEDED]);
// smaller towns should growth slower to have villages for a longer time
sint32 weight_factor = 100;
if(bev<1000) {
weight_factor = 400;
}
else if(bev<10000) {
weight_factor = 200;
}
// now give the growth for this step
wachstum += (pas+mail+electricity+goods) / weight_factor;