Update client

This commit is contained in:
Dominic Zimmer 2020-07-07 16:57:46 +02:00
parent 7e77588436
commit dec935be2d

View File

@ -193,11 +193,13 @@ function digShaft()
digDeep(turtle.down, noop, noop, depth)
turtle.turnLeft()
digDeep(turtle.up, noop, noop, depth)
turtle.turnLeft()
selectCobble()
turtle.up()
turtle.placeDown()
--turtle.digUp()
--turtle.up()
--faceDir(0)
end
function digTo(x, z)
@ -558,7 +560,7 @@ end
function goToJob2(job)
jobX, jobZ = iTo2Dcoords(job) -- this does all the magic
updateState({ state = "Going on the job...", morestate = " Jobsite is at ("..tostring(jobX)..", "..tostring(jobZ)..")" })
updateState({ state = "Going on the job...", morestate = "Jobsite is at ("..tostring(jobX)..", "..tostring(jobZ)..")" })
-- move to hole
moveSafe(turtle.forward, turtle.inspect, noop)
moveSafe(turtle.forward, turtle.inspect, noop)