DigsoftFixes/reset.lua
2024-09-14 16:14:19 -04:00

11 lines
296 B
Lua

-- Resets the quarry state so that it will be ready for a new job should it have not
-- been fully cleaned up by the previous job.
local filesToDelete = {
"dig_save.cfg",
"startup.lua",
}
for _, file in ipairs(filesToDelete) do
shell.run("rm", file)
print("Deleted " .. file)
end