mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
68 lines
1.3 KiB
JavaScript
68 lines
1.3 KiB
JavaScript
import moment from 'moment';
|
|
|
|
// Magic Hatching Potions are configured like this:
|
|
// type: 'premiumHatchingPotion', // note no "s" at the end
|
|
// path: 'premiumHatchingPotions.Rainbow',
|
|
const featuredItems = {
|
|
market () {
|
|
if (moment().isBetween('2019-11-01', '2019-12-02')) {
|
|
return [
|
|
{
|
|
type: 'armoire',
|
|
path: 'armoire',
|
|
},
|
|
{
|
|
type: 'premiumHatchingPotion',
|
|
path: 'premiumHatchingPotions.Ember',
|
|
},
|
|
{
|
|
type: 'premiumHatchingPotion',
|
|
path: 'premiumHatchingPotions.Thunderstorm',
|
|
},
|
|
{
|
|
type: 'food',
|
|
path: 'food.Saddle',
|
|
},
|
|
];
|
|
}
|
|
return [
|
|
{
|
|
type: 'armoire',
|
|
path: 'armoire',
|
|
},
|
|
{
|
|
type: 'hatchingPotions',
|
|
path: 'hatchingPotions.Skeleton',
|
|
},
|
|
{
|
|
type: 'eggs',
|
|
path: 'eggs.Fox',
|
|
},
|
|
{
|
|
type: 'food',
|
|
path: 'food.Saddle',
|
|
},
|
|
];
|
|
},
|
|
quests: [
|
|
{
|
|
type: 'bundles',
|
|
path: 'bundles.delightfulDinos',
|
|
},
|
|
{
|
|
type: 'quests',
|
|
path: 'quests.taskwoodsTerror1',
|
|
},
|
|
{
|
|
type: 'quests',
|
|
path: 'quests.silver',
|
|
},
|
|
],
|
|
seasonal: 'fall2018Rogue',
|
|
timeTravelers: [
|
|
// TODO
|
|
],
|
|
};
|
|
|
|
export default featuredItems;
|