Page 1 of 1
[2.0.21] /evolution command disagrees with .get_evolution_factor()
Posted: Fri Nov 29, 2024 5:56 pm
by thesixthroc
I encountered this disagreement after using `.set_evolution_factor_by_time()` to lower the time evolution factor on a particular surface. This decreased the value returned by `.get_evolution_factor()` as expected, but the `/evolution` command continued to show the old value.
Re: [2.0.21] /evolution command disagrees with .get_evolution_factor()
Posted: Fri Nov 29, 2024 8:48 pm
by Rseding91
Thanks for the report however this is working correctly. The "set_by_x" is a simple percentage that's used to show the breakdown in the /evolution command. The actual evolution factor is its own value and the one you want to actually change:
https://lua-api.factorio.com/latest/cla ... ion_factor