MGbeenieboy

Holzfaeller

Jun 13th, 2014
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.29 KB | None | 0 0
  1. turtle.forward()
  2. turtle.forward()
  3. turtle.forward()
  4.  
  5. local function baumFaellt()
  6.   turtle.dig()
  7.   turtle.forward()
  8.   while turtle.detectUp() do
  9.     turtle.digUp()
  10.     turtle.up()
  11.   end
  12.   while not turtle.detectDown() do
  13.     turtle.down()
  14.   end
  15. end
  16.  
  17. turtle.turnLeft()
  18. baumFaellt()
  19.  
  20. for i=1,9 do
  21.  
  22.   turtle.back()
  23.   turtle.place(13)
  24.   turtle.turnRight()
  25.   turtle.turnRight()
  26.   baumFaellt()
  27.  
  28.   turtle.back()
  29.   turtle.place(14)
  30.   turtle.turnLeft()
  31.   turtle.forward()
  32.   turtle.forward()
  33.   turtle.turnLeft()
  34.   baumFaellt()
  35.  
  36. end
  37.  
  38. turtle.back()
  39. turtle,place(13)
  40. turtle.turnRight()
  41. turtle.turnRight()
  42. baumFaellt()
  43.  
  44. --
  45.  
  46. turtle.turnRight()
  47. turtle.turnRight()
  48. turtle.back()
  49. turtle.place(14)
  50. turtle.turnRight()
  51. turtle.turnRight()
  52. baumFaellt()
  53. turtle.forward()
  54. turtle.turnRight()
  55. turtle.turnRight()
  56. turtle.place(15)
  57.  
  58. --
  59.  
  60. for i=1,9 do
  61.  
  62.   turtle.turnRight()
  63.   turtle.turnRight()
  64.   baumFaellt()
  65.   turtle.back()
  66.   turtle.place(16)
  67.   turtle.turnRight
  68.   turtle.forward()
  69.   turtle.forward()
  70.   turtle.turnRight()
  71.   baumFaellt()
  72.   turtle.back()
  73.   turtle.place(15)
  74.  
  75. end
  76.  
  77. turtle.turnRight()
  78. turtle,turnRight()
  79. baumFaellt()
  80. turtle.back()
  81. turtle.place(16)
  82. turtle.turnRight()
  83. turtle.forward()
  84. turtle.forward()
  85. turtle.forward()
  86. turtle.turnRight()
  87. turtle.forward()
  88. turtle.forward()
  89. turtle.forward()
  90. turtle.forward()
  91. turtle.forward()
  92. turtle.turnRight()
Advertisement
Add Comment
Please, Sign In to add comment