Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- waitTime = 404
- function checkForItems()
- if turtle.getItemCount() < 10 then
- if turtle.getSelectedSlot() == 16 then
- print("Not enough items")
- os.exit()
- end
- turtle.select(turtle.getSelectedSlot() + 1)
- checkForItems()
- end
- end
- turtle.select(1)
- while true do
- checkForItems()
- turtle.dropDown(10)
- for i = 1, waitTime do
- term.clear()
- term.setCursorPos(1,1)
- print("Running...")
- term.setCursorPos(1,2)
- print("Dropping more in " .. waitTime - i .. " seconds.")
- sleep(1)
- end
- end
Add Comment
Please, Sign In to add comment