mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
chore(content): add pet quest bundle and magic hatching potions for February (#14499)
This commit is contained in:
@@ -62,8 +62,13 @@ const premium = {
|
||||
value: 2,
|
||||
text: t('hatchingPotionCupid'),
|
||||
limited: true,
|
||||
event: EVENTS.potions202302,
|
||||
_addlNotes: t('eventAvailabilityReturning', {
|
||||
availableDate: t('dateEndFebruary'),
|
||||
previousDate: t('februaryYYYY', { year: 2022 }),
|
||||
}),
|
||||
canBuy () {
|
||||
return moment().isBefore('2022-02-28T20:00-05:00');
|
||||
return moment().isBetween(EVENTS.potions202302.start, EVENTS.potions202302.end);
|
||||
},
|
||||
},
|
||||
Shimmer: {
|
||||
@@ -278,8 +283,13 @@ const premium = {
|
||||
value: 2,
|
||||
text: t('hatchingPotionRoseQuartz'),
|
||||
limited: true,
|
||||
event: EVENTS.potions202302,
|
||||
_addlNotes: t('eventAvailabilityReturning', {
|
||||
availableDate: t('dateEndFebruary'),
|
||||
previousDate: t('februaryYYYY', { year: 2022 }),
|
||||
}),
|
||||
canBuy () {
|
||||
return moment().isBefore('2022-02-28T20:00-05:00');
|
||||
return moment().isBetween(EVENTS.potions202302.start, EVENTS.potions202302.end);
|
||||
},
|
||||
},
|
||||
Celestial: {
|
||||
|
||||
Reference in New Issue
Block a user