Selector Combinator: Quality Transfer, propagating wrong quantity

Bugs that are actually features.
TheShinWire
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Oct 24, 2024 5:11 pm
Contact:

Selector Combinator: Quality Transfer, propagating wrong quantity

Post by TheShinWire »

Repro:
* Create constant combinator and give it the signals 2 iron plate normal quality and 3 iron plate uncommon quality. (Note: these need to be on separate logistical groups)
* Connect constant combinator to Selector combinator input.
* Set Selector combinator input to Quality transfer. Set it to "Select from signal: Iron Plate". Set target signal to be iron plate.
* View output signal.
The output is 2 iron plate uncommon quality.
The expected output is 3 iron plate uncommon quality.

The output signal is taking the value from the normal iron plate. This is particularly problematic when the normal iron plate signal is 0.
mmmPI
Smart Inserter
Smart Inserter
Posts: 3990
Joined: Mon Jun 20, 2016 6:10 pm
Contact:

Re: Selector Combinator: Quality Transfer, propagating wrong quantity

Post by mmmPI »

TheShinWire wrote: Fri Nov 08, 2024 3:32 am * Create constant combinator and give it the signals 2 iron plate normal quality

* Set Selector combinator input to Quality transfer. Set it to "Select from signal: Iron Plate". Set target signal to be iron plate.

* View output signal.
The output is 2 iron plate uncommon quality.
The expected output is 3 iron plate uncommon quality.

The output signal is taking the value from the normal iron plate. This is particularly problematic when the normal iron plate signal is 0.
This works as written on the tooltip, the output is the target signal with the value of the original signal and the selected quality level ( here the highest quality amongst iron plate).

viewtopic.php?f=18&t=117782
Post Reply

Return to “Not a bug”