@ -7,7 +7,8 @@ local Bastion = {
}
}
Bastion.__index = Bastion
Bastion.__index = Bastion
Bastion._Unlocker = Tinkr
_G.Bastion = Bastion
function Bastion : Require ( file )
function Bastion : Require ( file )
-- If require starts with an @ then we require from the scripts/bastion/scripts folder
-- If require starts with an @ then we require from the scripts/bastion/scripts folder
@ -61,6 +62,10 @@ Bastion.Globals = {}
---@type Locale
---@type Locale
Bastion.Locale = Bastion.require ( " Locale " )
Bastion.Locale = Bastion.require ( " Locale " )
Load ( " @Locales/ " )
Load ( " @Locales/ " )
Bastion.Locales = { }
Bastion.Locales . enUS = Bastion : Require ( " @Locales/enUS " )
local L = Bastion.Locale . GetTable ( )
Bastion.Globals . L = L
---@type Environment
---@type Environment
Bastion.Environment = Bastion.require ( " Environment " )
Bastion.Environment = Bastion.require ( " Environment " )
---@type ClassMagic
---@type ClassMagic