Added new april 1st event

This commit is contained in:
Dev 2024-10-26 16:39:31 +01:00
parent 5a6dd6f5df
commit 22b6ee2741
3 changed files with 21 additions and 1 deletions

View File

@ -714,6 +714,15 @@
"startMonth": "1", "startMonth": "1",
"endDay": "7", "endDay": "7",
"endMonth": "1" "endMonth": "1"
} },
{
"enabled": true,
"name": "April fools",
"type": "APRIL_FOOLS",
"startDay": "1",
"startMonth": "4",
"endDay": "2",
"endMonth": "4"
}
] ]
} }

View File

@ -4,4 +4,5 @@ export enum SeasonalEventType {
HALLOWEEN = "Halloween", HALLOWEEN = "Halloween",
NEW_YEARS = "NewYears", NEW_YEARS = "NewYears",
PROMO = "Promo", PROMO = "Promo",
APRIL_FOOLS = "AprilFools",
} }

View File

@ -363,6 +363,16 @@ export class SeasonalEventService {
break; break;
case SeasonalEventType.NEW_YEARS.toLowerCase(): case SeasonalEventType.NEW_YEARS.toLowerCase():
break; break;
case SeasonalEventType.APRIL_FOOLS.toLowerCase():
this.addGifterBotToMaps();
this.addLootItemsToGifterDropItemsList();
this.addEventGearToBots(SeasonalEventType.HALLOWEEN);
this.addEventGearToBots(SeasonalEventType.CHRISTMAS);
this.addEventBossesToMaps(SeasonalEventType.HALLOWEEN);
this.enableHalloweenSummonEvent();
this.addPumpkinsToScavBackpacks();
this.enableSnow();
break;
default: default:
// Likely a mod event // Likely a mod event
this.addEventGearToBots(eventType); this.addEventGearToBots(eventType);