Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Part of the mining system. Waits for something (up to you) to remove all items from a mining trip.
- lastslot = 1 --The last slot that contains an item
- --Change the 15 to whatever slot you want to be the last one you want it to check.
- for i = 1,15 do
- if turtle.getItemCount(i) > 0 then
- lastslot = i
- end
- end
- repeat
- sleep(0.5)
- until turtle.getItemCount(lastslot) == 0
Advertisement
Add Comment
Please, Sign In to add comment