chore(content): add Porcelain Magic Hatching Potion (#14168)

* chore(submodule): add August 2022 Mystery Items

* chore: update habitica-images

* chore(content): add Porcelain Magic Hatching Potion

* chore(content): update moonglow potion availability

* fix(events): no gap between events

Co-authored-by: Sabe Jones <sabrecat@gmail.com>
This commit is contained in:
Natalie L
2022-08-15 16:14:23 -04:00
committed by GitHub
parent d3a91aab72
commit f0b5637e9e
5 changed files with 210 additions and 11 deletions

View File

@@ -503,12 +503,13 @@ const premium = {
value: 2,
text: t('hatchingPotionMoonglow'),
limited: true,
event: EVENTS.potions202108,
event: EVENTS.potions202208,
_addlNotes: t('premiumPotionAddlNotes', {
date: t('dateEndAugust'),
previousDate: t('augustYYYY', { year: 2021 }),
}),
canBuy () {
return moment().isBetween(EVENTS.potions202108.start, EVENTS.potions202108.end);
return moment().isBetween(EVENTS.potions202208.start, EVENTS.potions202208.end);
},
},
SolarSystem: {
@@ -525,6 +526,18 @@ const premium = {
canBuy: hasQuestAchievementFunction('onyx'),
_addlNotes: t('premiumPotionUnlimitedNotes'),
},
Porcelain: {
value: 2,
text: t('hatchingPotionPorcelain'),
limited: true,
event: EVENTS.potions202208,
_addlNotes: t('premiumPotionAddlNotes', {
date: t('dateEndAugust'),
}),
canBuy () {
return moment().isBetween(EVENTS.potions202208.start, EVENTS.potions202208.end);
},
},
};
const wacky = {