Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function CleanupInventory()
- for i=1,16 do
- if turtle.getItemDetail(i, true) then
- if turtle.getItemDetail(i, true).lore ~= nil then
- turtle.select(i)
- turtle.transferTo(1)
- else
- turtle.select(i)
- turtle.dropDown()
- end
- end
- end
- end
- while true do
- turtle.select(1)
- turtle.place()
- turtle.suck(5)
- turtle.dig()
- CleanupInventory()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement