Page 1 of 1

Allow selector combinators to output a signal

Posted: Sun Mar 23, 2025 3:18 pm
by Mur
So I am trying to setup a system to convert items into stack sizes which can be done with a parametrized constant combinator and arithmetic combinator but I see selectors can output stack size, the only issue is that I can't put it on a variable.

This would be good because if I wanted to make it something like S then I can just use S in other places instead of random item in chest. I understand that there might be multiple objects in the chest but at least I can understand for loading stations that are usually mono items.

This could work similar to reactors which have a enable checkmark for set variables or let us choose.

Re: Allow selector combinators to output a signal

Posted: Sun Mar 23, 2025 4:26 pm
by eugenekay
You can do this (for a single Item type) by using an Arithmetic Combinator to "Copy" the Stack Value onto your Desired Signal:

Screenshot 2025-03-23 122228.png
Screenshot 2025-03-23 122228.png (566.57 KiB) Viewed 251 times
This does not work with Multiple types of Items - which is probably why the Decider Combinator operates as it does.... you would get overlapping Signals on the "Output Variable" unless it is filtered down to a single type of Item, reducing functionality. :-)


Good Luck!