Skip to content

Commit

Permalink
refactor: add github url for msu
Browse files Browse the repository at this point in the history
  • Loading branch information
LordMidas committed Sep 12, 2023
1 parent 0b9b415 commit 22c280a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/!mods_preload/mod_item_tables.nut
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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;
Expand Down

0 comments on commit 22c280a

Please sign in to comment.