-
Notifications
You must be signed in to change notification settings - Fork 58
/
Corepre.lua
30 lines (26 loc) · 1.02 KB
/
Corepre.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--Map Replacements (WIP)
RestorationMapFramework = RestorationMapFramework or class(MapFramework)
RestorationMapFramework._directory = ModPath .. "map_replacements"
RestorationMapFramework.type_name = "restoration"
RestorationMapFramework:init()
RestorationMapFramework:InitMods()
if not PackageManager:loaded("packages/scassets") then
PackageManager:load("packages/scassets")
end
if not PackageManager:loaded("packages/outfitassets") then
PackageManager:load("packages/outfitassets")
end
-- Always load
if not PackageManager:loaded("packages/addhudmisc") then
PackageManager:load("packages/addhudmisc")
end
if not PackageManager:loaded("packages/envcore") then
PackageManager:load("packages/envcore")
end
-- Needed to prevent a crash when the game language is set to another language
if not PackageManager:loaded("core/packages/language_schinese") then
PackageManager:load("core/packages/language_schinese")
end
if not PackageManager:loaded("core/packages/language_korean") then
PackageManager:load("core/packages/language_korean")
end