Scoutdrago3

mine

Jun 18th, 2015
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.68 KB | None | 0 0
  1. blocks = 0
  2. args = {...}
  3.  
  4. while blocks < tonumber(args[2]) do
  5.     turtle.digDown()
  6.     turtle.down()
  7.     blocks = blocks + 1
  8. end
  9.  
  10. blocks = 0
  11. turtle.select(9)
  12.  
  13. while blocks < tonumber(args[1]) do
  14.     turtle.dig()
  15.     turtle.digUp()
  16.     turtle.digDown()
  17.     turtle.forward()
  18.     blocks = blocks + 1
  19.     if turtle.compare() and turtle.getItemCount() > 62 then
  20.         turtle.drop()
  21.     end
  22. end
  23.  
  24. blocks = 0
  25.  
  26. turtle.turnRight()
  27. turtle.turnRight()
  28.  
  29. while blocks < tonumber(args[1]) do
  30.     turtle.dig()
  31.     turtle.forward()
  32.     blocks = blocks + 1
  33. end
  34.  
  35. blocks = 0
  36.  
  37. while blocks < tonumber(args[2]) do
  38.     turtle.digUp()
  39.     turtle.up()
  40.     blocks = blocks + 1
  41. end
Advertisement
Add Comment
Please, Sign In to add comment