Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- turtle.select(15)
- if turtle.getItemCount() < 32 then
- turtle.turnLeft()
- turtle.forward()
- turtle.drop()
- sleep(0.5)
- turtle.suck()
- turtle.back()
- turtle.turnRight()
- end
- turtle.select(16)
- if turtle.getItemCount() < 32 then
- turtle.turnRight()
- turtle.forward()
- turtle.drop()
- sleep(0.5)
- turtle.suck()
- turtle.back()
- turtle.turnLeft()
- end
- turtle.forward()
- turtle.select(15)
- turtle.place()
- turtle.select(15)
- u=true
- repeat
- turtle.select(16)
- u=turtle.place()
- until u==false
- turtle.select(1)
- turtle.dig()
- turtle.forward()
- z=true
- repeat
- turtle.digUp()
- turtle.up()
- z=turtle.compareUp()
- until z==false
- repeat
- turtle.down()
- u=turtle.detectDown()
- until u==true
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- for i = 1, 14, 1 do
- turtle.select(i)
- turtle.drop()
- end
- turtle.turnRight()
- turtle.turnRight()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement