diff --git a/neural/etc/apps.db b/neural/etc/apps.db index 140f5da..13ee356 100644 --- a/neural/etc/apps.db +++ b/neural/etc/apps.db @@ -20,4 +20,9 @@ \030c\031d\129\129\130\030b\031f\157\0300\031b\157\031e\136\140\030f\0316\148\ \031c\143\143\143\0310\130\0300\031f\144\031e\137\030f\0310\135\0306\031f\149", }, + [ "orescanner" ] = { + title = "Ores", + category = "Neural", + run = "ores.lua", + }, } diff --git a/neural/ores.lua b/neural/ores.lua index 7ccee3c..08a1dba 100644 --- a/neural/ores.lua +++ b/neural/ores.lua @@ -79,14 +79,16 @@ local function run() if math.abs(pos.x - offset.x) + math.abs(pos.y - offset.y) + - math.abs(pos.z - offset.z) > 16 then + math.abs(pos.z - offset.z) > 64 then for _, b in pairs(projecting) do projecting[b.id].box.remove() projecting[b.id] = nil end offset = pos - canvas.recenter() + canvas.recenter() end + + os.sleep(.5) end end