exchange setup

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
smu42
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sun Apr 17, 2016 6:48 pm
Contact:

exchange setup

Post by smu42 »

Hi,

I'm wondering if it would be possible to make some kind of "trade machine" that trades items fairly, meaning in a 1-1 ratio.

General setup:
2 conveyors bringing one type of item each, let's say wood and coal. The trade machine should than only allow the coal to proceed, if there is also [Edit:] wood and vice versa.
Ideally, it should be fair, so that each arriving coal let's exactly one wood through and vice versa.

I played around with combinators a bit, but couldn't really find a good solution.

Or maybe I should just make a custom assembly machine for that? But then I would have to make one for each set of items, I guess?
Greybeard_LXI
Fast Inserter
Fast Inserter
Posts: 123
Joined: Sun Feb 26, 2017 10:48 pm
Contact:

Re: exchange setup

Post by Greybeard_LXI »

Load the items into a pair of chests with inserters for output. Then connect the chest to the opposite inserter with a green wire and the condition "If anything > 0". Also set the stack size override on the inserter to 1.

They say a picture is worth a thousand words. Here is a blue print string so you can create your own picture.
Blueprint
smu42
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sun Apr 17, 2016 6:48 pm
Contact:

Re: exchange setup

Post by smu42 »

Ah, so simple, now I'm a little mad, I didn't think of it myself :D
Thanks!
Post Reply

Return to “Gameplay Help”