I don't particularly want to create my package with an OOBE file, I'd rather do it the same way the 'Built In' package works. Is there a way to emulate it?
I tried using:
lua Code:
RDXEvents:Bind("INIT_DATABASE_LOADED", nil, function()
local test = RDXDB.GetOrCreatePackage("test");
if not test["test_script"] then
test["test_script"] = {
["ty"] = "Script",
["version"] = 1,
["data"] = {
["script"] = "just random text",
},
}, end
end);
But that didn't seem to be cutting it.