Change BTR skin to tarcola during Christmas event
This commit is contained in:
@@ -507,6 +507,23 @@ public class SeasonalEventService(
|
||||
{
|
||||
AdjustBotAppearanceValues(eventType.Type);
|
||||
}
|
||||
|
||||
ChangeBtrToTarColaSkin();
|
||||
}
|
||||
|
||||
private void ChangeBtrToTarColaSkin()
|
||||
{
|
||||
var btrSettings = databaseService.GetGlobals().Configuration.BTRSettings;
|
||||
|
||||
if (btrSettings.MapsConfigs.TryGetValue("Woods", out var woodsBtrSettings))
|
||||
{
|
||||
woodsBtrSettings.BtrSkin = "Tarcola";
|
||||
}
|
||||
|
||||
if (btrSettings.MapsConfigs.TryGetValue("TarkovStreets", out var streetsBtrSettings))
|
||||
{
|
||||
streetsBtrSettings.BtrSkin = "Tarcola";
|
||||
}
|
||||
}
|
||||
|
||||
protected void ApplyNewYearsEvent(SeasonalEvent eventType, Config globalConfig)
|
||||
|
||||
Reference in New Issue
Block a user