Track LocalMods as part of monolith
This commit is contained in:
+110
@@ -0,0 +1,110 @@
|
||||
-- Config to enable language files based on enabled mods.
|
||||
|
||||
local config = {
|
||||
{
|
||||
--Neurotrauma guns fork
|
||||
supportedlanguages = {"English","Simplified Chinese","Russian", "French"}, -- which languages patch supports for this specific mod {"English","German","Russian"} etc
|
||||
IgnoreTargetModState = false, -- doesnt check for target mod being enabled. Still respects supported languages.
|
||||
workshopId = "3190189044", -- id of the mod being patched and which language files we disable, "" means nothing gets disabled
|
||||
loadpriority = 0, -- patches with higher priotiry would override ones with lower when enabled. works similiar to game modlist
|
||||
files = { -- path to language files we want to use instead of originals, %Language% is automatically replaced with client language
|
||||
"%ModDir%/Localization/%Language%/Items.xml", -- if files is empty (files = {}) then it would just disable mod language files
|
||||
"%ModDir%/Localization/%Language%/Afflictions.xml"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
-- Curly's Surgery Plus (not yet ready)
|
||||
supportedlanguages = {"English","Simplified Chinese","Russian","French"},
|
||||
IgnoreTargetModState = false,
|
||||
workshopId = "",
|
||||
loadpriority = 1,
|
||||
files = {
|
||||
--"%ModDir%/Localization/%Language%/SurgeryPlus.xml"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
-- Cybernetics
|
||||
supportedlanguages = {"English","Russian","French"},
|
||||
IgnoreTargetModState = false,
|
||||
workshopId = "2788543375",
|
||||
loadpriority = 0,
|
||||
files = {"%ModDir%/Localization/%Language%/Cybernetics.xml"}
|
||||
},
|
||||
|
||||
{
|
||||
-- Cybernetics Improved
|
||||
supportedlanguages = {"English","French"},
|
||||
IgnoreTargetModState = false,
|
||||
workshopId = "2963474291",
|
||||
loadpriority = 0,
|
||||
files = {"%ModDir%/Localization/%Language%/Cybernetics.xml"}
|
||||
},
|
||||
|
||||
{
|
||||
-- Cybernetics Enhanced
|
||||
supportedlanguages = {"English","Russian","French"},
|
||||
IgnoreTargetModState = false,
|
||||
workshopId = "3324062208",
|
||||
loadpriority = 1,
|
||||
files = {"%ModDir%/Localization/%Language%/Cybernetics.xml"}
|
||||
},
|
||||
|
||||
{
|
||||
-- Neurotrauma experimental dev version
|
||||
supportedlanguages = {"English","Simplified Chinese","Russian","French"},
|
||||
IgnoreTargetModState = false,
|
||||
workshopId = "3439141713",
|
||||
loadpriority = 0,
|
||||
files = {
|
||||
"%ModDir%/Localization/%Language%/Items.xml",
|
||||
"%ModDir%/Localization/%Language%/Afflictions.xml"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
-- Infections
|
||||
supportedlanguages = {"English","Russian","French"},
|
||||
IgnoreTargetModState = false,
|
||||
workshopId = "",
|
||||
loadpriority = 2,
|
||||
files = {
|
||||
"%ModDir%/Localization/%Language%/Infections.xml"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
-- Barometric Pressure
|
||||
supportedlanguages = {"English"},
|
||||
IgnoreTargetModState = false,
|
||||
workshopId = "",
|
||||
loadpriority = 3,
|
||||
files = {
|
||||
"%ModDir%/Localization/%Language%/BarometricPressureItems.xml",
|
||||
"%ModDir%/Localization/%Language%/BarometricPressureAfflictions.xml",
|
||||
"%ModDir%/Localization/%Language%/BarometricPressureAddons.xml"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
-- Immersive Repairs NT Cybernetics
|
||||
supportedlanguages = {"English","French"},
|
||||
IgnoreTargetModState = false,
|
||||
workshopId = "3153498101",
|
||||
loadpriority = 0,
|
||||
files = {"%ModDir%/Localization/%Language%/ImmersiveRepairs.xml"}
|
||||
}
|
||||
-- Example blank, you dont need to add localization for this
|
||||
-- {
|
||||
-- supportedlanguages = {"English"},
|
||||
-- IgnoreTargetModState = false,
|
||||
-- workshopId = "", -- if empty doesnt announce patch being enabled or check for other mods
|
||||
-- loadpriority = 1, -- patches with same priority would load in random order
|
||||
-- files = {
|
||||
-- "%ModDir%/Localization/%Language%/dummy.xml"
|
||||
-- }
|
||||
-- }
|
||||
}
|
||||
|
||||
return config
|
||||
Reference in New Issue
Block a user