feat(content): add April fool day potions

This commit is contained in:
CuriousMagpie
2023-04-04 17:14:25 -04:00
parent 229ed46425
commit c0362c614e
2 changed files with 15 additions and 3 deletions

View File

@@ -564,13 +564,13 @@ const wacky = {
Veggie: {
text: t('hatchingPotionVeggie'),
limited: true,
event: EVENTS.spring2022,
event: EVENTS.spring2023,
_addlNotes: t('eventAvailabilityReturning', {
availableDate: t('dateEndApril'),
previousDate: t('aprilYYYY', { year: 2021 }),
previousDate: t('aprilYYYY', { year: 2022 }),
}),
canBuy () {
return moment().isBetween('2022-04-07T08:00-05:00', EVENTS.spring2022.end);
return moment().isBetween('2023-04-06T08:00-05:00', EVENTS.spring2023.end);
},
},
Dessert: {
@@ -585,6 +585,17 @@ const wacky = {
_addlNotes: t('premiumPotionUnlimitedNotes'),
canBuy: hasQuestAchievementFunction('virtualpet'),
},
TeaShop: {
text: t('hatchingPotionTeaShop'),
limited: true,
event: EVENTS.spring2023,
_addlNotes: t('eventAvailabilityReturning', {
availableDate: t('dateEndApril'),
}),
canBuy () {
return moment().isBetween('2023-04-06T08:00-05:00', EVENTS.spring2023.end);
},
},
};
each(drops, (pot, key) => {