Advertisement
superjaja05

Untitled

Sep 17th, 2021
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. while true do
  2. right = false
  3. repeat
  4. if turtle.getFuelLevel() < turtle.getFuelLimit()/32 then
  5. rs.setOutput("back", true)
  6. else
  7. rs.setOutput("back", false)
  8. end
  9. local right = rs.getInput("right")
  10. os.sleep(0.1)
  11. until right
  12.  
  13. i = 0
  14.  
  15. repeat
  16. turtle.dig()
  17. turtle.forward()
  18. turtle.suckDown()
  19. i = i+1
  20. until i == 14
  21.  
  22. turtle.turnRight()
  23. turtle.turnRight()
  24.  
  25. i = 0
  26.  
  27. repeat
  28. turtle.dig()
  29. turtle.forward()
  30. turtle.suckDown()
  31. i = i+1
  32. until i == 14
  33.  
  34. turtle.turnRight()
  35. turtle.turnRight()
  36.  
  37. slot1 = 1
  38. repeat
  39. turtle.select(slot1)
  40. turtle.dropDown()
  41. slot1 = slot1+1
  42. until slot1 == 17
  43. turtle.select(1)
  44. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement