Advertisement
Guest User

clearout

a guest
Oct 28th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.59 KB | None | 0 0
  1. function clearrowf()
  2.  for a=1,8 do
  3.   turtle.dig()
  4.   turtle.forward()
  5.  end
  6.  turtle.turnRight()
  7.  turtle.forward()
  8.  turtle.turnRight()
  9. end
  10. function clearrowb()
  11.  for b=1,8 do
  12.   turtle.dig()
  13.   turtle.forward()
  14.  end
  15.  turtle.turnLeft()
  16.  turtle.forward()
  17.  turtle.turnLeft()
  18. end
  19. function clearfloor()
  20.  for c = 1,4 do
  21.   clearrowf()
  22.   clearrowb()
  23.  end
  24. end
  25. function onedown()
  26.  turtle.turnLeft()
  27.  for e =1,8 do
  28.   turtle.forward()
  29.  end
  30.  turtle.turnRight()
  31.  turtle.digDown(down)
  32.  turtle.down()
  33. end
  34. function cleardown()
  35. for d = 1,18 do
  36.  clearfloor()
  37.  onedown()
  38.  end
  39. end
  40.  
  41. cleardown()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement