Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local timeUp
- function goUp()
- while turtle.detectUp() do
- turtle.digUp()
- turtle.up()
- timeUp = timeUp + 1
- end
- goDown()
- end
- function goDown()
- while timeUp ~= 0 do
- turtle.down
- timeUp = timeUp - 1
- end
- end
- function dropAll()
- for i = 1, 16 do
- turtle.select(i)
- turtle.drop()
- end
- end
- turtle.dig()
- turtle.forward()
- goUp()
- turtle.dig()
- turtle.forward()
- goUp()
- turtle.turnRight()
- turtle.dig()
- turtle.forward()
- goUp()
- turtle.turnRight()
- turtle.dig()
- turtle.forward()
- goUp()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- dropAll()
Advertisement
Add Comment
Please, Sign In to add comment