https://wiki.factorio.com/index.php?tit ... #EvolutionNarc wrote:I don't think that formula works:Ranakastrasz wrote:Suggest alternate evolution factor display. Showing linear values. Should work as long as mods don't break the standard limits.Code: Select all
[...] (1/(1-x))-1
But you don't need a formula:Code: Select all
(1/(1-0.9)) - 1 == 9 (1/(1-0.99)) - 1 == 99
Code: Select all
if evo > 0.99 then return 6 elseif evo > 0.8 then return 5 elseif evo > 0.75 then return 4 elseif evo > 0.66 then return 3 elseif evo > 0.5 then return 2 else return 1 end
Code: Select all
The percentages are applied on the base of (1 - current_evolution_factor). So for instance destroying the enemy spawner in the beginning of the game results in increase of evolution factor by 0.005 (half a percent) while doing this when the evolution factor is 0.5 the increase is only 0.0025 (quarter a percent).
As for the formula, it is required to get a smooth value. Otherwise you could just say, Low, medium, high, extreme, and be done with it. This is to give more information.