Advertisement
Guest User

Altar

a guest
Feb 12th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. local altar=peripheral.wrap("left")
  2. local mon=peripheral.wrap("top")
  3. mon.setTextScale(2)
  4.  
  5. while true do
  6.   local tank=altar.getInfo()
  7.   local LE=tank.contents.amount or 0
  8.   mon.clear()
  9.   mon.setCursorPos(1,1)
  10.   mon.write(LE)
  11.   sleep(1)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement