Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function wSuckAndDrop()
- turtle.suck(3)
- turtle.turnLeft()
- turtle.drop()
- turtle.turnRight()
- end
- turtle.select(1)
- while true do
- local data = turtle.getItemDetail()
- if data then
- if data.count <= 10 then
- wSuckAndDrop()
- end
- else
- wSuckAndDrop()
- end
- os.sleep(30)
- end
Advertisement
Add Comment
Please, Sign In to add comment