Advertisement
Dr_Turtle

Untitled

Jun 7th, 2021
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. function checkInv()
  2. if turtle.getItemCount(10)>0 then
  3. turtle.turnLeft(2)
  4. turtle.select(12)
  5. turtle.place()
  6. for i = 1,11 i++
  7. turtle.drop()
  8. end
  9. turtle.turnRight(2)
  10. end
  11. end
  12.  
  13. function mine(blocks)
  14. for i = 1,blocks i++ do
  15. turtle.dig()
  16. turtle.forward()
  17. end
  18. checkInv()
  19. end
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement