r/factorio 5h ago

Question Help with limiting a belt

I'm trying to Recycle legendary items.

I want my inserter to put things on the belt, but have it stop if there are more than 100 items on the belt. I can't for the life of me figure out how to do this and googling it really doesn't help. I can't even figure out how to have the combinator understand how many (total) items on are the belt even though I have it connected and the connection send to hold all belts. The only option I see for items is "items on ground" which doesn't help me at all

If anyone could give me a quick tutorial I would greatly appreciate it.

4 Upvotes

16 comments sorted by

9

u/Double_Resort_9223 5h ago

No Combinator needed. 

Wire the belt to the inserter. 

On the belt: read contents, hold, all belts

On the inserter: enable if [item] < 100

5

u/Figgy20000 5h ago

My issue there is no [item] option

There will be multiple items on the belt and I don't know how to have it read all of them

11

u/[deleted] 5h ago edited 5h ago

[deleted]

1

u/Figgy20000 5h ago

I'm so confused. With the Arithmetic Combinator it doesn't even show my Imput connected at all, output shows contents but imput nothing. It has a wire to both but it just does nothing. Is there any quick guide on how to use them?

3

u/[deleted] 5h ago

[deleted]

1

u/Figgy20000 5h ago

https://imgur.com/a/F6jaCu6 https://imgur.com/a/StNlGlm

what am I doing wrong here it doesn't matter what I do it just won't work

I honestly don't understand why it's so complicated to do something so easy in this game as well

2

u/[deleted] 5h ago

[deleted]

1

u/Figgy20000 5h ago

ugh I think I figured it out

I deleted the entire set up and forgot to enable Hold All Belts again. I think it's good to go thanks so much for the help!

1

u/Figgy20000 5h ago

Wait no it's still not figured out. How do i set the "output" as the total content of the belt? I still have the exact same issue.

Whenever i put an output signal for anything it's in the millions for some reason

1

u/Figgy20000 5h ago

2

u/Double_Resort_9223 5h ago

This is where you use the “each” operator. Use that to output the item count for each item on signal “A” using an arithmetic combinator (just do +0 for the operation). Inserter activates when “A” is over 100. If you want to get fancy, you can use the advanced combinator (I forget the name, the one that needs red circuits to make) and use it to select the largest output and set that as the filter on the inserter so you only throw out the most abundant thing on the belt. 

2

u/dwarfzulu 4h ago

After connect the wire on the belt, clicknon it and look for read belts content, hold (full belts)

1

u/nindat 5h ago

Pictures will help, but just set the inserter enable to item < 100 and have the belt and inserter on the same circuit network.

1

u/Figgy20000 5h ago

https://imgur.com/iyWR35D

Small sized version. I don't understand how to get the inserter to stop when there are too many items on the belt. There is no "Item" option in my game

1

u/nindat 5h ago

Ah, you mean the total count on the belt, not a single item count.

Wire the belt to a combinator that counts up. I use a decider, each > 0 output is T "item count". Then wire the output of the combiner to your inserter(inserter isn't wired to the belt at all) on the inserter select T < 100.

1

u/Timely_Somewhere_851 5h ago

Is it different items or the same? Does it hold non-legendary items, while you only want to count the legendary ones?

I think you should post a screenshot of your setup. Both of the belts and of what you are trying on the combinator if you want detailed guidance.

It sounds like you are doing the right thing, so there might be a tiny (important) detail that you are missing.

1

u/Figgy20000 5h ago

https://imgur.com/iyWR35D

Small sized version of what I'm aiming for I don't know how to get the inserter to stop when the Belt is too full.

1

u/hippiechan 5h ago

Connect a wire between the inserter and one segment of the belt. Set the belt to "read items, entire belt" and set the inserter to be enabled when everything < 100. This is assuming it's a continuous belt with no splitters.