Page 1 of 1

[2.0.20] Quality modules don't work on old saves

Posted: Mon Nov 18, 2024 5:57 pm
by happyfactorioaddict
Hey, my quality modules don't work, i tested with different tiers of modules and quality and the quality modules in different machines.
WHAT HAPPENED?
Even though i had quality modules in assemblers or any other machine (and no speed modules in it or in beacons) and even tough the tooltip says quality x%, the output products are never higher quality(belive me, from thousands of gears not even one of them was uncommon or higher).
This is a save created in 1.1(btw, i am in 2.0.20, with space age and quality enabled) In my playtrough of space age, the quality modules work as intended, but in this particular save(test world),they don't.
Heres's a video of the tests:
2024-11-18 14-40-04.mp4
(7.31 MiB) Downloaded 42 times
And the save file(i do use a few mods, but they dont impact quality modules in any way, since the modules still work in other saves with the same mods):
TESTES.zip
(5.6 MiB) Downloaded 36 times
Good luck in fixing this bug!

Re: (2.0.20)Quality Modules don't work on old saves

Posted: Mon Nov 18, 2024 6:15 pm
by Rseding91
Thanks for the report. You (or a mod) previously set

Code: Select all

game.player.surface.global_effect
to include a large speed bonus. As such, it includes a large negative quality penalty.

Re: (2.0.20)Quality Modules don't work on old saves

Posted: Mon Nov 18, 2024 8:06 pm
by happyfactorioaddict
Rseding91 wrote: Mon Nov 18, 2024 6:15 pm Thanks for the report. You (or a mod) previously set

Code: Select all

game.player.surface.global_effect
to include a large speed bonus. As such, it includes a large negative quality penalty.
Hey, i tried disabling all mods and the bug still happens, even if i create a completely new map editor save:
2024-11-18 16-57-14.mp4
(17.25 MiB) Downloaded 39 times
Also if there is a global quality debuf(like a global speed buff) why does the machine's tooltip still indicates positive quality?I would apreciatte your help to disable the code you mentioned (since i dont even know where's the factorio code located).

Re: (2.0.20)Quality Modules don't work on old saves

Posted: Mon Nov 18, 2024 8:45 pm
by boskid
Quality roll does not return qualitities that are still locked. After running `/c game.player.force.unlock_quality("uncommon")` command those machines started producing uncommon items.

Re: (2.0.20)Quality Modules don't work on old saves

Posted: Mon Nov 18, 2024 8:47 pm
by Rseding91
Actually I was wrong. The issue is that you don't have all qualities unlocked on the force.

Re: [2.0.20] Quality modules don't work on old saves

Posted: Mon Nov 18, 2024 9:27 pm
by happyfactorioaddict
That fixed i didnt realized the quality research wasn't unlocked since in the editor the modules are already avaliable(without the research) i naturally tought qualitys were already unlocked, either way thanks for helping.