View difference between Paste ID: KSnR9g0J and 8DjywkKz
SHOW: | | - or go back to the newest paste.
1
function progress()
2
    solid, block = turtle.inspect()
3
    if solid then
4
        turtle.turnLeft()
5
    else
6
        turtle.forward()
7
    end
8
end
9
10
function conditionalBreak()
11
    solid, block = turtle.inspectDown()
12
    if block.name == "ae2:quartz_cluster" then
13
        turtle.digDown()
14
    end
15
end
16
17
turtle.refuel()
18
19
while true do
20
    progress()
21
    conditionalBreak()
22
    sleep(2)
23
end