Initial commit

This commit is contained in:
2025-03-06 01:39:36 +07:00
commit 9d00ee4e47
35 changed files with 587 additions and 0 deletions

14
mods/API/Mod/init.lua Normal file
View File

@@ -0,0 +1,14 @@
_G.Mod = {}
table.for_each("z", "")
function Mod:new(addToGlobal)
for key, value in pairs(addToGlobal) do
_G[key] = value
end
local modName = core.get_current_modname()
local modPath = core.get_modpath(modName)
local modTable = ModTable:new(modName, modPath)
modTable.require = ModTable:getRequire()
end