2023-09-03 14:04:49 -04:00
|
|
|
utils = include("sv_utils.lua")
|
|
|
|
config = include("../sh_config.lua")
|
|
|
|
|
2023-09-03 15:40:37 -04:00
|
|
|
utils.path_create(config.config_path)
|
2023-09-03 14:04:49 -04:00
|
|
|
|
|
|
|
if not file.Exists(config.config_path, "DATA")
|
|
|
|
then
|
|
|
|
local default_config = {}
|
|
|
|
default_config.diseases = {}
|
|
|
|
file.Write(config.config_path, util.TableToJSON(default_config, true))
|
|
|
|
end
|