For each slot/stack widget
johalun opened this issue ยท 1 comments
Describe the feature
A widget that would iterate over all slots of the target inventory. Not sure what's best here, just iterate of slots with items or empty slots as well. I guess it depends on the use case. Maybe a checkbox in the widget UI to toggle if you want to include empty slots or not. The widget would set two variables, one for the item type, another for number of items in the stack.
Reasons why it should be considered
One use case is that you can use a chest and the slots in the chest to instruct a drone what to do. For example what saplings to plant in a tree farm, without having to reprogram the drone. Another one could be placing item in an inventory in a specific order or pattern.
Additional details
No response