Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat
- if redstone.getInput("top")then
- turtle.dig()
- turtle.suck()
- -- check slot 2 of turtle
- -- if an item is in it then
- -- overflow has occurred
- -- trigger the turtle to take
- -- a dump er leave one.
- if turtle.getItemCount(2)>0 then
- while true do
- for slot=1,16 do
- turtle.select(slot)
- turtle.dropDown()
- end
- end
- end
- else
- break
- end
- until x == 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement