Update client
This commit is contained in:
parent
7e77588436
commit
dec935be2d
@ -193,11 +193,13 @@ function digShaft()
|
|||||||
digDeep(turtle.down, noop, noop, depth)
|
digDeep(turtle.down, noop, noop, depth)
|
||||||
turtle.turnLeft()
|
turtle.turnLeft()
|
||||||
digDeep(turtle.up, noop, noop, depth)
|
digDeep(turtle.up, noop, noop, depth)
|
||||||
|
turtle.turnLeft()
|
||||||
selectCobble()
|
selectCobble()
|
||||||
turtle.up()
|
turtle.up()
|
||||||
turtle.placeDown()
|
turtle.placeDown()
|
||||||
--turtle.digUp()
|
--turtle.digUp()
|
||||||
--turtle.up()
|
--turtle.up()
|
||||||
|
--faceDir(0)
|
||||||
end
|
end
|
||||||
|
|
||||||
function digTo(x, z)
|
function digTo(x, z)
|
||||||
@ -558,7 +560,7 @@ end
|
|||||||
|
|
||||||
function goToJob2(job)
|
function goToJob2(job)
|
||||||
jobX, jobZ = iTo2Dcoords(job) -- this does all the magic
|
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
|
-- move to hole
|
||||||
moveSafe(turtle.forward, turtle.inspect, noop)
|
moveSafe(turtle.forward, turtle.inspect, noop)
|
||||||
moveSafe(turtle.forward, turtle.inspect, noop)
|
moveSafe(turtle.forward, turtle.inspect, noop)
|
||||||
|
Loading…
Reference in New Issue
Block a user