Maximum town growth rate

For each town, a maximum possible town growth rate is calculated. As in OTTD internals, the "growth rate" is actually the number of days between each town expansion. In RCG, this rate is calculated relatively to town's population, according to the formula:

max_town_growth_rate = 50000 / (current_population + 100)

Which results in the following linear monthly creation of houses, depending on towns population:

Monthly creation of houses (y) depending on town population (x)

Goal achievement

In next graphic, different possible formulas for taking in count the requirements achievement (supposing a town of 5000 hab.). At the moment, we use the most restrictive formula (the green one). Which means that growth is enabled only if at least 50% of required cargo is supplied and that TGR progression is exponential, not linear.
x = percentage of required cargo actually supplied
y = monthly creation of houses

Different possible formulas for calculating the TGR depending on goal achievement

Graph1-MaxTGRmonthly.png - Monthly creation of houses (y) depending on town population (x) (5.29 KB) keoz, 2014-08-21 10:21

Graph2-MaxTGRmonthly.png - Monthly creation of houses (y) depending on town population (x) (5.29 KB) keoz, 2014-08-21 10:55

Graph3-PossibleRewardFormulas.png - Different possible formulas for calculating the TGR depending on goal achievement (7 KB) keoz, 2014-08-21 10:57