Advertisement
Guest User

flint

a guest
Apr 7th, 2014
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. local gravel = turtle.getItemCount(1) == 0
  2.  
  3. function gravelPlace()
  4. turtle.select(1)
  5. turtle.place()
  6. end
  7.  
  8. function gravelDig()
  9. turtle.dig()
  10. end
  11.  
  12. function flint()
  13. gravelPlace()
  14. gravelDig()
  15. end
  16.  
  17. repeat
  18. do flint() end
  19. until gravel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement