Page 1 of 1

Selector Combinator: Quality Transfer, propagating wrong quantity

Posted: Fri Nov 08, 2024 3:32 am
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.

Re: Selector Combinator: Quality Transfer, propagating wrong quantity

Posted: Fri Nov 08, 2024 3:47 am
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