ssilk wrote:I see an practical excuse: How should an interface look, that enables me to tell the inserter how to turn? Details are really important here.
Clicking on the
inserter (which works for smart inserters already anyways) and having an option for
"mode of operation" would do the trick. Simple radio buttons with 3 options (Default, 90° Clock, 90° Counterclock) would suffice and be quite self-explanatory. The default option when an
inserter is placed would be obviously the current way inserters work.
An interface for all inserters should have been added a long time ago anyways because there are actually quite some other things one might want to change too, like for example
Inserter Item Stack Size Bonus, because once the research is conducted one can't tone down individual inserters, which is quite frustrating in cases where one wants to move an exact amount of items instead of 5 at maximum research level. For some logic circuitry this becomes a major annoyance, but we already had that topic elsewhere.
ssilk wrote:One complex example: A chest, this new inserter, an assembly for green circuits. Now: Inserter puts two wires and an iron plate in, assembler works. And now the assembled item will be taken out ... but could not be placed into the chest, cause there is no space left. Well, could happen with two inserters also. But now think this with two inserters. Or combinations of inserters.
Ah yes, the
"full chest containing multiple different items creating a deadlock"-problem. That's why the devs should have added an item filter system for slots like in cargo wagons to chests a long time ago. That there is no such thing is actually a major problem in various completely different and/or unrelated designs/applications as well, especially in storage systems where stuff ends up all over the place in your factory rather than in one dedicated spot just because you can't prevent bots from moving stuff whereever they feel like it.
I wouldn't mind if the filter slots in cargo wagons as well as chests would be something that has to be researched in one of the logistics researches. It would still be completely worth it.
But yeah coming back to it there are quite some unexpected results if something like an uncontrollable bi-directional
inserter would exist and most of them would be useless gimmicks. So there would have to be at least a way to train the
inserter or making the bi-directionalism depend on filter lists.
ssilk wrote:I understand. How do I tell the
inserter what to take out and what in? It isn't really that simple.

There would be multiple possible ways to do it (some of which I didn't list):
1) Memory by first encounter. Place the
inserter and the chests the
inserter is supposed to opperate on. Then once the
inserter encounters an item type for the very first time it will mark the corresponding chest it encountered the item in as source and will never move the item type back into this source chest. Would be the least amount of setup work. Just put stuff down and be done with it. Either let the
inserter encounter the items automatically or help it by putting the item into a corresponding source chest yourself. Obviously you can't define a target chest this way, only the source, but if chests with filtered slots would be a thing then the targeting wouldn't be a problem since you could prevent an item from entering the wrong chest.
2) A more sophisticated solution might be having something like filter lists for items moved in/out for each individual direction. An item can only be either on the
"in" or on the
"out" list, but not on both, for each individual direction. There would be obviously multiple pairs of lists, one corresponding to each of the directions the
inserter can access.
Somehow I like the 2) one more because it would give vast control over the
inserter behavior. It would be pretty much a multidirectional filter
inserter that can access all 4 orthogonal directions (and even the 4 diagonals if you wanted to) and move items in/out of each direction. It would be probably be the most universal solution to the entire problem possible. I wonder why nobody else has ever thought of such a thing.
The
inserter interface could even be something ridiculous like that for all 8 directions (including diagonals) just for the fun of it:

- Multidirectional Filter Inserter.png (9.99 KiB) Viewed 22656 times
It would bring back filter inserters but actually giving them a new unique purpose compared to smart inserters.
Would offer quite a lot new funny ultracompact designs not possible prior that. Oh how I wish this would become a thing and if not that somebody creates a mod for it.