12 lines
304 B
Lua
12 lines
304 B
Lua
utils = include("sv_utils.lua")
|
|
config = include("../sh_config.lua")
|
|
|
|
utils.path_create(config.config_path)
|
|
|
|
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
|