Guest User

3x3

a guest
Mar 18th, 2017
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.86 KB | None | 0 0
  1. function tunnle33()
  2. if turtle.detect() then
  3.     turtle.dig()
  4.     turtle.forward()
  5. else
  6.     turtle.forward()
  7.     end
  8. turtle.placeDown()
  9. turtle.turnLeft()
  10. turtle.dig()
  11. turtle.turnRight()
  12. turtle.turnRight()
  13. turtle.dig()
  14. turtle.digUp()
  15. turtle.up()
  16. turtle.dig()
  17. turtle.turnLeft()
  18. turtle.turnLeft()
  19. turtle.dig()
  20. turtle.digUp()
  21. turtle.up()
  22. turtle.dig()
  23. turtle.turnRight()
  24. turtle.turnRight()
  25. turtle.dig()
  26. turtle.turnLeft()
  27. turtle.dig()
  28. turtle.forward()
  29. turtle.turnLeft()
  30. turtle.dig()
  31. turtle.turnRight()
  32. turtle.turnRight()
  33. turtle.dig()
  34. turtle.digDown()
  35. turtle.down()
  36. turtle.dig()
  37. turtle.turnLeft()
  38. turtle.turnLeft()
  39. turtle.dig()
  40. turtle.digDown()
  41. turtle.down()
  42. turtle.placeDown()
  43. turtle.dig()
  44. turtle.turnRight()
  45. turtle.turnRight()
  46. turtle.dig()
  47. turtle.turnLeft()
  48. end
  49.  
  50. print("Langd")
  51. n = tonumber(read())
  52. for i=1,n do
  53.     tunnle33()
  54. end
Advertisement
Add Comment
Please, Sign In to add comment