Quality Control

by raley

Adds a chance to change the quality of buildable units based on their activity level. Highly configurable, works well with other quality mods.

Content
11 days ago
2.0
397
Factorio: Space Age Icon Space Age Mod
Cheats

b [Fixed] Crash

20 days ago

The mod Quality Control (1.1.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event quality-control::on_nth_tick(1)
quality-control/scripts/core.lua:226: attempt to index local 'entity_info' (a nil value)
stack traceback:
quality-control/scripts/core.lua:226: in function 'attempt_quality_change'
quality-control/scripts/core.lua:311: in function 'process_quality_attempts'
quality-control/scripts/core.lua:371: in function <quality-control/scripts/core.lua:332>

Pretty heavily modded game, so I made a backup of the save in case you need it.

20 days ago

Thanks so much Xaal! I’d love to take a look at the save, that might be the quickest way to figure out what happened.

I’m away from the computer right now so can look in a few hours. Do you have a way to upload it somewhere?

20 days ago
(updated 20 days ago)

https://mega.nz/file/yRZSCD4A#JHEguh9y67C43yFSXs5P4VBKB0Dc5GOkEdRWb_I1afg

Hopefully that works. Crash is ~30 seconds to a minute after loading the save.

20 days ago

Thanks! That was a huge help. The fix is posted to the mod portal.

It feels super weird loading someone else's save. Like finding yourself alone in another person's home or something. We play with a lot of the same mods, but you have a few I've never run across.

Technical details:
A furnace had earned a bunch of upgrade attempts due to how much work it's done. It hit legendary (the cap in this save) but still had upgrade attempts left. Most of the code handled this scenario (of being at max), but a small part didn't and I hadn't ran into this situation in testing. This would have happened to others that added the mod to an existing save, so I'm glad to catch it now.

Thanks again for the bug report! Please let me know if you find any other issues.

20 days ago

Thanks so much. And I'm testing out a ton of new mods with this run, so a lot of them are new to me too. (:

New response