Hello,
I'm not sure if it can be considered a bug, but I have a string of boxes with filter inserters in between. The filter gets set by the contents of a box, with a negative constant signal of said contents.
Now the inserter will occasionally take too many out, so I thought I'd set hand size with the [each] signal, hoping it would work but it doesn't.
Is it possible to have that? Because I don't know how the each signal works "behind the scene", and if it would take a number of the item highest on the craftlist, highest number or current filter signal. It would only work if it'd take the number of the filter signal.
If that would be a new feature rather than a fix you can delete this post. I'm not here to give you more work then neccesary, my build works without but wanted to point this out more than anything I guess.
thank you and keep up the good work!
Much love,
Baer
Filter inserter set filter combined with set hand size
Re: Filter inserter set filter combined with set hand size
You cannot have this with the filter inserter, but you can have it with the stack filter inserter. The hand size can have only one value. If you set the hand size, it is set globally for every item the hand may hold. The filter inserter picks arbitrary items from a container as long as it is in the filter, and since every item has probably a different maximum desired amount, the hand size is only correct for one item but not for all.
So the filter has to contain one item only, and you set the hand size for this item. This leads us to the stack filter inserter. If you do it this way, it will work.
If you have a list of desired items, feed the stack filter inserter this list and use the "each" condition with a decider combinator to extract the amount of the item that gets in the filter. The "each" operator will magically choose the amount of the same item the filter of the inserter will choose. Internally, it seems the same chooser algorithm.
This station setup might help you with understanding how the combinator can be wired. It's the loading station of my supply system that loads items according to constant combinators associated with each wagon. The list of items missing from a wagon is requested by a requester chest and at the same time fed into the stack filter inserter. The combinators next to the logistic chests define the hand size.
By the way, the hand size signal is 1 tick late, but as far as I remember it's irrelevant because the hand needs more than 1 tick before it actually picks up an item, and at that time the size signal is correct.
So the filter has to contain one item only, and you set the hand size for this item. This leads us to the stack filter inserter. If you do it this way, it will work.
If you have a list of desired items, feed the stack filter inserter this list and use the "each" condition with a decider combinator to extract the amount of the item that gets in the filter. The "each" operator will magically choose the amount of the same item the filter of the inserter will choose. Internally, it seems the same chooser algorithm.
This station setup might help you with understanding how the combinator can be wired. It's the loading station of my supply system that loads items according to constant combinators associated with each wagon. The list of items missing from a wagon is requested by a requester chest and at the same time fed into the stack filter inserter. The combinators next to the logistic chests define the hand size.
By the way, the hand size signal is 1 tick late, but as far as I remember it's irrelevant because the hand needs more than 1 tick before it actually picks up an item, and at that time the size signal is correct.
Re: Filter inserter set filter combined with set hand size
Ofcourse, I can use a combinator to put the correct number on the control signal... I feel dumb now, that was a huge oversight on my partTertius wrote: Sat Feb 05, 2022 2:15 am If you have a list of desired items, feed the stack filter inserter this list and use the "each" condition with a decider combinator to extract the amount of the item that gets in the filter. The "each" operator will magically choose the amount of the same item the filter of the inserter will choose. Internally, it seems the same chooser algorithm.
Thank you very much for the reply! I was staring myself blind on picking a control signal I missed the obvious solution.
Edit: this is (could be) the solution to my problem but not the answer to my question
Re: Filter inserter set filter combined with set hand size
oh, nvm. It got moved to gameplay help already
I hope someone eventualy sees this because my question is not answered.
Can the "each" [ * ] function be added to set hand size on a stack filter inserter?
If I set the filter with a specified number of items, that the stacksize will take that number. Is that possible?
Yes there are ways to work around this but pointing me to a detour does not answer the question if the main road is open
I hope someone eventualy sees this because my question is not answered.
Can the "each" [ * ] function be added to set hand size on a stack filter inserter?
If I set the filter with a specified number of items, that the stacksize will take that number. Is that possible?
Yes there are ways to work around this but pointing me to a detour does not answer the question if the main road is open
Re: Filter inserter set filter combined with set hand size
This was suggested 4 years ago and nothing has happened yet.Baer1990 wrote: Mon Feb 07, 2022 10:57 pmCan the "each" [ * ] function be added to set hand size on a stack filter inserter?