2019-11-14 21:08:45 +00:00
|
|
|
import moment from 'moment';
|
|
|
|
|
|
2018-03-31 11:46:51 +00:00
|
|
|
// Magic Hatching Potions are configured like this:
|
|
|
|
|
// type: 'premiumHatchingPotion', // note no "s" at the end
|
|
|
|
|
// path: 'premiumHatchingPotions.Rainbow',
|
2017-07-27 17:41:23 +00:00
|
|
|
const featuredItems = {
|
2019-11-14 21:08:45 +00:00
|
|
|
market () {
|
2020-01-01 20:45:18 +00:00
|
|
|
if (moment().isBetween('2019-12-19', '2020-01-02')) {
|
2019-11-14 21:08:45 +00:00
|
|
|
return [
|
|
|
|
|
{
|
2019-12-31 01:44:22 +00:00
|
|
|
type: 'card',
|
|
|
|
|
path: 'cardTypes.nye',
|
2019-11-14 21:08:45 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'premiumHatchingPotion',
|
2019-12-19 22:54:27 +00:00
|
|
|
path: 'premiumHatchingPotions.Aurora',
|
2019-11-14 21:08:45 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'premiumHatchingPotion',
|
2019-12-19 22:54:27 +00:00
|
|
|
path: 'premiumHatchingPotions.Holly',
|
2019-11-14 21:08:45 +00:00
|
|
|
},
|
|
|
|
|
{
|
2019-12-19 22:54:27 +00:00
|
|
|
type: 'premiumHatchingPotion',
|
|
|
|
|
path: 'premiumHatchingPotions.StarryNight',
|
2019-11-14 21:08:45 +00:00
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
}
|
2020-01-01 20:45:18 +00:00
|
|
|
if (moment().isBetween('2019-12-19', '2020-02-02')) {
|
|
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
type: 'armoire',
|
|
|
|
|
path: 'armoire',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'premiumHatchingPotion',
|
|
|
|
|
path: 'premiumHatchingPotions.Aurora',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'premiumHatchingPotion',
|
|
|
|
|
path: 'premiumHatchingPotions.Holly',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'premiumHatchingPotion',
|
|
|
|
|
path: 'premiumHatchingPotions.StarryNight',
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
}
|
2019-11-14 21:08:45 +00:00
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
type: 'armoire',
|
|
|
|
|
path: 'armoire',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'hatchingPotions',
|
2019-12-19 22:54:27 +00:00
|
|
|
path: 'hatchingPotions.White',
|
2019-11-14 21:08:45 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'eggs',
|
2019-12-19 22:54:27 +00:00
|
|
|
path: 'eggs.PandaCub',
|
2019-11-14 21:08:45 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'food',
|
|
|
|
|
path: 'food.Saddle',
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
},
|
2019-12-19 22:54:27 +00:00
|
|
|
quests () {
|
|
|
|
|
if (moment().isBetween('2019-12-19', '2020-02-02')) {
|
|
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
type: 'bundles',
|
|
|
|
|
path: 'bundles.winterQuests',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'quests',
|
|
|
|
|
path: 'quests.evilsanta',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'quests',
|
|
|
|
|
path: 'quests.evilsanta2',
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
type: 'quests',
|
|
|
|
|
path: 'quests.treeling',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'quests',
|
|
|
|
|
path: 'quests.stoikalmCalamity1',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'quests',
|
|
|
|
|
path: 'quests.silver',
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
},
|
|
|
|
|
seasonal: 'winter2019Warrior',
|
2017-08-16 22:34:25 +00:00
|
|
|
timeTravelers: [
|
2018-02-17 17:11:24 +00:00
|
|
|
// TODO
|
2017-08-16 22:34:25 +00:00
|
|
|
],
|
2017-07-27 17:41:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default featuredItems;
|