EffectValue as well as ModuleEffectValue page states:
Quality values are divided by 10 internally, allowing for one more decimal of precision.
However I find this to be incorrect in the general case, as the divisor 10 actually appears to be the base game value for of next_probability that is 0.1 for all qualities.
Here is an unmodified T1 quality module with the next_probability values changed, 0.01 for normal and 0.5 for uncommon
Tooltip indicates that each quality module actually has a separate effect value for each quality step.
I also found this thread where the current formulation was formed: viewtopic.php?p=648446&hilit=quality#p648446
I believe the following pages should be updated to reflect the interaction between them:
https://lua-api.factorio.com/latest/typ ... Value.html
https://lua-api.factorio.com/latest/con ... Value.html
https://lua-api.factorio.com/latest/pro ... robability
Quality value formulation.
-
- Burner Inserter
- Posts: 5
- Joined: Sat Oct 10, 2020 3:07 pm
- Contact:
Re: Quality value formulation.
Thank you very much for pointing this out, fixed the docs for 2.0.61.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.