[2.0.21] /evolution command disagrees with .get_evolution_factor()
-
- Fast Inserter
- Posts: 114
- Joined: Wed Apr 29, 2020 9:53 pm
- Contact:
[2.0.21] /evolution command disagrees with .get_evolution_factor()
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()
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
If you want to get ahold of me I'm almost always on Discord.