Added New Mods and Profiles Folders

This is a complete rebuild of the modpack, with all new mods and updates for 1.5.3 of Anomaly.
This commit is contained in:
2025-01-14 05:07:53 -05:00
parent 85c665b107
commit 376b4b9689
21217 changed files with 546254 additions and 0 deletions
@@ -0,0 +1,31 @@
local intercepts = {}
function EA_RegisterScriptCallback(name,func_or_userdata)
if (func_or_userdata == nil) then
callstack()
end
if not intercepts[name] then
intercepts[name] = {}
end
if (intercepts[name]) then
intercepts[name][func_or_userdata] = true
end
end
function EA_UnregisterScriptCallback(name,func_or_userdata)
if (intercepts[name]) then
intercepts[name][func_or_userdata] = nil
end
end
function EA_SendScriptCallback(name,...)
if (intercepts[name]) then
for func_or_userdata,v in pairs(intercepts[name]) do
if (type(func_or_userdata) == "function") then
func_or_userdata(...)
elseif (func_or_userdata[name]) then
func_or_userdata[name](func_or_userdata,...)
end
end
end
end