[2.0.38] Productivity bar not reset after recipe change

Bugs that are actually features.
User avatar
Hares
Filter Inserter
Filter Inserter
Posts: 850
Joined: Sat Oct 22, 2022 8:05 pm
Contact:

[2.0.38] Productivity bar not reset after recipe change

Post by Hares »

Background
IDK if this is a bug or not, but I suppose this should be reported. The reason I'm reporting this is the fact normally, after a recipe change, productivity bar is reset.

I have a circuit that reads if a higher-quality module can be crafted, and if it is, sets recipe for the EM plant. However, in the initial design there was a error, which caused to recipe not being actually set in the assembler, so the ingredients backed up so that 1xQ4 and 1xQ5 can both be crafted. I fixed the circuitry and it started working - Legendary one was crafted first, and immediately after it recipe was changed to Epic. Then I noticed I got second Q4 module for free (I saw productivity bar filling up) while crafting it which should be impossible since EM plant have only +50% prod bonus which is enough for "buy 2 get 1 free", not "buy 1 get 1 free", which means the prod bar was not reset.
03-05-2025, 22-49-02.png
03-05-2025, 22-49-02.png (547.79 KiB) Viewed 266 times


I will try providing steps-to-reproduce later, currently that's all what I have.
Fulgora is the best planet. Vulcanus needs rework. Feel free to prove me wrong.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15867
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.38] Productivity bar not reset after recipe change

Post by Rseding91 »

Thanks for the report however without a save file and way to reproduce this, there’s nothing I can do. All code paths I can find properly reset the productivity bar when the recipe changes.
If you want to get ahold of me I'm almost always on Discord.
User avatar
Hares
Filter Inserter
Filter Inserter
Posts: 850
Joined: Sat Oct 22, 2022 8:05 pm
Contact:

Re: [2.0.38] Productivity bar not reset after recipe change

Post by Hares »

Rseding91 wrote: Wed Mar 05, 2025 10:31 pm Thanks for the report however without a save file and way to reproduce this, there’s nothing I can do. All code paths I can find properly reset the productivity bar when the recipe changes.
I imported BP above to the sandbox mode, deployed it, put ingredients for exactly 2 Q4 and exactly 2 Q5 modules (upon inspection, I discovered the circuitry requires 2+ full sets of ingredients), and...
Here is the result
At first, I was shocked. Then came the realization. It's not the prod bar fault - I forgot about 5x T3Q3 Quality modules installed in the EM plant. I accidentally high-rolled quality upgrade twice in a row - this time and during the initial report time.

You may close this as not-a-bug.
Sorry for the disturbance.
Fulgora is the best planet. Vulcanus needs rework. Feel free to prove me wrong.
Post Reply

Return to “Not a bug”