2021-12-21 21:32:11 +00:00
|
|
|
import moment from 'moment';
|
2022-06-13 20:37:02 +00:00
|
|
|
import { EVENTS } from './constants';
|
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 () {
|
2022-08-15 20:28:47 +00:00
|
|
|
if (moment().isBetween(EVENTS.potions202208.start, EVENTS.potions202208.end)) {
|
2021-12-21 21:32:11 +00:00
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
type: 'armoire',
|
|
|
|
|
path: 'armoire',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'premiumHatchingPotion',
|
2022-08-15 20:28:47 +00:00
|
|
|
path: 'premiumHatchingPotions.Moonglow',
|
2021-12-21 21:32:11 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'premiumHatchingPotion',
|
2022-08-15 20:28:47 +00:00
|
|
|
path: 'premiumHatchingPotions.Porcelain',
|
2021-12-21 21:32:11 +00:00
|
|
|
},
|
|
|
|
|
{
|
2022-08-15 20:28:47 +00:00
|
|
|
type: 'food',
|
|
|
|
|
path: 'food.Milk',
|
2021-12-21 21:32:11 +00:00
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
}
|
2019-11-14 21:08:45 +00:00
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
type: 'armoire',
|
|
|
|
|
path: 'armoire',
|
|
|
|
|
},
|
|
|
|
|
{
|
2020-12-10 22:53:37 +00:00
|
|
|
type: 'food',
|
2022-09-13 14:12:24 +00:00
|
|
|
path: 'food.Potatoe',
|
2019-11-14 21:08:45 +00:00
|
|
|
},
|
|
|
|
|
{
|
2020-12-10 22:53:37 +00:00
|
|
|
type: 'hatchingPotions',
|
2022-09-13 14:12:24 +00:00
|
|
|
path: 'hatchingPotions.Desert',
|
2019-11-14 21:08:45 +00:00
|
|
|
},
|
|
|
|
|
{
|
2020-12-10 22:53:37 +00:00
|
|
|
type: 'eggs',
|
2022-08-15 20:28:47 +00:00
|
|
|
path: 'eggs.Dragon',
|
2019-11-14 21:08:45 +00:00
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
},
|
2019-12-19 22:54:27 +00:00
|
|
|
quests () {
|
2022-09-13 14:12:24 +00:00
|
|
|
if (moment().isBetween(EVENTS.bundle202208.start, EVENTS.bundle202209.end)) {
|
2021-12-21 21:32:11 +00:00
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
type: 'bundles',
|
2022-08-04 20:14:27 +00:00
|
|
|
path: 'bundles.forestFriends',
|
2021-12-21 21:32:11 +00:00
|
|
|
},
|
|
|
|
|
{
|
2022-09-13 14:12:24 +00:00
|
|
|
type: 'bundles',
|
|
|
|
|
path: 'bundles.farmFriends',
|
2021-12-21 21:32:11 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'quests',
|
2022-09-13 14:12:24 +00:00
|
|
|
path: 'quests.ferret',
|
2021-12-21 21:32:11 +00:00
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
}
|
2019-12-19 22:54:27 +00:00
|
|
|
return [
|
|
|
|
|
{
|
2020-08-03 18:26:53 +00:00
|
|
|
type: 'quests',
|
2022-09-13 14:12:24 +00:00
|
|
|
path: 'quests.guineapig',
|
2019-12-19 22:54:27 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'quests',
|
2022-06-13 20:37:02 +00:00
|
|
|
path: 'quests.onyx',
|
2019-12-19 22:54:27 +00:00
|
|
|
},
|
|
|
|
|
{
|
2021-11-19 19:43:48 +00:00
|
|
|
type: 'quests',
|
2022-06-13 20:37:02 +00:00
|
|
|
path: 'quests.rooster',
|
2019-12-19 22:54:27 +00:00
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
},
|
2022-03-18 21:24:05 +00:00
|
|
|
seasonal: 'spring2021Healer',
|
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;
|