This commit is contained in:
Dominic Zimmer 2020-07-04 15:56:39 +02:00
parent f44f4163a8
commit ccd433d454

View File

@ -195,6 +195,9 @@ function goToBarrel()
end
function emptyToBarrel()
for i = 1,16 do
turtle.dropDown()
end
end
spotNum = tonumber(args[1])
@ -202,9 +205,7 @@ if spotNum then
x, z = ithSpot(spotNum)
digTo(x,z)
digShaft()
--goToSpawn(x, z)
--goToBarrel()
--emptyToBarrel()
goToSpawn(x, z)
goToBarrel()
emptyToBarrel()
end
--moveSafe(turtle.forward, turtle.inspect, turtle.dig)
--moveSafe(turtle.forward, turtle.inspect, turtle.dig)