Factorio

Factorio

View Stats:
bobSheep Jun 23, 2017 @ 1:46pm
Filtering out items using combinators
I'm trying to use combinators to filter out items based on the contents of the chest.

So let's say the chest (warehouse) contains 25 different types of items.
They feed into the item recycler (mod).
However, the mod cannot deal with items that are more than 1 (like it gets stuck on a stack of 3, when the item craft counts per 2, like transport-belt-1)

I'm trying to filter out those.
My combinator is set to:
- for each
- not equals to (the =/= sign thingie)
- <item> (fish, or belts, or whatever I do not want to recycle)
- output each = input count

each output is linked to next combinator input, there a string of about 30 combinators

'et voila, it works perfectly.
however, when 2 items within the chest have the same amount of quantity (1 is the biggest problem) BOTH items get removed from the combinator array becouse item[$i] (1) EQUALS fish(1).

I have tried using a constant combinator to select EVERY item that i want to recycle, but the filter inserter does not allow more than 5 item types.

SO what it basically does is compare number, not item ID.

How, if possible, can I solve this problem?

thanks a lot.

This one does it's job, it removes belt underground (and sadly, the potions)
[img]https://steamuserimages-a.akamaihd.net/ugc/852719016411601505/45DCF6DEC0B213CA72F5A467A18B382AE3A875E6/[/img]

This works:
[img]https://steamuserimages-a.akamaihd.net/ugc/852719016411603388/5C34A1B5BED04AB4A475CF5691DFCB25B94575DD/[/img]

This one pisses me off:
[img]https://steamuserimages-a.akamaihd.net/ugc/852719016411602638/1DC59ED0C1A294772782D26FFBE2BA30FA66969F/[/img]
Last edited by bobSheep; Jun 23, 2017 @ 1:58pm
< >
Showing 1-2 of 2 comments
ShutEye_DK Jun 24, 2017 @ 3:23am 
Not a direct answer but have you tried another recycler mod?
I'm using "Reverse Factory" with great success so far:
https://mods.factorio.com/mods/Kryzeth/reverse-factory
Killcreek2 Jun 24, 2017 @ 7:34am 
Your first approach [constant combi to filter inserters], is likely the better place to start.

Limit the inserter stack size to =2, and allow it to set filters.

Wire the warehouse output to the constant combinator via a decider combi ,then to the inserter. Make sure to offset the numbers in the CC by +/-1, so the filter will only work if there is 2 or more in the warehouse.

If you want to remove more than 5 item types at same time, just add another filter inserter per 5, on a different CC wire.

No need for dozens of individually-set combinators as your later pics show.
Last edited by Killcreek2; Jun 24, 2017 @ 7:34am
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Jun 23, 2017 @ 1:46pm
Posts: 2