Updated Module to use require

This commit is contained in:
Cooldude2606 committed 2018-06-22 19:17:36 +01:00
1 parent 5602a2aece
commit 90450056bf
47 files changed
+1042 -504

No files matched your search

@@ -4,6 +4,12 @@
-- @author Cooldude2606
-- @license https://github.com/explosivegaming/scenario/blob/master/LICENSE
local Game = require('FactorioStdLib.Game')
local Color = require('FactorioStdLib.Color')
-- this is optional and is hanndled by it being present
local success, Ranking = pcall(require,'ExpGamingCore.Ranking')
if not success then Ranking = nil end success = nil
--- Used as an error constant for validation
-- @field commands.error
-- @usage return commands.error, 'err message'