Removed versions from requires

This commit is contained in:
Cooldude2606
2018-12-09 16:23:35 +00:00
parent 56ad7f987c
commit 85efbd5cf8
58 changed files with 236 additions and 236 deletions

View File

@@ -5,14 +5,14 @@
-- @alais ThisModule
-- Module Require
local Gui = require('ExpGamingCore.Gui@^4.0.0')
local Game = require('FactorioStdLib.Game@^0.8.0')
local Gui = require('ExpGamingCore.Gui')
local Game = require('FactorioStdLib.Game')
-- Module Define
local module_verbose = false
local ThisModule = {
on_init=function()
if loaded_modules['ExpGamingCore.Sync@^4.0.0'] then require(module_path..'/src/sync') end
if loaded_modules['ExpGamingCore.Sync'] then require(module_path..'/src/sync') end
end
}

View File

@@ -1,5 +1,5 @@
local Sync = require('ExpGamingCore.Sync@^4.0.0')
local Gui = require('ExpGamingCore.Gui@^4.0.0')
local Sync = require('ExpGamingCore.Sync')
local Gui = require('ExpGamingCore.Gui')
Sync.add_to_gui(Gui.inputs.add_button('readme-sync-guildlines','View Guildlines','View the guildlines in the readme',function(player,element)
Gui.center.open_tab(player,'readme','guildlines')

View File

@@ -5,8 +5,8 @@
-- @alais ThisModule
-- Module Require
local Gui = require('ExpGamingCore.Gui@^4.0.0')
local Game = require('FactorioStdLib.Game@^0.8.0')
local Gui = require('ExpGamingCore.Gui')
local Game = require('FactorioStdLib.Game')
-- Module Define
local module_verbose = false

View File

@@ -1,5 +1,5 @@
local Sync = require('ExpGamingCore.Sync@^4.0.0')
local global = global['ExpGamingInfo.Rockets@^4.0.0']
local Sync = require('ExpGamingCore.Sync')
local global = global['ExpGamingInfo.Rockets']
Sync.add_update('rockets',function()
local _return = {}

View File

@@ -5,8 +5,8 @@
-- @alais ThisModule
-- Module Require
local Gui = require('ExpGamingCore.Gui@^4.0.0')
local Game = require('FactorioStdLib.Game@^0.8.0')
local Gui = require('ExpGamingCore.Gui')
local Game = require('FactorioStdLib.Game')
-- Local Varibles
local science_packs = {

View File

@@ -1,5 +1,5 @@
local Sync = require('ExpGamingCore.Sync@^4.0.0')
local data = global['ExpGamingInfo.Science@^4.0.0']
local Sync = require('ExpGamingCore.Sync')
local data = global['ExpGamingInfo.Science']
Sync.add_update('science',function()
local _return = {}

View File

@@ -5,9 +5,9 @@
-- @alais ThisModule
-- Module Require
local Gui = require('ExpGamingCore.Gui@^4.0.0')
local Role = require('ExpGamingCore.Role@^4.0.0')
local Game = require('FactorioStdLib.Game@^0.8.0')
local Gui = require('ExpGamingCore.Gui')
local Role = require('ExpGamingCore.Role')
local Game = require('FactorioStdLib.Game')
-- Module Define
local module_verbose = false