Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Water Mill Hole Digger V1.0.0
- --]]
- local depth = 0
- term.clear()
- term.setCursorPos(1,1)
- function dig()
- while turtle.down() do
- turtle.digDown()
- depth = depth + 1
- end
- while depth ~= 0 do
- turtle.up()
- depth = depth - 1
- end
- end
- function threeline()
- dig()
- turtle.forward()
- dig()
- turtle.forward()
- dig()
- end
- function fiveline()
- dig()
- turtle.forward()
- dig()
- turtle.forward()
- dig()
- turtle.forward()
- dig()
- turtle.forward()
- dig()
- end
- threeline()
- turtle.turnRight()
- turtle.forward
- turtle.turnRight()
- turtle.back()
- fiveline()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- fiveline()
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- fiveline()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- threelane()
- print("Finished")
Advertisement
Add Comment
Please, Sign In to add comment