tuekats

compost

Jul 17th, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. while true do
  2.     local count = 0
  3.     for i=1,9 do
  4.         count = count + turtle.getItemCount(i)
  5.     end
  6.     print(count)
  7.     if count==576 then
  8.         print("action")
  9.         redstone.setOutput("front",true)
  10.         for j=1,9 do
  11.             turtle.select(j)
  12.             turtle.drop(63)
  13.         end
  14.         sleep(10)
  15.         redstone.setOutput("front",false)
  16.     end
  17.  
  18.     sleep(10)
  19. end
Advertisement
Add Comment
Please, Sign In to add comment