mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01:00
May 2022 Magic Hatching Potions and Quest Bundle (#13979)
* May 2022 magic hatching potions and quest bundle * fix(string): typo * fix(content): add and use event Co-authored-by: SabreCat <sabe@habitica.com>
This commit is contained in:
@@ -780,7 +780,7 @@
|
|||||||
"rockingReptilesNotes": "Contains 'The Insta-Gator,' 'The Serpent of Distraction,' and 'The Veloci-Rapper.' Available until September 30.",
|
"rockingReptilesNotes": "Contains 'The Insta-Gator,' 'The Serpent of Distraction,' and 'The Veloci-Rapper.' Available until September 30.",
|
||||||
|
|
||||||
"delightfulDinosText": "Delightful Dinos Quest Bundle",
|
"delightfulDinosText": "Delightful Dinos Quest Bundle",
|
||||||
"delightfulDinosNotes": "Contains 'The Pterror-dactyl,' 'The Trampling Triceratops,' and 'The Dinosaur Unearthed.' Available until November 30.",
|
"delightfulDinosNotes": "Contains 'The Pterror-dactyl,' 'The Trampling Triceratops,' and 'The Dinosaur Unearthed.' Available until May 31.",
|
||||||
|
|
||||||
"questAmberText": "The Amber Alliance",
|
"questAmberText": "The Amber Alliance",
|
||||||
"questAmberNotes": "You’re sitting in the Tavern with @beffymaroo and @-Tyr- when @Vikte bursts through the door and excitedly tells you about the rumors of another type of Magic Hatching Potion hidden in the Taskwoods. Having completed your Dailies, the three of you immediately agree to help @Vikte on their search. After all, what’s the harm in a little adventure?<br><br>After walking through the Taskwoods for hours, you’re beginning to regret joining such a wild chase. You’re about to head home, when you hear a surprised yelp and turn to see a huge lizard with shiny amber scales coiled around a tree, clutching @Vikte in her claws. @beffymaroo reaches for her sword.<br><br>“Wait!” cries @-Tyr-. “It’s the Trerezin! She’s not dangerous, just dangerously clingy!”",
|
"questAmberNotes": "You’re sitting in the Tavern with @beffymaroo and @-Tyr- when @Vikte bursts through the door and excitedly tells you about the rumors of another type of Magic Hatching Potion hidden in the Taskwoods. Having completed your Dailies, the three of you immediately agree to help @Vikte on their search. After all, what’s the harm in a little adventure?<br><br>After walking through the Taskwoods for hours, you’re beginning to regret joining such a wild chase. You’re about to head home, when you hear a surprised yelp and turn to see a huge lizard with shiny amber scales coiled around a tree, clutching @Vikte in her claws. @beffymaroo reaches for her sword.<br><br>“Wait!” cries @-Tyr-. “It’s the Trerezin! She’s not dangerous, just dangerously clingy!”",
|
||||||
|
|||||||
@@ -220,7 +220,7 @@ const bundles = {
|
|||||||
'trex_undead',
|
'trex_undead',
|
||||||
],
|
],
|
||||||
canBuy () {
|
canBuy () {
|
||||||
return moment().isBetween('2019-11-14', '2019-12-02');
|
return moment().isBetween('2022-05-16', '2022-05-31');
|
||||||
},
|
},
|
||||||
type: 'quests',
|
type: 'quests',
|
||||||
value: 7,
|
value: 7,
|
||||||
|
|||||||
@@ -10,11 +10,17 @@ const gemsPromo = {
|
|||||||
|
|
||||||
export const EVENTS = {
|
export const EVENTS = {
|
||||||
noCurrentEvent: {
|
noCurrentEvent: {
|
||||||
start: '2022-04-30T20:00-05:00',
|
start: '2022-05-31T20:00-04:00',
|
||||||
end: '2022-06-30T20:00-05:00',
|
end: '2022-06-30T20:00-05:00',
|
||||||
season: 'normal',
|
season: 'normal',
|
||||||
npcImageSuffix: '',
|
npcImageSuffix: '',
|
||||||
},
|
},
|
||||||
|
potions202205: {
|
||||||
|
start: '2022-05-17T08:00-04:00',
|
||||||
|
end: '2022-05-31T20:00-04:00',
|
||||||
|
season: 'normal',
|
||||||
|
npcImageSuffix: '',
|
||||||
|
},
|
||||||
spring2022: {
|
spring2022: {
|
||||||
start: '2022-03-22T08:00-05:00',
|
start: '2022-03-22T08:00-05:00',
|
||||||
end: '2022-04-30T20:00-05:00',
|
end: '2022-04-30T20:00-05:00',
|
||||||
|
|||||||
@@ -96,13 +96,13 @@ const premium = {
|
|||||||
value: 2,
|
value: 2,
|
||||||
text: t('hatchingPotionFloral'),
|
text: t('hatchingPotionFloral'),
|
||||||
limited: true,
|
limited: true,
|
||||||
event: EVENTS.potions202105,
|
event: EVENTS.potions202205,
|
||||||
_addlNotes: t('eventAvailabilityReturning', {
|
_addlNotes: t('eventAvailabilityReturning', {
|
||||||
availableDate: t('dateEndMay'),
|
availableDate: t('dateEndMay'),
|
||||||
previousDate: t('mayYYYY', { year: 2019 }),
|
previousDate: t('mayYYYY', { year: 2021 }),
|
||||||
}),
|
}),
|
||||||
canBuy () {
|
canBuy () {
|
||||||
return moment().isBefore(EVENTS.potions202105.end);
|
return moment().isBefore(EVENTS.potions202205.end);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Aquatic: {
|
Aquatic: {
|
||||||
@@ -297,12 +297,13 @@ const premium = {
|
|||||||
value: 2,
|
value: 2,
|
||||||
text: t('hatchingPotionSunshine'),
|
text: t('hatchingPotionSunshine'),
|
||||||
limited: true,
|
limited: true,
|
||||||
|
event: EVENTS.potions202205,
|
||||||
_addlNotes: t('eventAvailabilityReturning', {
|
_addlNotes: t('eventAvailabilityReturning', {
|
||||||
availableDate: t('dateEndMay'),
|
availableDate: t('dateEndMay'),
|
||||||
previousDate: t('mayYYYY', { year: 2019 }),
|
previousDate: t('mayYYYY', { year: 2020 }),
|
||||||
}),
|
}),
|
||||||
canBuy () {
|
canBuy () {
|
||||||
return moment().isBefore('2020-06-02');
|
return moment().isBefore(EVENTS.potions202205.end);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Bronze: {
|
Bronze: {
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { EVENTS } from './constants';
|
// import { EVENTS } from './constants';
|
||||||
// Magic Hatching Potions are configured like this:
|
// Magic Hatching Potions are configured like this:
|
||||||
// type: 'premiumHatchingPotion', // note no "s" at the end
|
// type: 'premiumHatchingPotion', // note no "s" at the end
|
||||||
// path: 'premiumHatchingPotions.Rainbow',
|
// path: 'premiumHatchingPotions.Rainbow',
|
||||||
const featuredItems = {
|
const featuredItems = {
|
||||||
market () {
|
market () {
|
||||||
if (moment().isBefore(EVENTS.spring2022.end)) {
|
if (moment().isBefore('2022-05-31T20:00-04:00')) {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
type: 'armoire',
|
type: 'armoire',
|
||||||
@@ -13,15 +13,15 @@ const featuredItems = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'premiumHatchingPotion',
|
type: 'premiumHatchingPotion',
|
||||||
path: 'premiumHatchingPotions.Shimmer',
|
path: 'premiumHatchingPotions.Sunshine',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'premiumHatchingPotion',
|
type: 'premiumHatchingPotion',
|
||||||
path: 'premiumHatchingPotions.Celestial',
|
path: 'premiumHatchingPotions.Floral',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'premiumHatchingPotion',
|
type: 'hatchingPotions',
|
||||||
path: 'premiumHatchingPotions.PolkaDot',
|
path: 'hatchingPotions.Golden',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@@ -45,19 +45,19 @@ const featuredItems = {
|
|||||||
];
|
];
|
||||||
},
|
},
|
||||||
quests () {
|
quests () {
|
||||||
if (moment().isBefore('2022-03-31T20:00-04:00')) {
|
if (moment().isBefore('2022-05-31T20:00-04:00')) {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
type: 'bundles',
|
type: 'bundles',
|
||||||
path: 'bundles.cuddleBuddies',
|
path: 'bundles.delightfulDinos',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'quests',
|
type: 'quests',
|
||||||
path: 'quests.egg',
|
path: 'quests.alligator',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'quests',
|
type: 'quests',
|
||||||
path: 'quests.ghost_stag',
|
path: 'quests.turtle',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user