Programmable smart inserter filters (was: network inserters)

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Tinyboss
Filter Inserter
Filter Inserter
Posts: 564
Joined: Sun Nov 16, 2014 12:11 pm
Contact:

Programmable smart inserter filters (was: network inserters)

Post by Tinyboss »

My idea is for a new inserter that allows for precise monitoring and control of items moved.

This would be an inserter with one circuit network input and one output. It will only pick something up if there is a nonzero signal for that item type on the input wire, and when it drops something, it puts a signal on the output wire corresponding to what it dropped (item type and quantity), for a single tick.


Actually, I think it would work better as a change to the smart inserter: Just add a new checkbox to the smart inserter GUI, called "filter by circuit network". If this option is not selected, the smart inserter behaves exactly as it currently does. If it is selected, then every other part of the GUI becomes disabled, and the inserter will pick up only and all items that are present on the circuit network input with a positive value.

I think this is the best way to do it because
  1. It's intuitive; it seems like smart inserters should already be able to do this.
  2. There is no need to add a new kind of inserter.
  3. The change to smart inserters won't break existing factories (the new option is off by default).
Last edited by Tinyboss on Sat Aug 22, 2015 1:05 am, edited 3 times in total.
deepdriller
Fast Inserter
Fast Inserter
Posts: 185
Joined: Sat Apr 11, 2015 7:52 pm
Contact:

Re: Network Inserter

Post by deepdriller »

YOu mean, like a smart inserter feeding into a smart chest, which is being emptied immediately?
Tinyboss
Filter Inserter
Filter Inserter
Posts: 564
Joined: Sun Nov 16, 2014 12:11 pm
Contact:

Re: Network Inserter

Post by Tinyboss »

Assuming the smart chest always gets emptied the very next tick, yes.

Edit: No, I don't think that covers it, see below.
Last edited by Tinyboss on Thu Aug 13, 2015 7:51 pm, edited 1 time in total.
MF-
Smart Inserter
Smart Inserter
Posts: 1235
Joined: Sun Feb 24, 2013 12:07 am
Contact:

Re: Network Inserter

Post by MF- »

.... unless the place it would empty to would be blocked.
In that case even a chest that empties automatically would block.

smart inserter -> chest -> smart inserter should be able to do the trick.
Tinyboss
Filter Inserter
Filter Inserter
Posts: 564
Joined: Sun Nov 16, 2014 12:11 pm
Contact:

Re: Network Inserter

Post by Tinyboss »

I think there are some workarounds to get the output that I'm looking for, but AFAIK there is no way to have a smart inserter whose filter consists of items on the wire with positive values. That would be extremely useful and I'm pretty sure there's no way to arrange it in vanilla.

Edit: I think this would actually work better as a modification to the existing smart inserters. I updated the OP.
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Network Inserter (Edit: modify smart inserter instead)

Post by ssilk »

Why do you want this? I mean, I can think of some uses, but what is your usage-case(s)?
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Tinyboss
Filter Inserter
Filter Inserter
Posts: 564
Joined: Sun Nov 16, 2014 12:11 pm
Contact:

Re: Network Inserter (Edit: modify smart inserter instead)

Post by Tinyboss »

ssilk wrote:Why do you want this? I mean, I can think of some uses, but what is your usage-case(s)?
A bunch of one-roboport-sized logistic networks that pass the produced/consumed items back and forth among them. I can't really limit production using smart inserters and logistic conditions, since they're all split up, so I want to do a similar thing with smart inserters and the circuit network.
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Network Inserter (Edit: modify smart inserter instead)

Post by ssilk »

Sorry, maybe it's a translation problem or something else, but I don't get it.

As I understand it the title of this should be:
"Programmable filters for smart inserters"

And I don't understand the answer from tinyboss: Why can't I limit the production via logistic conditions?
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Tinyboss
Filter Inserter
Filter Inserter
Posts: 564
Joined: Sun Nov 16, 2014 12:11 pm
Contact:

Re: Network Inserter (Edit: modify smart inserter instead)

Post by Tinyboss »

ssilk wrote:Sorry, maybe it's a translation problem or something else, but I don't get it.

As I understand it the title of this should be:
"Programmable filters for smart inserters"

And I don't understand the answer from tinyboss: Why can't I limit the production via logistic conditions?
I think that title is accurate.

The factory I have in mind would be made up of many one-roboport-sized logistic networks, all disconnected. So the one that makes advanced circuits, for example, doesn't know how many advanced circuits are needed in the other areas.

Now that kind of factory is probably not very practical. But, I'm trying to solve the problem of bad logistic bot performance in geographically large logistic networks, by splitting it up into many small networks which intelligently balance resources among themselves.
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Programmable smart inserter filters (was: network inserters)

Post by ssilk »

Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Post Reply

Return to “Ideas and Suggestions”