Advertisement
jaklsfjlsak

test assembly status

Jul 22nd, 2023 (edited)
1,284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. local shield = peripheral.find("warpdriveForceFieldProjector")
  2.  
  3. while true do
  4.     local current, capacity, outputRate, inputRate, consumptionRate = shield.getEnergyStatus()
  5.     print("Assembly Status:", consumptionRate)
  6.  
  7.     os.sleep(0.8)
  8. end
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement