mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
feat(event): Summer Splash 2021
This commit is contained in:
@@ -215,8 +215,12 @@ const premium = {
|
||||
limited: true,
|
||||
_addlNotes: t('eventAvailabilityReturning', {
|
||||
availableDate: t('dateEndJuly'),
|
||||
previousDate: t('june2018'),
|
||||
previousDate: t('juneYYYY', { year: 2019 }),
|
||||
}),
|
||||
event: EVENTS.summer2021,
|
||||
canBuy () {
|
||||
return moment().isBefore(EVENTS.summer2021.end);
|
||||
},
|
||||
},
|
||||
Glow: {
|
||||
value: 2,
|
||||
@@ -376,13 +380,14 @@ const premium = {
|
||||
value: 2,
|
||||
text: t('hatchingPotionSandSculpture'),
|
||||
limited: true,
|
||||
event: EVENTS.summer2020,
|
||||
canBuy () {
|
||||
return moment().isBefore('2020-08-02');
|
||||
},
|
||||
_addlNotes: t('premiumPotionAddlNotes', {
|
||||
date: t('dateEndJuly'),
|
||||
event: EVENTS.summer2021,
|
||||
_addlNotes: t('eventAvailabilityReturning', {
|
||||
availableDate: t('dateEndJuly'),
|
||||
previousDate: t('juneYYYY', { year: 2020 }),
|
||||
}),
|
||||
canBuy () {
|
||||
return moment().isBefore(EVENTS.summer2021.end);
|
||||
},
|
||||
},
|
||||
Windup: {
|
||||
value: 2,
|
||||
@@ -459,6 +464,18 @@ const premium = {
|
||||
canBuy: hasQuestAchievementFunction('stone'),
|
||||
_addlNotes: t('premiumPotionUnlimitedNotes'),
|
||||
},
|
||||
Sunset: {
|
||||
value: 2,
|
||||
text: t('hatchingPotionSunset'),
|
||||
limited: true,
|
||||
event: EVENTS.summer2021,
|
||||
_addlNotes: t('premiumPotionAddlNotes', {
|
||||
date: t('dateEndJuly'),
|
||||
}),
|
||||
canBuy () {
|
||||
return moment().isBefore(EVENTS.summer2021.end);
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
const wacky = {
|
||||
|
||||
Reference in New Issue
Block a user