mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
feat(content): add April fool day potions
This commit is contained in:
@@ -311,6 +311,7 @@
|
|||||||
"hatchingPotionVirtualPet": "Virtual Pet",
|
"hatchingPotionVirtualPet": "Virtual Pet",
|
||||||
"hatchingPotionPorcelain": "Porcelain",
|
"hatchingPotionPorcelain": "Porcelain",
|
||||||
"hatchingPotionPinkMarble": "Pink Marble",
|
"hatchingPotionPinkMarble": "Pink Marble",
|
||||||
|
"hatchingPotionTeaShop": "Tea Shop",
|
||||||
|
|
||||||
"hatchingPotionNotes": "Pour this on an egg, and it will hatch as a <%= potText(locale) %> pet.",
|
"hatchingPotionNotes": "Pour this on an egg, and it will hatch as a <%= potText(locale) %> pet.",
|
||||||
"premiumPotionAddlNotes": "Not usable on quest pet eggs. Available for purchase until <%= date(locale) %>.",
|
"premiumPotionAddlNotes": "Not usable on quest pet eggs. Available for purchase until <%= date(locale) %>.",
|
||||||
|
|||||||
@@ -564,13 +564,13 @@ const wacky = {
|
|||||||
Veggie: {
|
Veggie: {
|
||||||
text: t('hatchingPotionVeggie'),
|
text: t('hatchingPotionVeggie'),
|
||||||
limited: true,
|
limited: true,
|
||||||
event: EVENTS.spring2022,
|
event: EVENTS.spring2023,
|
||||||
_addlNotes: t('eventAvailabilityReturning', {
|
_addlNotes: t('eventAvailabilityReturning', {
|
||||||
availableDate: t('dateEndApril'),
|
availableDate: t('dateEndApril'),
|
||||||
previousDate: t('aprilYYYY', { year: 2021 }),
|
previousDate: t('aprilYYYY', { year: 2022 }),
|
||||||
}),
|
}),
|
||||||
canBuy () {
|
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: {
|
Dessert: {
|
||||||
@@ -585,6 +585,17 @@ const wacky = {
|
|||||||
_addlNotes: t('premiumPotionUnlimitedNotes'),
|
_addlNotes: t('premiumPotionUnlimitedNotes'),
|
||||||
canBuy: hasQuestAchievementFunction('virtualpet'),
|
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) => {
|
each(drops, (pot, key) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user