diff --git a/project/assets/configs/seasonalevents.json b/project/assets/configs/seasonalevents.json index 07b684f6..f8106a7e 100644 --- a/project/assets/configs/seasonalevents.json +++ b/project/assets/configs/seasonalevents.json @@ -714,6 +714,15 @@ "startMonth": "1", "endDay": "7", "endMonth": "1" - } + }, + { + "enabled": true, + "name": "April fools", + "type": "APRIL_FOOLS", + "startDay": "1", + "startMonth": "4", + "endDay": "2", + "endMonth": "4" + } ] } diff --git a/project/src/models/enums/SeasonalEventType.ts b/project/src/models/enums/SeasonalEventType.ts index 66552dc4..214c4152 100644 --- a/project/src/models/enums/SeasonalEventType.ts +++ b/project/src/models/enums/SeasonalEventType.ts @@ -4,4 +4,5 @@ export enum SeasonalEventType { HALLOWEEN = "Halloween", NEW_YEARS = "NewYears", PROMO = "Promo", + APRIL_FOOLS = "AprilFools", } diff --git a/project/src/services/SeasonalEventService.ts b/project/src/services/SeasonalEventService.ts index 7911fd5e..531efd1d 100644 --- a/project/src/services/SeasonalEventService.ts +++ b/project/src/services/SeasonalEventService.ts @@ -363,6 +363,16 @@ export class SeasonalEventService { break; case SeasonalEventType.NEW_YEARS.toLowerCase(): 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: // Likely a mod event this.addEventGearToBots(eventType);