From 22c280aff18f54384b5c840fcd66e10e37e44002 Mon Sep 17 00:00:00 2001 From: LordMidas <55047920+LordMidas@users.noreply.github.com> Date: Tue, 12 Sep 2023 00:20:24 -0400 Subject: [PATCH] refactor: add github url for msu --- scripts/!mods_preload/mod_item_tables.nut | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/!mods_preload/mod_item_tables.nut b/scripts/!mods_preload/mod_item_tables.nut index f6dda99..c0c166f 100644 --- a/scripts/!mods_preload/mod_item_tables.nut +++ b/scripts/!mods_preload/mod_item_tables.nut @@ -2,6 +2,7 @@ Version = "0.1.0", ID = "mod_item_tables", Name = "Item Tables", + GitHubURL = "https://github.com/Battle-Modders/Item-Tables-Framework", Class = {}, ItemInfoByScript = {}, RollByProperties = [ @@ -27,7 +28,10 @@ ::mods_registerMod(::ItemTables.ID, ::ItemTables.Version, ::ItemTables.Name); ::mods_queue(::ItemTables.ID, "mod_msu", function() { - // ::ItemTables.Mod <- ::MSU.Class.Mod(::ItemTables.ID, ::ItemTables.Version, ::ItemTables.Name); + ::ItemTables.Mod <- ::MSU.Class.Mod(::ItemTables.ID, ::ItemTables.Version, ::ItemTables.Name); + + ::ItemTables.Mod.Registry.addModSource(::MSU.System.Registry.ModSourceDomain.GitHub, ::ItemTables.GitHubURL); + ::ItemTables.Mod.Registry.setUpdateSource(::MSU.System.Registry.ModSourceDomain.GitHub); ::mods_hookExactClass("root_state", function(o) { local onInit = o.onInit;