superTreefarm

This commit is contained in:
kepler155c@gmail.com
2018-12-22 02:59:16 -05:00
parent 8aa9a63da6
commit 3123478d0b
2 changed files with 82 additions and 20 deletions

View File

@@ -594,6 +594,12 @@ Event.addRoutine(function()
z = turtle.point.z - mining.home.z,
})
if math.abs(turtle.point.x) > 500 or math.abs(turtle.point.z) > 500 then
_G.printError('WARNING: distance > 500')
print('waiting for 30 seconds to begin')
os.sleep(30)
end
if not fs.exists(PROGRESS_FILE) then
Util.writeTable(PROGRESS_FILE, mining)
end