diff --git a/mine/client.lua b/mine/client.lua index 111b3cc..2c921c2 100644 --- a/mine/client.lua +++ b/mine/client.lua @@ -571,10 +571,16 @@ function goToJob2(job) moveSafe(turtle.down, turtle.inspectDown, turtle.digDown) moveSafe(turtle.up, turtle.inspectUp, turtle.digUp) moveSafe(turtle.up, turtle.inspectUp, turtle.digUp) - goToCoordXZ2(5, -6, noop) + goToCoordXZ2(8, -6, noop) + + moveSafe(turtle.up, turtle.inspectUp, turtle.digUp) + slot = math.ceil(math.random()*5) + slots = { {8,-6}, {8, -7}, {8, -8}, {8,-5}, {8,-4} } + storageX, storageZ = slots[slot][1], slots[slot][2] + goToCoordXZ2(storageX, storageZ, noop) moveSafe(turtle.up, turtle.inspectUp, turtle.digUp) moveSafe(turtle.up, turtle.inspectUp, turtle.digUp) - faceDir(3) + faceDir(2) moveSafe(turtle.forward, turtle.inspect, noop) moveSafe(turtle.forward, turtle.inspect, noop) end