Combinators: Negative output of a chest (subtraction to all incoming signals)

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Post Reply
jacolguz
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Apr 10, 2019 1:41 pm
Contact:

Combinators: Negative output of a chest (subtraction to all incoming signals)

Post by jacolguz »

I have a chest and I would like that all its content have an output with the inverted values or a way to subtract to all incoming signals (negative)
Having a combinator for each item is not a choice because the content that flows in that chest is so random.
Is there any way?
This is the idea:
Image

BaggyK
Inserter
Inserter
Posts: 35
Joined: Fri Mar 01, 2019 12:22 pm
Contact:

Re: Combinators: Negative output of a chest (subtraction to all incoming signals)

Post by BaggyK »

jacolguz wrote:
Mon Jul 01, 2019 10:21 am
I have a chest and I would like that all its content have an output with the inverted values or a way to subtract to all incoming signals (negative)
Having a combinator for each item is not a choice because the content that flows in that chest is so random.
Is there any way?
This is the idea:
Image
Yes there is a way, and you seem to be almost there. Use an arithmetic combinator and set it to each *= -1, and output each.

Post Reply

Return to “Gameplay Help”