mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
Added christmas config changes
This commit is contained in:
parent
f4180993cb
commit
a651681fd6
@ -135,7 +135,7 @@ export class BotLootGenerator {
|
|||||||
|
|
||||||
const containersBotHasAvailable = this.getAvailableContainersBotCanStoreItemsIn(botInventory);
|
const containersBotHasAvailable = this.getAvailableContainersBotCanStoreItemsIn(botInventory);
|
||||||
|
|
||||||
// This set is passed as a reference to fill up the containers that are already full, this aliviates
|
// This set is passed as a reference to fill up the containers that are already full, this alleviates
|
||||||
// generation of the bots by avoiding checking the slots of containers we already know are full
|
// generation of the bots by avoiding checking the slots of containers we already know are full
|
||||||
const containersIdFull = new Set<string>();
|
const containersIdFull = new Set<string>();
|
||||||
|
|
||||||
|
@ -484,6 +484,24 @@ export class SeasonalEventService {
|
|||||||
if (event.settings?.adjustBotAppearances) {
|
if (event.settings?.adjustBotAppearances) {
|
||||||
this.adjustBotAppearanceValues(event.type);
|
this.adjustBotAppearanceValues(event.type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const globals = this.databaseService.getGlobals();
|
||||||
|
globals.config.Airdrop.AirdropViewType = "NewYear";
|
||||||
|
|
||||||
|
const radioSettings = globals.AudioSettings.RadioBroadcastSettings;
|
||||||
|
|
||||||
|
radioSettings.EnabledBroadcast = true;
|
||||||
|
const christmasStation = radioSettings.RadioStations.find((x) => x.Station === "Christmas");
|
||||||
|
christmasStation.Enabled = true;
|
||||||
|
|
||||||
|
const rundansStation = radioSettings.RadioStations.find((x) => x.Station === "RunddansEvent");
|
||||||
|
rundansStation.Enabled = true;
|
||||||
|
|
||||||
|
globals.config.BTRSettings.MapsConfigs["TarkovStreets"].BtrSkin = "Tarcola";
|
||||||
|
globals.config.BTRSettings.MapsConfigs["Woods"].BtrSkin = "Tarcola";
|
||||||
|
|
||||||
|
globals.config.RunddansSettings.active = true;
|
||||||
|
globals.config.RunddansSettings.activePVE = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected applyNewYearsEvent(event: ISeasonalEvent, globalConfig: IConfig) {
|
protected applyNewYearsEvent(event: ISeasonalEvent, globalConfig: IConfig) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user