You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These functions would return the total amount of storage available in the network and the total used storage in the network, it might also be helpful to have an optional argument that will limit them to a certain type of storage (drive/external), that could be useful as with some external inventories (such as the drawer controller), the available storage doesn't get read correctly.
It could be very useful for things like quarries made with frames such as the ones from funky locomotion so that it would stop once there isn't any more space in the system to prevent it from breaking.
This could also be implemented as a mode to the Detector so that it will emit a signal if there is less then a certain amount of space.
The text was updated successfully, but these errors were encountered:
The integration already has these two functions that can be used to calculate this.
getItems():table | Gets a list of all items in this network.
getStorages():table | Gets a list of all connected storage disks and blocks in this network.
Comparator support like requested in #972 makes more sense than adding more functionality to the detector.
These functions would return the total amount of storage available in the network and the total used storage in the network, it might also be helpful to have an optional argument that will limit them to a certain type of storage (drive/external), that could be useful as with some external inventories (such as the drawer controller), the available storage doesn't get read correctly.
It could be very useful for things like quarries made with frames such as the ones from funky locomotion so that it would stop once there isn't any more space in the system to prevent it from breaking.
This could also be implemented as a mode to the Detector so that it will emit a signal if there is less then a certain amount of space.
The text was updated successfully, but these errors were encountered: