Advertisement
FapMan998

Untitled

Oct 28th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. function ppf()
  2. i=1
  3. while true do
  4. if turtle.getItemCount(i) ~=0 then
  5. turtle.select(i)
  6. turtle.place()
  7. break
  8. else
  9. i=i+1
  10. turtle.select(i)
  11. turtle.place()
  12. end
  13. if turtle.detect() then break
  14. end
  15. end
  16. end
  17.  
  18. function ppup()
  19. c=1
  20. while true do
  21. if turtle.getItemCount(c) ~=0 then
  22. turtle.select(c)
  23. turtle.placeUp()
  24. break
  25. else
  26. c=c+1
  27. turtle.select(c)
  28. turtle.placeUp()
  29. end
  30. if turtle.detectUp() then break
  31. end
  32. end
  33. end
  34.  
  35. function ppdw()
  36. d=1
  37. while true do
  38. if turtle.getItemCount(d) ~=0 then
  39. turtle.select(d)
  40. turtle.placeDown()
  41. break
  42. else
  43. d=d+1
  44. turtle.select(d)
  45. turtle.placeDown()
  46. end
  47. if turtle.detectDown() then break
  48. end
  49. end
  50. end
  51.  
  52.  
  53. turtle.forward()
  54. turtle.turnRight()
  55.  
  56. ppup()
  57. ppdw()
  58. turtle.forward()
  59. turtle.turnRight()
  60. turtle.turnRight()
  61. ppf()
  62. turtle.turnRight()
  63. turtle.turnRight()
  64.  
  65. ppup()
  66. ppdw()
  67. turtle.forward()
  68. turtle.turnRight()
  69. turtle.turnRight()
  70. ppf()
  71. turtle.turnRight()
  72. turtle.turnRight()
  73.  
  74. ppup()
  75. ppdw()
  76. turtle.forward()
  77. turtle.turnRight()
  78. turtle.turnRight()
  79. ppf()
  80. turtle.turnRight()
  81. turtle.turnRight()
  82.  
  83. turtle.turnLeft()
  84.  
  85. ppup()
  86. ppdw()
  87. turtle.forward()
  88. turtle.turnRight()
  89. turtle.turnRight()
  90. ppf()
  91. turtle.turnRight()
  92. turtle.turnRight()
  93.  
  94. ppup()
  95. ppdw()
  96. turtle.forward()
  97. turtle.turnRight()
  98. turtle.turnRight()
  99. ppf()
  100. turtle.turnRight()
  101. turtle.turnRight()
  102.  
  103. ppup()
  104. ppdw()
  105. turtle.forward()
  106. turtle.turnRight()
  107. turtle.turnRight()
  108. ppf()
  109. turtle.turnRight()
  110. turtle.turnRight()
  111.  
  112. turtle.turnRight()
  113.  
  114. ppup()
  115. ppdw()
  116. turtle.forward()
  117. turtle.turnRight()
  118. turtle.turnRight()
  119. ppf()
  120. turtle.turnRight()
  121. turtle.turnRight()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement