Advertisement
Guest User

tanks.lua

a guest
Oct 18th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.17 KB | None | 0 0
  1. x = peripheral.wrap("back")
  2.  
  3. t1 = x.getTanks()[1].amount
  4. t2 = x.getTanks()[2].amount
  5. t3 = x.getTanks()[3].amount
  6.  
  7. print("Gas",t1)
  8. print("water",t2)
  9. print("risdue", t3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement