diff --git a/locale/ExpGaming-Core/GUI/ExpGaming - Inputs.lua b/locale/ExpGaming-Core/GUI/ExpGaming - Inputs.lua index 86dd1bb4..041d6693 100644 --- a/locale/ExpGaming-Core/GUI/ExpGaming - Inputs.lua +++ b/locale/ExpGaming-Core/GUI/ExpGaming - Inputs.lua @@ -5,18 +5,7 @@ This file can be used with permission but this and the credit below must remain Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. Discord: https://discord.gg/XSsBV6b - -The credit below may be used by another script do not remove. ]] -local credits = {{ - name='Gui Input Handler', - owner='Explosive Gaming', - dev='Cooldude2606', - description='Handles all GUI inputs', - factorio_version='0.15.23', - show=false - }} -local function credit_loop(reg) for _,cred in pairs(reg) do table.insert(credits,cred) end end --Please Only Edit Below This Line----------------------------------------------------------- local add_input = ExpGui.add_input local inputs = ExpGui.inputs diff --git a/locale/ExpGaming-Core/GUI/ExpGaming - Module Setup.lua b/locale/ExpGaming-Core/GUI/ExpGaming - Module Setup.lua index f2a4cb58..75b1630a 100644 --- a/locale/ExpGaming-Core/GUI/ExpGaming - Module Setup.lua +++ b/locale/ExpGaming-Core/GUI/ExpGaming - Module Setup.lua @@ -5,21 +5,10 @@ This file can be used with permission but this and the credit below must remain Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. Discord: https://discord.gg/XSsBV6b - -The credit below may be used by another script do not remove. ]] -local credits = {{ - name='Explosive Gaming Gui System', - owner='Explosive Gaming', - dev='Cooldude2606', - description='Without this, it would not be the same', - factorio_version='0.15.23', - show=true - }} -local function credit_loop(reg) for _,cred in pairs(reg) do table.insert(credits,cred) end end --Please Only Edit Below This Line----------------------------------------------------------- -- Mainly used as a plan for how the gui is stored also as a header for the credit -ExpGui = { +local ExpGui = { add_frame={ --center --tab @@ -72,4 +61,4 @@ function ExpGui.toggle_visible(frame) end end --Please Only Edit Above This Line----------------------------------------------------------- -return credits \ No newline at end of file +return ExpGui \ No newline at end of file diff --git a/locale/ExpGaming-Core/GUI/file-header.lua b/locale/ExpGaming-Core/GUI/file-header.lua index 33d297ac..0364c7fe 100644 --- a/locale/ExpGaming-Core/GUI/file-header.lua +++ b/locale/ExpGaming-Core/GUI/file-header.lua @@ -5,25 +5,13 @@ This file can be used with permission but this and the credit below must remain Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. Discord: https://discord.gg/XSsBV6b - -The credit below may be used by another script do not remove. ]] -local credits = {{ - name='File Header - ExpGaming-Core-GUI', - owner='Explosive Gaming', - dev='Cooldude2606', - description='Just A File Header To Organise Code', - factorio_version='0.15.23', - show=false - }} -local function credit_loop(reg) for _,cred in pairs(reg) do table.insert(credits,cred) end end --Please Only Edit Below This Line----------------------------------------------------------- -credit_loop(require("ExpGaming - Module Setup")) -credit_loop(require("ExpGaming - Inputs")) -credit_loop(require("ExpGaming - Toolbar")) -credit_loop(require("ExpGaming - Center Gui")) -credit_loop(require("ExpGaming - Left Gui")) -credit_loop(require("ExpGaming - Popup")) -credit_loop(require("ExpGaming - Player Table")) ---Please Only Edit Above This Line----------------------------------------------------------- -return credits \ No newline at end of file +local ExpGui = require("ExpGaming - Module Setup") +require("ExpGaming - Inputs") +require("ExpGaming - Toolbar") +require("ExpGaming - Center Gui") +require("ExpGaming - Left Gui") +require("ExpGaming - Popup") +require("ExpGaming - Player Table") +return ExpGui \ No newline at end of file diff --git a/locale/ExpGaming-Core/file-header.lua b/locale/ExpGaming-Core/file-header.lua index f9b20e74..8db11cf2 100644 --- a/locale/ExpGaming-Core/file-header.lua +++ b/locale/ExpGaming-Core/file-header.lua @@ -9,9 +9,9 @@ Discord: https://discord.gg/XSsBV6b --Please Only Edit Below This Line----------------------------------------------------------- --As this is the core file, the order in which the files are loaded does matter. Do not change! require("ExpGaming - Lib") -ranking = require("ExpGaming - Rank Control") -ExpGui = require("GUI/file-header") +local ranking = require("ExpGaming - Rank Control") +local ExpGui = require("GUI/file-header") require("ExpGaming - Command Maker") -server = require("ExpGaming - Server Interface") +local server = require("ExpGaming - Server Interface") --Please Only Edit Above This Line----------------------------------------------------------- return ranking,ExpGui,server \ No newline at end of file