Prototype property to restrict inserters to pick up from a single lane
Posted: Fri Aug 09, 2019 9:56 pm
Broken off from 61354.
Here's a strawman proposal for a "single lane only" inserter, set on a per-prototype basis.
1) Add new optional prototype property to inserters: pickup_position_only. Default value is false, and preserves current inserter behavior. To summarize, the current behavior is: when selecting an item to chase & pick up, select the lane that's closest to the inserter's position. If both are equidistant, select the "left" lane as seen from the belt's perspective. If there are no items in the selected lane that meet the inserter's filters, look again in the opposite lane.
2) When this new property is true, when selecting an item to chase & pick up, select the lane that's closest to the inserter's current pickup_position. If there are no items in the selected lane that meet the inserter's filters, do not chase any item and treat the belt as completely empty, dropping the currently held stack or returning the inserter hand to the pickup_position.
Here's a strawman proposal for a "single lane only" inserter, set on a per-prototype basis.
1) Add new optional prototype property to inserters: pickup_position_only. Default value is false, and preserves current inserter behavior. To summarize, the current behavior is: when selecting an item to chase & pick up, select the lane that's closest to the inserter's position. If both are equidistant, select the "left" lane as seen from the belt's perspective. If there are no items in the selected lane that meet the inserter's filters, look again in the opposite lane.
2) When this new property is true, when selecting an item to chase & pick up, select the lane that's closest to the inserter's current pickup_position. If there are no items in the selected lane that meet the inserter's filters, do not chase any item and treat the belt as completely empty, dropping the currently held stack or returning the inserter hand to the pickup_position.