Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- for slot = 1, 16 do
- local itemDetail = turtle.getItemDetail(slot)
- if itemDetail and string.match(itemDetail.name, "seeds") then
- turtle.select(slot)
- turtle.place()
- break
- end
- end
- for slot = 1, 16 do
- local itemDetail = turtle.getItemDetail(slot)
- if itemDetail then
- if not string.match(itemDetail.name, "seeds") then
- turtle.select(slot)
- turtle.dropUp()
- end
- end
- end
- turtle.dig()
- sleep(3)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement