population growth bug fix
This mod only change one line in 00_defines.
With this change, no more unreasonable population growth in countries with low SoL. e.g. Qing.
Countries with high SoL will still have reasonable population growth.
People who expect Paradox to fix this bug but turn out they didn’t in yet another version update and hate to edit the file after every disappointing updates, can use this mod.
Taking from this thread.
https://steamcommunity.com/app/529340/discussions/0/3827539750707275619/
The bug is here, about line 1604:
@improving_slope = @[(birthrate_at_delta_cap-min_birthrate-min_mortality-mortality_at_equilibrium)/(pop_growth_sol_delta_cap-pop_growth_sol_equilibrium)]According to the comments in context of this location, here:
birthrate_at_delta_cap-min_birthrate-min_mortality-mortality_at_equilibriumshould be:
birthrate_at_delta_cap-min_birthrate + min_mortality-mortality_at_equilibrium
=
(birthrate_at_delta_cap-min_birthrate) – (-min_mortality+mortality_at_equilibrium)
(This expression is easy to understand)I’m a programmer, trust me, this is a BUG.
This BUG will cause the result value and value adjustment of the birthrate to not meet expectations.
thanks to @san_77227487
