2021-08-16 23:30:51 -07:00
|
|
|
|
2021-08-26 08:48:54 -07:00
|
|
|
simple_models = {}
|
2021-08-23 08:39:12 -07:00
|
|
|
|
2021-08-24 15:35:34 -07:00
|
|
|
local modpath = core.get_modpath(core.get_current_modname())
|
2021-08-26 08:48:54 -07:00
|
|
|
|
|
|
|
local scripts = {
|
|
|
|
"defs",
|
|
|
|
"api",
|
|
|
|
}
|
|
|
|
|
|
|
|
for _, script in ipairs(scripts) do
|
|
|
|
dofile(modpath .. "/" .. script .. ".lua")
|
|
|
|
end
|
2021-08-23 16:17:41 -07:00
|
|
|
|
2021-08-23 15:27:48 -07:00
|
|
|
if core.settings:get_bool("simple_models.enable_samples", false) then
|
2021-08-24 15:35:34 -07:00
|
|
|
dofile(modpath .. "/samples.lua")
|
2021-08-23 15:27:48 -07:00
|
|
|
end
|