[2.0.74] allow_quality = false does not work properly on recipes made in furnace-type entities

Things that has been reported already before.
User avatar
planetfall
Inserter
Inserter
Posts: 21
Joined: Fri May 04, 2018 7:49 pm
Contact:

[2.0.74] allow_quality = false does not work properly on recipes made in furnace-type entities

Post by planetfall »

Expected behavior:
I have a recycler breaking down an item which has allow_quality = false in its recycling recipe.
If a recycler starts performing a recipe with allow_quality = false, any quality modules in the recycler should not take effect. If it changes its recipe because it receives a new item, the quality modules should take effect again, similar to how assembler-type entities work if you have a mod that enables quality or productivity modules in beacons - if you change the recipe to something that doesn't allow those modules, those beacons cease to affect the machine.

At the absolute worst a recycler that starts processing a recipe that can't use quality should pop any incompatible modules inserted into it into an output inventory, like an assembler that has had its recipe changed by the circuit network. (I don't really like this behavior since there's no automatable way to put them back, but I can understand if there's an architectural reason for it - the inconsistency between the two ways of changing a recipe without direct player intervention still constitutes a bug imo.)

Actual behavior:
Quality modules in the recycler apply their quality bonuses to recipes with allow_quality = false.
If the last recipe the recycler processed had allow_quality = false, new quality modules cannot be inserted, but ones placed in the machine previously still have their effect.

A sample mod to illustrate the problem is attached. It sets allow_quality to false for smelting iron plates and recycling iron sticks.
Attachments
factorio-current.log
(7.47 KiB) Downloaded 12 times
testmod_0.1.0.zip
(724 Bytes) Downloaded 10 times
fulgora? i find it quite empty actually
Rseding91
Factorio Staff
Factorio Staff
Posts: 16586
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.74] allow_quality = false does not work properly on recipes made in furnace-type entities

Post by Rseding91 »

If you want to get ahold of me I'm almost always on Discord.
User avatar
planetfall
Inserter
Inserter
Posts: 21
Joined: Fri May 04, 2018 7:49 pm
Contact:

Re: [2.0.74] allow_quality = false does not work properly on recipes made in furnace-type entities

Post by planetfall »

Ah, sorry!
fulgora? i find it quite empty actually
Post Reply

Return to “Duplicates”