Advertisement
jBlume

CUT unfinished

May 27th, 2013
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.65 KB | None | 0 0
  1. while true do
  2. if turtle.getItemCount(1) < 2 then
  3. turtle.back()
  4. turtle.back()
  5. turtle.back()
  6. turtle.turnLeft()
  7. turtle.turnLeft()
  8. turtle.suck()
  9. turtle.turnRight()
  10. turtle.turnRight()
  11. turtle.forward()
  12. turtle.forward()
  13. turtle.forward()
  14. end
  15.  
  16. if turtle.getItemCount(2) < 2 then
  17. turtle.back()
  18. turtle.back()
  19. turtle.back()
  20. turtle.turnLeft()
  21. turtle.suck()
  22. turtle.turnRight()
  23. end
  24.  
  25. while turtle.detect() do
  26. turtle.dig()
  27. turtle.digUp()
  28. turtle.up()
  29. end
  30.  
  31. while not turtle.detectDown() do
  32. turtle.down()
  33. end
  34.  
  35. turtle.select(1)
  36. turtle.turnLeft()
  37.  
  38. for i = 4,8 do
  39. turtle.select(i)
  40. turtle.drop()
  41. end
  42.  
  43. turtle.select(1)
  44. turtle.turnRight()
  45.  
  46. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement