Files
simple-makes-complex/mods/API/Mod/init.lua
2025-03-06 01:39:36 +07:00

15 lines
315 B
Lua

_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