NoTroop

Untitled

Aug 3rd, 2015
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. if turtle.getFuelLevel() < 80 then
  2. turtle.select(16)
  3. turtle.refuel(2)
  4. end
  5.  
  6. local function cutLinesAhead()
  7. turtle.select(15)
  8. for i=1,6 do
  9. turtle.digDown()
  10. turtle.placeDown()
  11. turtle.forward()
  12. end
  13. turtle.digDown()
  14. turtle.placeDown()
  15. end
  16.  
  17. local function cutVillageFarm()
  18. cutLinesAhead()
  19. turtle.turnLeft()
  20. turtle.forward()
  21. turtle.turnLeft()
  22. cutLinesAhead()
  23. turtle.turnRight()
  24. turtle.forward()
  25. turtle.forward()
  26. turtle.turnRight()
  27. cutLinesAhead()
  28. turtle.turnLeft()
  29. turtle.forward()
  30. turtle.turnLeft()
  31. cutLinesAhead()
  32. turtle.forward()
  33. end
  34.  
  35. turtle.forward()
  36. cutVillageFarm()
  37. turtle.turnLeft()
  38. turtle.forward()
  39. turtle.forward()
  40. turtle.forward()
  41. turtle.forward()
  42. turtle.turnLeft()
  43. for i=1,14 do
  44. turtle.select(i)
  45. turtle.dropDown()
  46. end
Advertisement
Add Comment
Please, Sign In to add comment