Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function wells()
- rs.setBundledOutput("bottom", colors.orange)
- for i = 6,1,-1 do
- sleep(1)
- print(i)
- end
- rs.setBundledOutput("bottom", 0)
- end
- function moveQuarry()
- rs.setBundledOutput("bottom", colors.magenta)
- sleep(3)
- rs.setBundledOutput("bottom", 0)
- checkMove()
- end
- function checkMove()
- turtle.turnRight()
- local chest = turtle.detect()
- turtle.turnLeft()
- if chest then
- clearBlockage()
- moveQuarry()
- end
- end
- function clearBlockage()
- rs.setBundledOutput("bottom", colors.lightBlue)
- sleep(5)
- rs.setBundledOutput("bottom", 0)
- end
- function moveTurtle()
- turtle.digDown()
- while not turtle.forward() do
- turtle.dig()
- end
- end
- turtle.placeDown()
- wells()
- sleep(2)
- moveQuarry()
- moveTurtle()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement