diff --git a/modules/ExpGamingCore/Gui/softmod.json b/modules/ExpGamingCore/Gui/softmod.json index 3b35c04b..b271142a 100644 --- a/modules/ExpGamingCore/Gui/softmod.json +++ b/modules/ExpGamingCore/Gui/softmod.json @@ -13,7 +13,6 @@ "version": "4.0.0", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Gui.zip", "dependencies": { - "FactorioModGui": "^1.0.0", "ExpGamingLib": "^4.0.0", "FactorioStdLib.Table": "^0.8.0", "FactorioStdLib.Color": "^0.8.0", diff --git a/modules/ExpGamingCore/Gui/src/center.lua b/modules/ExpGamingCore/Gui/src/center.lua index 8fd0e6e1..fc4fd13f 100644 --- a/modules/ExpGamingCore/Gui/src/center.lua +++ b/modules/ExpGamingCore/Gui/src/center.lua @@ -7,6 +7,7 @@ --- This is a submodule of ExpGamingCore.Gui but for ldoc reasons it is under its own module -- @function _comment +local mod_gui = require("mod-gui") local center = {} center._center = {} diff --git a/modules/ExpGamingCore/Gui/src/inputs.lua b/modules/ExpGamingCore/Gui/src/inputs.lua index e3d1df69..0bab4e18 100644 --- a/modules/ExpGamingCore/Gui/src/inputs.lua +++ b/modules/ExpGamingCore/Gui/src/inputs.lua @@ -7,6 +7,7 @@ --- This is a submodule of ExpGamingCore.Gui but for ldoc reasons it is under its own module -- @function _comment +local mod_gui = require("mod-gui") local inputs = {} inputs._input = {} -- these are just so you can have short cuts to this diff --git a/modules/ExpGamingCore/Gui/src/left.lua b/modules/ExpGamingCore/Gui/src/left.lua index 4fa29678..ceff5753 100644 --- a/modules/ExpGamingCore/Gui/src/left.lua +++ b/modules/ExpGamingCore/Gui/src/left.lua @@ -7,6 +7,7 @@ --- This is a submodule of ExpGamingCore.Gui but for ldoc reasons it is under its own module -- @function _comment +local mod_gui = require("mod-gui") local left = {} left._left = {} diff --git a/modules/ExpGamingCore/Gui/src/popup.lua b/modules/ExpGamingCore/Gui/src/popup.lua index 3a21d9d7..0fd5f7b1 100644 --- a/modules/ExpGamingCore/Gui/src/popup.lua +++ b/modules/ExpGamingCore/Gui/src/popup.lua @@ -7,6 +7,7 @@ --- This is a submodule of ExpGamingCore.Gui but for ldoc reasons it is under its own module -- @function _comment +local mod_gui = require("mod-gui") local popup = {} popup._popup = {} diff --git a/modules/ExpGamingCore/Gui/src/test.lua b/modules/ExpGamingCore/Gui/src/test.lua index 6a009891..c38c09bd 100644 --- a/modules/ExpGamingCore/Gui/src/test.lua +++ b/modules/ExpGamingCore/Gui/src/test.lua @@ -6,6 +6,8 @@ --- This is a submodule of ExpGamingCore.Gui but for ldoc reasons it is under its own module -- @function _comment +local mod_gui = require("mod-gui") + local gui_tset_close = Gui.inputs.add{ name='gui-test-close', type='button', diff --git a/modules/ExpGamingCore/Gui/src/toolbar.lua b/modules/ExpGamingCore/Gui/src/toolbar.lua index ef8fa300..c9105010 100644 --- a/modules/ExpGamingCore/Gui/src/toolbar.lua +++ b/modules/ExpGamingCore/Gui/src/toolbar.lua @@ -7,6 +7,7 @@ --- This is a submodule of ExpGamingCore.Gui but for ldoc reasons it is under its own module -- @function _comment +local mod_gui = require("mod-gui") local toolbar = {} --- Add a button to the toolbar, ranks need to be allowed to use these buttons if ranks is preset diff --git a/modules/ExpGamingCore/softmod.json b/modules/ExpGamingCore/softmod.json index 489d4c58..f360a698 100644 --- a/modules/ExpGamingCore/softmod.json +++ b/modules/ExpGamingCore/softmod.json @@ -50,7 +50,6 @@ "version": "4.0.0", "location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCore.Gui.zip", "dependencies": { - "FactorioModGui": "^1.0.0", "ExpGamingLib": "^4.0.0", "FactorioStdLib.Table": "^0.8.0", "FactorioStdLib.Color": "^0.8.0",