Adjustable Quality


This mod gives you the ability to adjust all the prototype options related to quality, allowing you to play the way you want. Options for all quality tiers, names, modules, labs, science packs, assembly machines, furnaces, mining drills, insterters, capacitors, electric poles, beacons, chests, wagons, inventory grids, roboports, robots, tesla weapons, weapon range, and asteroid collectors. Options default to standard gameplay, letting you pick and choose what adjustments you make!

Tweaks
4 days ago
2.0 - 2.1
4.47K
Factorio: Space Age Icon Space Age Mod
Cheats

b Chain Probability settings are not being applied (v2.1.04)

9 days ago

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!

8 days ago

Wow... what a facepalm moment to now realize that this was never linked in. Thank you for pointing this out to me.

New response