Advertisement
billysback

example

Jul 17th, 2013
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. function fuelcheck()
  2.  
  3. if turtle.getItemCount(3) <1 then
  4. turtle.select(3)
  5. turtle.down()
  6. turtle.turnLeft()
  7. turtle.turnLeft()
  8. turtle.suck()
  9. end
  10. repeat
  11. turtle.drop(1)
  12. until
  13. turtle.getItemCount() == 5
  14. end
  15.  
  16. turtle.turnRight()
  17. turtle.turnRight()
  18. turtle.up()
  19. print("Got the fuel")
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement