Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- yMax=80
- function goDown()
- b=''
- while b~='Unbreakable block detected' do
- turtle.down()
- a,b=turtle.digDown()
- end
- end
- function goUp()
- for i=1,yMax do
- turtle.digUp()
- turtle.up()
- end
- end
- function loadOut()
- if turtle.getItemCount()>0 then
- turtle.digUp()
- turtle.placeUp()
- for n=2,16 do
- turtle.select(n)
- turtle.dropUp()
- end
- turtle.select(1)
- end
- end
- while true do
- goDown()
- turtle.dig()
- turtle.forward()
- goUp()
- loadOut()
- turtle.dig()
- turtle.forward()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement