Chain Probability settings are not being applied (v2.1.04)
Hey BanditTech!
First off, this mod is incredible, thank you. However, it was showing some unexpected behavior (things weren't upgrading right) so I poked around with the LUA. I was only getting greens when maxing Chain probability.
The problem:
Changing Uncommon, Rare, and Epic Chain Probability to 1 in the startup settings doesn't actually change their values in-game.
I confirmed this using the Factorio console:
/c game.print(prototypes.quality["uncommon"].chain_probability)
Despite having the setting at 1, the console returned 0.1.
The fix:
I edited data-final-fixes.lua and added the following assignments alongside the existing next_probability assignments:
obj.chain_probability = setting("uncommon_chain_probability")
obj.chain_probability = setting("rare_chain_probability")
obj.chain_probability = setting("epic_chain_probability")
Each line was placed in its respective quality tier's section.
After restarting Factorio, the console correctly reported 1, and quality upgrades began working as expected.
It looks like the Chain Probability settings were added to the settings menu but their values weren't being applied to the quality prototypes.
Just wanted to pass this along so you can incorporate the fix into a future release. Thanks again for the mod!