This commit is contained in:
Dominic Zimmer 2020-07-07 14:23:13 +02:00
parent 8f396e5027
commit 97f8d86aa1
2 changed files with 2 additions and 1 deletions

View File

@ -562,6 +562,7 @@ function goToJob2(job)
x, z = 0, 0
moveSafe(turtle.down, turtle.inspectDown, noop)
moveSafe(turtle.down, turtle.inspectDown, noop)
moveSafe(turtle.down, turtle.inspectDown, noop)
-- go to job
function extraaction()
digSafe(turtle.inspectUp, turtle.digUp())

View File

@ -23,7 +23,7 @@ while true do
else
--print("> raw: "..message)
if message == "gibjob" then
if rs.getInput("right") then
if rs.getInput("top") then
job = getNextJob()
rednet.broadcast(tostring(job), "newjob")
print("Found job request. Offering "..tostring(job))