[2.0.43] "Read recipe finished" not sent when productivity rolls over coincidentally

Bugs that are actually features.
akikawasaki
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Apr 09, 2025 7:07 pm
Contact:

[2.0.43] "Read recipe finished" not sent when productivity rolls over coincidentally

Post by akikawasaki »

I was building a setup for Kovarex enrichment process and I tried to make a setup where the recipe finished signal would trigger an inserter to extract a single piece of Uranium-235 into a chest and another inserter that's always on would transfer the rest of the materials for further processing. I always expected problems with this approach since there could be a time where more than one item would need to be extracted at a time because of productivity but I tried to implement it nevertheless and figure out a solution later.

As expected the problem did occur but not in the way I anticipated. When the productivity bar reaches 100% at the same time as the crafting bar I was expecting a signal for a single tick and a leftover Uranium-235 in the machine but instead I got no signal on that cycle at all.

Upon further inspection I realized the problem only occurs when the productivity and crafting bars finish at the same time. While the productivity bar finishing isn't technically a "recipe finished" I think it should still fire the control signal, but that's not the real issue. The problem arises from the fact that when crafting and productivity happen on the same tick no signal is fired at all which is clearly not intentional.

The steps to reproduce are:
  1. Build a Kovarex enrichment process centrifuge
  2. Insert two normal quality productivity module 3 (total productivity +20%)
  3. Seed the centrifuge with the inital 40 Uranium-235
  4. Wait for 5 cycles of the recipe and monitor the recipe finished signal (speed module beacons help)
  5. No signal emitted on the 5th cycle
A blueprint with an example setup:
Attachments
bug.zip
save-file
(439.35 KiB) Downloaded 31 times
factorio-current.log
(11.8 KiB) Downloaded 32 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4117
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.43] "Read recipe finished" not sent when productivity rolls over coincidentally

Post by boskid »

Not a bug.

Your setup only triggers when signal-F equals 1. When there were multiple products given in the same tick, the value of signal-F will indicate how many products were given. When main cycle and bonus cycle finish at the same time, you get signal-F with value of 2 and your inserters ignore that value.
04-09-2025, 22-07-47.png
04-09-2025, 22-07-47.png (45.88 KiB) Viewed 290 times
akikawasaki
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Apr 09, 2025 7:07 pm
Contact:

Re: [2.0.43] "Read recipe finished" not sent when productivity rolls over coincidentally

Post by akikawasaki »

Worst part is I thought I checked for this...
Still feels like this behaviour could be made more clear in the tooltip though.
Post Reply

Return to “Not a bug”