Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function checkInv()
- if turtle.getItemCount(10)>0 then
- turtle.turnLeft(2)
- turtle.select(12)
- turtle.place()
- for i = 1,11 i++
- turtle.drop()
- end
- turtle.turnRight(2)
- end
- end
- function mine(blocks)
- for i = 1,blocks i++ do
- turtle.dig()
- turtle.forward()
- end
- checkInv()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement