Update canemine
This commit is contained in:
parent
d2c7126146
commit
8ca3c7fce4
@ -110,6 +110,10 @@ function selectCobble()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function digShaft()
|
function digShaft()
|
||||||
|
turtle.digDown()
|
||||||
|
turtle.down()
|
||||||
|
selectCobble()
|
||||||
|
turtle.placeUp()
|
||||||
print("Starting to dig shaft")
|
print("Starting to dig shaft")
|
||||||
depth = digDeep(turtle.down, turtle.digDown, turtle.inspectDown, -1)
|
depth = digDeep(turtle.down, turtle.digDown, turtle.inspectDown, -1)
|
||||||
print("Dug the first shaft (depth = "..tostring(depth)..")")
|
print("Dug the first shaft (depth = "..tostring(depth)..")")
|
||||||
@ -120,9 +124,10 @@ function digShaft()
|
|||||||
turtle.turnLeft()
|
turtle.turnLeft()
|
||||||
digDeep(turtle.up, noop, noop, depth)
|
digDeep(turtle.up, noop, noop, depth)
|
||||||
turtle.turnLeft()
|
turtle.turnLeft()
|
||||||
|
turtle.up()
|
||||||
|
turtle.up()
|
||||||
selectCobble()
|
selectCobble()
|
||||||
turtle.placeDown()
|
turtle.placeDown()
|
||||||
turtle.up()
|
|
||||||
end
|
end
|
||||||
|
|
||||||
spotNum = tonumber(args[1])
|
spotNum = tonumber(args[1])
|
||||||
|
Loading…
Reference in New Issue
Block a user