Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function depositItems()
- print("Depositing items...")
- for slot = 1, 16 do
- turtle.select(slot) -- Select slot
- if turtle.getItemCount(slot) > 0 then
- turtle.drop() -- Drop into chest (must be in front)
- end
- end
- print("Deposit complete!")
- turtle.select(1) -- Reset selection
- end
- depositItems
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement