Syntax
This commit is contained in:
parent
00f45a8a6a
commit
c2a8dfedaf
@ -87,7 +87,7 @@ function digSafe(inspectAction, digAction)
|
|||||||
else
|
else
|
||||||
digAction()
|
digAction()
|
||||||
-- gravel may take time to fall.
|
-- gravel may take time to fall.
|
||||||
sleep(2)
|
sleep(1)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
-- No block in front of me. good
|
-- No block in front of me. good
|
||||||
@ -548,9 +548,6 @@ function goToCoordXZ(targetX, targetZ, extraaction)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function digSafe(inspectAction, digAction)
|
|
||||||
end
|
|
||||||
|
|
||||||
function goToJob(job)
|
function goToJob(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)..")" })
|
||||||
|
Loading…
Reference in New Issue
Block a user