Guest User

appleMine

a guest
Dec 13th, 2013
464
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.14 KB | None | 0 0
  1. function emptyInventory()
  2.   for i = 2, 16 do
  3.     turtle.select(i)
  4.     turtle.dropDown(64)
  5.   end
  6. end
  7.  
  8. function appleMine()
  9.   while true do
  10.     for i = 1,60 do
  11.       turtle.select(1)
  12.       turtle.digDown()
  13.       turtle.down()
  14.       turtle.digDown()
  15.       turtle.down()
  16.       turtle.turnRight()
  17.       turtle.dig()
  18.       turtle.turnLeft()
  19.       turtle.turnLeft()
  20.       turtle.dig()
  21.       turtle.turnRight()
  22.       turtle.dig()
  23.       turtle.forward()
  24.       turtle.turnRight()
  25.       turtle.dig()
  26.       turtle.turnLeft()
  27.       turtle.turnLeft()
  28.       turtle.dig()
  29.       turtle.turnRight()
  30.       turtle.dig()
  31.       turtle.forward()
  32.       turtle.turnRight()
  33.       turtle.dig()
  34.       turtle.turnLeft()
  35.       turtle.turnLeft()
  36.       turtle.dig()
  37.       turtle.turnRight()
  38.       turtle.dig()
  39.       turtle.forward()
  40.       turtle.turnRight()
  41.       turtle.dig()
  42.       turtle.turnLeft()
  43.       turtle.turnLeft()
  44.       turtle.forward()
  45.       turtle.dig()
  46.       turtle.turnRight()
  47.       turtle.back()
  48.       turtle.back()
  49.       turtle.up()
  50.       turtle.placeDown()
  51.       emptyInventory()
  52.     end
  53.   end
  54. end
  55. turtle.select(1)
  56. appleMine()
Advertisement
Add Comment
Please, Sign In to add comment