habitica/website/common/script/content/shop-featuredItems.js

69 lines
1.3 KiB
JavaScript
Raw Normal View History

import moment from 'moment';
// Magic Hatching Potions are configured like this:
// type: 'premiumHatchingPotion', // note no "s" at the end
// path: 'premiumHatchingPotions.Rainbow',
const featuredItems = {
2019-11-14 21:08:45 +00:00
market () {
if (moment().isBefore('2021-08-31T20:00-04:00')) {
return [
{
type: 'armoire',
path: 'armoire',
},
{
type: 'food',
path: 'food.Saddle',
},
{
type: 'premiumHatchingPotion',
path: 'premiumHatchingPotions.Thunderstorm',
},
{
type: 'premiumHatchingPotion',
path: 'premiumHatchingPotions.Moonglow',
},
];
}
2019-11-14 21:08:45 +00:00
return [
{
type: 'armoire',
path: 'armoire',
},
{
type: 'food',
path: 'food.Strawberry',
2019-11-14 21:08:45 +00:00
},
{
type: 'hatchingPotions',
path: 'hatchingPotions.Base',
2019-11-14 21:08:45 +00:00
},
{
type: 'eggs',
path: 'eggs.Dragon',
2019-11-14 21:08:45 +00:00
},
];
},
2019-12-19 22:54:27 +00:00
quests () {
return [
{
type: 'quests',
2021-06-22 23:49:32 +00:00
path: 'quests.sloth',
2019-12-19 22:54:27 +00:00
},
{
type: 'quests',
2021-06-22 23:49:32 +00:00
path: 'quests.slime',
2019-12-19 22:54:27 +00:00
},
{
type: 'bundles',
path: 'bundles.birdBuddies',
2019-12-19 22:54:27 +00:00
},
];
},
2021-06-22 23:49:32 +00:00
seasonal: 'summer2020Healer',
timeTravelers: [
// TODO
],
};
export default featuredItems;