Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local bridge = peripheral.find("meBridge")
- local mon = peripheral.find("monitor")
- -- Get total system storage
- available_storage = bridge.getAvailableItemStorage()
- total_storage = bridge.getTotalItemStorage()
- percent_storage_available = available_storage / total_storage
- ae_use_per_tic = bridge.getEnergyUsage()
- term.redirect(mon)
- print("A total of ", tostring(total_storage), " items can be stored currently.")
- print("Available storage is ", tostring(available_storage), " items.")
- print(tostring(percent_storage_available), "%", " storage in use.")
Advertisement
Add Comment
Please, Sign In to add comment