Allow selector combinators to output a signal

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Mur
Long Handed Inserter
Long Handed Inserter
Posts: 75
Joined: Mon Feb 11, 2013 3:52 pm
Contact:

Allow selector combinators to output a signal

Post 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.
eugenekay
Filter Inserter
Filter Inserter
Posts: 590
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: Allow selector combinators to output a signal

Post 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 249 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!
Post Reply

Return to “Ideas and Suggestions”