daily pastebin goal
44%
SHARE
TWEET

SmelteryAutomated

skipper_is Jan 5th, 2018 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local tank = peripheral.wrap("left")
  2. local tankTable = tank.getTankInfo()[1]
  3. local contentsTable = tankTable["contents"]
  4. local quantity = contentsTable["amount"]
  5. while true do
  6.  
  7.   if quantity > 1296 then
  8.     print(quantity)
  9.     redstone.setOutput("front",true)
  10.     sleep(5)
  11.     redstone.setOutput("front",false)
  12.     print(quantity)
  13.     sleep(5)
  14.   end
  15.  
  16. end
RAW Paste Data
Top