Guest User

Mine

a guest
Dec 11th, 2012
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.62 KB | None | 0 0
  1. for i=1,5 do
  2.  
  3.  for i=1,10 do
  4.  
  5.   if not turtle.detectDown()
  6.    then turtle.select(2)
  7.     turtle.placeDown()
  8.   end
  9.  
  10.   if not turtle.forward() then
  11.    repeat
  12.     turtle.dig()
  13.     sleep(0.2)
  14.    until turtle.forward()
  15.   end
  16.  
  17.  end
  18.  
  19.  turtle.select(1)
  20.  turtle.turnLeft()
  21.  turtle.turnLeft()
  22.  turtle.place()
  23.  turtle.turnRight()
  24.  turtle.turnRight()
  25.  
  26. end
  27.  
  28. turtle.digUp()
  29. turtle.up()
  30. turtle.turnRight()
  31. turtle.turnRight()
  32.  
  33. for i=1,50 do
  34.  
  35.  if not turtle.forward() then
  36.   repeat
  37.    turtle.dig()
  38.    sleep(0.2)
  39.   until turtle.forward()
  40.  end
  41.  
  42. end
  43.  
  44. turtle.down()
  45. turtle.turnRight()
  46. turtle.turnRight()
Advertisement
Add Comment
Please, Sign In to add comment