Added third party library loading and execution
This commit is contained in:
@@ -71,16 +71,6 @@ public class EditConfigs : IPostDBLoadMod
|
||||
// Let's disable loot on scavs
|
||||
_botConfig.DisableLootOnBotTypes.Add("assault");
|
||||
|
||||
// Let's make the conversion rate of scavs to pmcs 100% on factory day
|
||||
var factory4DayConversionSettings = _pmcConfig.ConvertIntoPmcChance["factory4_day"];
|
||||
|
||||
// We get assault bot settings for factory day
|
||||
var assaultConversionSettings = factory4DayConversionSettings["assault"];
|
||||
|
||||
// Set min and max to 100%
|
||||
assaultConversionSettings.Min = 100;
|
||||
assaultConversionSettings.Max = 100;
|
||||
|
||||
_logger.Success("Finished Editing Configs");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"Name": "3EditSptConfig",
|
||||
"Version": "1.0.0",
|
||||
"SptVersion": "~4.0",
|
||||
"LoadBefore": [],
|
||||
"LoadAfter": [],
|
||||
"name": "3EditSptConfig",
|
||||
"version": "1.0.0",
|
||||
"sptVersion": "~4.0",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"IncompatibileMods": [],
|
||||
"Url": "https://github.com/sp-tarkov/server-csharp/tree/develop/ExampleMods/Mods",
|
||||
"IsBundleMod": false,
|
||||
"Author": "SPT",
|
||||
"Contributors": [],
|
||||
"Licence": "MIT"
|
||||
"url": "https://github.com/sp-tarkov/server-csharp/tree/develop/ExampleMods/Mods",
|
||||
"isBundleMod": false,
|
||||
"author": "SPT",
|
||||
"contributors": [],
|
||||
"licence": "MIT"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user