feat(content): Vampire Hatching Potions
This commit is contained in:
@@ -149,6 +149,13 @@ const premium = {
|
||||
value: 2,
|
||||
text: t('hatchingPotionGhost'),
|
||||
limited: true,
|
||||
event: EVENTS.fall2020,
|
||||
canBuy () {
|
||||
return moment().isBefore('2020-11-02');
|
||||
},
|
||||
_addlNotes: t('premiumPotionAddlNotes', {
|
||||
date: t('dateEndOctober'),
|
||||
}),
|
||||
},
|
||||
Holly: {
|
||||
value: 2,
|
||||
@@ -276,6 +283,13 @@ const premium = {
|
||||
value: 2,
|
||||
text: t('hatchingPotionShadow'),
|
||||
limited: true,
|
||||
event: EVENTS.fall2020,
|
||||
canBuy () {
|
||||
return moment().isBefore('2020-11-02');
|
||||
},
|
||||
_addlNotes: t('premiumPotionAddlNotes', {
|
||||
date: t('dateEndOctober'),
|
||||
}),
|
||||
},
|
||||
Amber: {
|
||||
value: 2,
|
||||
@@ -347,6 +361,18 @@ const premium = {
|
||||
canBuy: hasQuestAchievementFunction('turquoise'),
|
||||
_addlNotes: t('premiumPotionUnlimitedNotes'),
|
||||
},
|
||||
Vampire: {
|
||||
value: 2,
|
||||
text: t('hatchingPotionVampire'),
|
||||
limited: true,
|
||||
event: EVENTS.fall2020,
|
||||
canBuy () {
|
||||
return moment().isBefore('2020-11-02');
|
||||
},
|
||||
_addlNotes: t('premiumPotionAddlNotes', {
|
||||
date: t('dateEndOctober'),
|
||||
}),
|
||||
},
|
||||
};
|
||||
|
||||
const wacky = {
|
||||
|
||||
@@ -1,8 +1,29 @@
|
||||
import moment from 'moment';
|
||||
// Magic Hatching Potions are configured like this:
|
||||
// type: 'premiumHatchingPotion', // note no "s" at the end
|
||||
// path: 'premiumHatchingPotions.Rainbow',
|
||||
const featuredItems = {
|
||||
market () {
|
||||
if (moment().isBefore('2020-11-02')) {
|
||||
return [
|
||||
{
|
||||
type: 'armoire',
|
||||
path: 'armoire',
|
||||
},
|
||||
{
|
||||
type: 'premiumHatchingPotion',
|
||||
path: 'premiumHatchingPotions.Vampire',
|
||||
},
|
||||
{
|
||||
type: 'premiumHatchingPotion',
|
||||
path: 'premiumHatchingPotions.Ghost',
|
||||
},
|
||||
{
|
||||
type: 'premiumHatchingPotion',
|
||||
path: 'premiumHatchingPotions.Shadow',
|
||||
},
|
||||
];
|
||||
}
|
||||
return [
|
||||
{
|
||||
type: 'armoire',
|
||||
@@ -10,15 +31,15 @@ const featuredItems = {
|
||||
},
|
||||
{
|
||||
type: 'hatchingPotions',
|
||||
path: 'hatchingPotions.Shade',
|
||||
path: 'hatchingPotions.Red',
|
||||
},
|
||||
{
|
||||
type: 'eggs',
|
||||
path: 'eggs.TigerCub',
|
||||
path: 'eggs.Fox',
|
||||
},
|
||||
{
|
||||
type: 'food',
|
||||
path: 'food.Saddle',
|
||||
path: 'food.potatoe',
|
||||
},
|
||||
];
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user