Added addons and standalone file

This commit is contained in:
Cooldude2606
2017-12-28 13:08:25 +00:00
parent 572af853c9
commit bbf7d7753e
3 changed files with 28 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ Color, Game, Event = require('/StdLib/load'){'Color','Game','Event'}
-- loads the ExpLib, functions are plased into the lua global
local ExpLib = require 'ExpLib'
ExpLib._unpack_to_G(ExpLib)
_G.discord_emit = nil -- un-comment this line if you are not using the json.data
--_G.discord_emit = nil -- un-comment this line if you are not using the json.data
-- loads the ExpCore files these are need in order to run the other addons
Ranking, Server, Gui = require('/ExpCore/load'){'Ranking','Server','Gui'}
@@ -42,4 +42,8 @@ require('/ExpCore/ranks')
-- this loads any edits that are not need in core pcall as file may not be preset
pcall(require,'/Addons/playerRanks')
-- this makes sure that all the little details are cleaned up
Ranking._auto_edit_ranks()
Ranking._auto_edit_ranks()
-- this loads all the addons
pcall(require,'Addons/load')
-- this loads anything that does not use ExpCore (sourse given in the file)
pcall(require,'StandAlone/load')