import moment from 'moment'; import { EVENTS } from './constants'; // Magic Hatching Potions are configured like this: // type: 'premiumHatchingPotion', // note no "s" at the end // path: 'premiumHatchingPotions.Rainbow', // hatching potions and food names should be capitalized lest you break the market const featuredItems = { market () { if (moment().isBetween(EVENTS.potions202405.start, EVENTS.potions202405.end)) { return [ { type: 'armoire', path: 'armoire', }, { type: 'premiumHatchingPotion', path: 'premiumHatchingPotions.Floral', }, { type: 'premiumHatchingPotion', path: 'premiumHatchingPotions.Sunshine', }, { type: 'hatchingPotions', path: 'hatchingPotions.Golden', }, ]; } return [ { type: 'armoire', path: 'armoire', }, { type: 'food', path: 'food.Strawberry', }, { type: 'hatchingPotions', path: 'hatchingPotions.Red', }, { type: 'eggs', path: 'eggs.Cactus', }, ]; }, quests () { if (moment().isBetween(EVENTS.bundle202405.start, EVENTS.bundle202405.end)) { return [ { type: 'bundles', path: 'bundles.delightfulDinos', }, { type: 'quests', path: 'quests.rooster', }, { type: 'quests', path: 'quests.owl', }, ]; } return [ { type: 'quests', path: 'quests.cheetah', }, { type: 'quests', path: 'quests.nudibranch', }, { type: 'quests', path: 'quests.monkey', }, ]; }, seasonal: 'spring2019CloudRogueSet', timeTravelers: [ // TODO ], }; export default featuredItems;