Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- if not turtle.detect() then
- goto continue
- end
- hasSpace = false
- for slot=1,16 do
- if turtle.getItemCount(slot) == 0 then
- hasSpace = true
- break
- end
- end
- if hasSpace then
- turtle.dig()
- sleep(0.1)
- turtle.suck()
- end
- ::continue::
- sleep(0.1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement