_fiddlediddle

farm1.lua

Mar 30th, 2020
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. function harvest()
  2. turtle.placeDown()
  3. turtle.forward(1)
  4. end
  5.  
  6. function plotLeft()
  7. harvest()
  8. harvest()
  9. turtle.turnLeft()
  10. harvest()
  11. turtle.turnLeft()
  12. harvest()
  13. harvest()
  14. turtle.turnRight()
  15. harvest()
  16. turtle.turnRight()
  17. harvest()
  18. harvest()
  19. turtle.turnLeft()
  20. harvest()
  21. end
  22.  
  23. function plotRight()
  24. harvest()
  25. harvest()
  26. turtle.turnRight()
  27. harvest()
  28. turtle.turnRight()
  29. harvest()
  30. harvest()
  31. turtle.turnLeft()
  32. harvest()
  33. turtle.turnLeft()
  34. harvest()
  35. harvest()
  36. turtle.turnRight()
  37. harvest()
  38. end
  39.  
  40. function twoPlot()
  41. plotLeft()
  42. turtle.forward()
  43. turtle.turnLeft()
  44.  
  45. plotRight()
  46. turtle.forward()
  47. turtle.turnRight()
  48. end
  49.  
  50. function main()
  51. for i=1,6 do
  52. twoPlot()
  53. end
  54. end
  55.  
  56. function refuel()
  57. turtle.forward()
  58. turtle.turnRight()
  59. turtle.up()
  60. for i=1,50 do
  61. turtle.forward()
  62. end
  63. turtle.down()
  64. turtle.down()
  65. print "Waiting for sus..."
  66. end
  67.  
  68. main()
  69. refuel()
Add Comment
Please, Sign In to add comment