Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Empty
- function dump()
- turtle.select(3)
- for i = 4,16 do
- turtle.select(i)
- turtle.drop()
- end
- end
- --Need to empty?
- function checkFull()
- if turtle.getItemCount(16) > 0 then
- turtle.turnRight()
- dump()
- turtle.turnLeft()
- end
- end
- while true do
- checkFull()
- turtle.select(1)
- turtle.place()
- turtle.select(2)
- while turtle.compare() == false do
- sleep(10)
- end
- while turtle.detect() == true do
- turtle.dig()
- turtle.digUp()
- turtle.up()
- end
- while turtle.detectDown() == false do
- turtle.down()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement