Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i=1,12 do
- turtle.select(i)
- if turtle.getItemCount() >= 1
- then rs.setOutput("bottom", true)
- turtle.drop()
- else rs.setOutput("bottom", false)
- end
- end
- sleep(10)
- turtle.suck()
- rs.setOutput("bottom", false)
- if turtle.compareTo(16)
- then turtle.dropUp()
- elseif turtle.compareTo(15)
- then turtle.dropUp()
- elseif turtle.compareTo(14)
- then turtle.dropUp()
- elseif turtle.compareTo(13)
- then turtle.dropUp()
- end
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement