Provide API for other mods to load their owm modules.

This commit is contained in:
IQuant 2024-10-12 13:55:31 +03:00
parent 0f55a96df4
commit d5e7f54ef1
7 changed files with 47 additions and 10 deletions

3
ew_api_example/init.lua Normal file
View file

@ -0,0 +1,3 @@
if ModIsEnabled("quant.ew") then
ModLuaFileAppend("mods/quant.ew/files/api/extra_modules.lua", "mods/ew_api_example/module.lua")
end