[2.0.21] /evolution command disagrees with .get_evolution_factor()

Bugs that are actually features.
thesixthroc
Fast Inserter
Fast Inserter
Posts: 114
Joined: Wed Apr 29, 2020 9:53 pm
Contact:

[2.0.21] /evolution command disagrees with .get_evolution_factor()

Post 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.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16080
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.21] /evolution command disagrees with .get_evolution_factor()

Post 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
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”