Advertisement
NicksChannel

StairDown

Dec 20th, 2014
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. turtle.select(4)
  2. turtle.refuel(64)
  3. turtle.select(1)
  4. local torch=0
  5. local step=0
  6. while step>0 do
  7. turtle.dig()
  8. turtle.select(3)
  9. while turtle.compare() do
  10. turtle.dig()
  11. turtle.dig()
  12. end
  13. turtle.select(2)
  14. turtle.forward()
  15. turtle.turnRight()
  16. turtle.place()
  17. turtle.turnLeft()
  18. turtle.turnLeft()
  19. turtle.place()
  20. turtle.turnRight()
  21. turtle.digUp()
  22. turtle.digUp()
  23. turtle.select(3)
  24. while turtle.compareUp() do
  25. turtle.digUp()
  26. turtle.digUp()
  27. end
  28. turtle.select(2)
  29. turtle.up()
  30. turtle.placeUp()
  31. turtle.turnRight()
  32. turtle.place()
  33. turtle.turnLeft()
  34. turtle.turnLeft()
  35. turtle.place()
  36. turtle.turnRight()
  37. turtle.down()
  38. turtle.digDown()
  39. turtle.down()
  40. turtle.digDown()
  41. turtle.turnRight()
  42. turtle.place()
  43. turtle.turnLeft()
  44. turtle.turnLeft()
  45. turtle.place()
  46. turtle.turnLeft()
  47. turtle.select(4)
  48. turtle.place()
  49. turtle.turnRight()
  50. turtle.turnRight()
  51. turtle.select(1)
  52. torch = torch + 1
  53. if torch > 7 then
  54. turtle.turnRight()
  55. turtle.turnRight()
  56. turtle.up()
  57. turtle.place()
  58. turtle.down()
  59. turtle.turnLeft()
  60. turtle.turnLeft()
  61. torch = 0
  62. end
  63. step=step - 1
  64. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement