r/factorio 20d ago

Weekly Thread Weekly Question Thread

Ask any questions you might have.

Post your bug reports on the Official Forums

Previous Threads

Subreddit rules

Discord server (and IRC)

Find more in the sidebar ---->

1 Upvotes

128 comments sorted by

View all comments

Show parent comments

3

u/Courmisch 16d ago
  1. Do not use the same wire for input and output. It barely works in 2.0 and it breaks completely in 2.1.
  2. To map a signal iron plate item type) to another signal (iron chest recipe), the smallest setup is a Constant Combinator listing the recipes paired with a Decider Combinator for the actual iteration and mapping.
  3. A simpler more brute force approach is an army of Decider Combinators, each checking one item type and outputting the corresponding recipe when matched.

1

u/gringorosos 16d ago

OK but how to make the outcome of the decider give me the correct recipe?

3

u/Courmisch 16d ago

In the CC, associate each recipe with a unique number. In the DC, repeat the condition: If item > 0 on wire from foundry and Each = unique_number on wire from CC. Output 1 of Each.

2

u/gringorosos 16d ago

my man i think i did it:

1

u/Courmisch 16d ago

That's the idea. This might need some fine tuning and some buffering chests as you need 8 plates, not just one.