Advertisement
Timcard30

[CC] Nether Quartz turtle

Sep 1st, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. function input()
  2.  if turtle.getItemCount(1) == 1 then
  3.   turtle.select(1)
  4.   sleep(0.3)
  5.   turtle.suckUp()
  6.  end
  7. end
  8.  
  9. function place()
  10.  turtle.select(1)
  11.  turtle.place()
  12. end
  13.  
  14. function mine()
  15.  turtle.dig()
  16. end
  17.  
  18. function output()
  19.  turtle.select(2)
  20.  sleep(0.3)
  21.  turtle.dropDown()
  22. end
  23.  
  24. while true do
  25.  input()
  26.  sleep(1)
  27.  place()
  28.  sleep(1)
  29.  mine()
  30.  sleep(3)
  31.  output()
  32. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement