update
This commit is contained in:
parent
8f396e5027
commit
97f8d86aa1
@ -562,6 +562,7 @@ function goToJob2(job)
|
|||||||
x, z = 0, 0
|
x, z = 0, 0
|
||||||
moveSafe(turtle.down, turtle.inspectDown, noop)
|
moveSafe(turtle.down, turtle.inspectDown, noop)
|
||||||
moveSafe(turtle.down, turtle.inspectDown, noop)
|
moveSafe(turtle.down, turtle.inspectDown, noop)
|
||||||
|
moveSafe(turtle.down, turtle.inspectDown, noop)
|
||||||
-- go to job
|
-- go to job
|
||||||
function extraaction()
|
function extraaction()
|
||||||
digSafe(turtle.inspectUp, turtle.digUp())
|
digSafe(turtle.inspectUp, turtle.digUp())
|
||||||
|
@ -23,7 +23,7 @@ while true do
|
|||||||
else
|
else
|
||||||
--print("> raw: "..message)
|
--print("> raw: "..message)
|
||||||
if message == "gibjob" then
|
if message == "gibjob" then
|
||||||
if rs.getInput("right") then
|
if rs.getInput("top") then
|
||||||
job = getNextJob()
|
job = getNextJob()
|
||||||
rednet.broadcast(tostring(job), "newjob")
|
rednet.broadcast(tostring(job), "newjob")
|
||||||
print("Found job request. Offering "..tostring(job))
|
print("Found job request. Offering "..tostring(job))
|
||||||
|
Loading…
Reference in New Issue
Block a user