When looking at the Filter setting on Filter inserters or Splitters, suggest items that are on the connected entity
Posted: Sat Feb 27, 2021 1:17 am
Feature request: When selecting an item that can filter like a filter inserter or splitter, and choosing the filter option, it opens a menu of every item in the game. It would be preferable if it either highlighted, or had some way to filter by, items in the attached entity. So if an inserter is pulling from a chest, recommend the items that are in that chest. If it's on a belt, recommend items that are currently on that belt.
It seems like this shouldn't be a major performance concern. Primarily because it doesn't need to happen for all filter items forever. Only for the one item you're currently looking at. Also, if there are performance concerns with checking the entire contiguous belt for items when the belt could be long, it could have a limit for attached belt length to check. Even a very low limit (like the nearest 5 belts) would often work.
It seems like this shouldn't be a major performance concern. Primarily because it doesn't need to happen for all filter items forever. Only for the one item you're currently looking at. Also, if there are performance concerns with checking the entire contiguous belt for items when the belt could be long, it could have a limit for attached belt length to check. Even a very low limit (like the nearest 5 belts) would often work.