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-12-19 21:53:52 +00:00
|
|
|
if (moment().isBetween(EVENTS.winter2023.start, EVENTS.winter2023.end)) {
|
2021-12-21 21:32:11 +00:00
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
type: 'armoire',
|
|
|
|
|
path: 'armoire',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'premiumHatchingPotion',
|
2022-12-19 21:53:52 +00:00
|
|
|
path: 'premiumHatchingPotions.StarryNight',
|
2021-12-21 21:32:11 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'premiumHatchingPotion',
|
2022-12-19 21:53:52 +00:00
|
|
|
path: 'premiumHatchingPotions.Holly',
|
2021-12-21 21:32:11 +00:00
|
|
|
},
|
|
|
|
|
{
|
2022-09-19 21:55:53 +00:00
|
|
|
type: 'premiumHatchingPotion',
|
2022-12-19 21:53:52 +00:00
|
|
|
path: 'premiumHatchingPotions.Aurora',
|
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-12-19 21:53:52 +00:00
|
|
|
path: 'food.RottenMeat',
|
2019-11-14 21:08:45 +00:00
|
|
|
},
|
|
|
|
|
{
|
2020-12-10 22:53:37 +00:00
|
|
|
type: 'hatchingPotions',
|
2022-12-19 21:53:52 +00:00
|
|
|
path: 'hatchingPotions.CottonCandyBlue',
|
2019-11-14 21:08:45 +00:00
|
|
|
},
|
|
|
|
|
{
|
2020-12-10 22:53:37 +00:00
|
|
|
type: 'eggs',
|
2022-12-19 21:53:52 +00:00
|
|
|
path: 'eggs.FlyingPig',
|
2019-11-14 21:08:45 +00:00
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
},
|
2019-12-19 22:54:27 +00:00
|
|
|
quests () {
|
2022-12-19 21:53:52 +00:00
|
|
|
if (moment().isBetween(EVENTS.winter2023.start, EVENTS.winter2023.end)) {
|
2021-12-21 21:32:11 +00:00
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
type: 'bundles',
|
2022-12-19 21:53:52 +00:00
|
|
|
path: 'bundles.winterQuests',
|
2021-12-21 21:32:11 +00:00
|
|
|
},
|
|
|
|
|
{
|
2022-10-11 16:53:46 +00:00
|
|
|
type: 'quests',
|
2022-12-19 21:53:52 +00:00
|
|
|
path: 'quests.whale',
|
2021-12-21 21:32:11 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'quests',
|
2022-12-19 21:53:52 +00:00
|
|
|
path: 'quests.turtle',
|
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-12-19 21:53:52 +00:00
|
|
|
path: 'quests.slime',
|
2019-12-19 22:54:27 +00:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
type: 'quests',
|
2022-12-19 21:53:52 +00:00
|
|
|
path: 'quests.seaserpent',
|
2019-12-19 22:54:27 +00:00
|
|
|
},
|
|
|
|
|
{
|
2021-11-19 19:43:48 +00:00
|
|
|
type: 'quests',
|
2022-12-19 21:53:52 +00:00
|
|
|
path: 'quests.unicorn',
|
2019-12-19 22:54:27 +00:00
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
},
|
2022-12-19 21:53:52 +00:00
|
|
|
seasonal: 'winter2022Healer',
|
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;
|