Update canemine

This commit is contained in:
Dominic Zimmer 2020-07-04 14:20:29 +02:00
parent d2c7126146
commit 8ca3c7fce4

View File

@ -110,6 +110,10 @@ function selectCobble()
end
function digShaft()
turtle.digDown()
turtle.down()
selectCobble()
turtle.placeUp()
print("Starting to dig shaft")
depth = digDeep(turtle.down, turtle.digDown, turtle.inspectDown, -1)
print("Dug the first shaft (depth = "..tostring(depth)..")")
@ -120,9 +124,10 @@ function digShaft()
turtle.turnLeft()
digDeep(turtle.up, noop, noop, depth)
turtle.turnLeft()
turtle.up()
turtle.up()
selectCobble()
turtle.placeDown()
turtle.up()
end
spotNum = tonumber(args[1])