Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- checkFuel()
- turtle.dig()
- sleep(0.25)
- turtle.forward()
- turtle.dig()
- local height = 0
- if turtle.detectUp() == true then
- repeat
- turtle.dig()
- turtle.digUp()
- turtle.up()
- height = height + 1
- until turtle.detectUp() == false
- end
- checkFuel()
- turtle.turnRight()
- if turtle.detect() == true then
- turtle.dig()
- end
- turtle.forward()
- turtle.turnLeft()
- if turtle.detectDown() == true then
- repeat
- turtle.dig()
- turtle.digDown()
- turtle.down()
- height = height - 1
- until height == 0
- end
- turtle.dig()
- checkFuel()
- turtle.turnLeft()
- turtle.turnLeft()
- local dist = 0
- if turtle.detect() == false then
- repeat
- turtle.forward()
- dist = dist + 1
- until turtle.detect() == true
- end
- turtle.drop()
- turtle.select(2)
- turtle.drop()
- turtle.select(3)
- turtle.drop()
- turtle.select(4)
- turtle.drop()
- turtle.select(5)
- turtle.drop()
- turtle.select(6)
- turtle.drop()
- turtle.select(7)
- turtle.drop()
- turtle.select(1)
- turtle.turnLeft()
- turtle.turnLeft()
- if d > 0 then
- turtle.forward()
- end
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
Advertisement
Add Comment
Please, Sign In to add comment