mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01:00
chore(content): add items to featured
This commit is contained in:
@@ -5,7 +5,7 @@ import { EVENTS } from './constants';
|
|||||||
// path: 'premiumHatchingPotions.Rainbow',
|
// path: 'premiumHatchingPotions.Rainbow',
|
||||||
const featuredItems = {
|
const featuredItems = {
|
||||||
market () {
|
market () {
|
||||||
if (moment().isBefore(EVENTS.summer2022.end)) {
|
if (moment().isBetween(EVENTS.potions202208.start, EVENTS.potions202208.end)) {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
type: 'armoire',
|
type: 'armoire',
|
||||||
@@ -13,15 +13,15 @@ const featuredItems = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'premiumHatchingPotion',
|
type: 'premiumHatchingPotion',
|
||||||
path: 'premiumHatchingPotions.Sunset',
|
path: 'premiumHatchingPotions.Moonglow',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'premiumHatchingPotion',
|
type: 'premiumHatchingPotion',
|
||||||
path: 'premiumHatchingPotions.Watery',
|
path: 'premiumHatchingPotions.Porcelain',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'premiumHatchingPotion',
|
type: 'food',
|
||||||
path: 'premiumHatchingPotions.Aquatic',
|
path: 'food.Milk',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@@ -32,15 +32,15 @@ const featuredItems = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'food',
|
type: 'food',
|
||||||
path: 'food.Honey',
|
path: 'food.RottenMeat',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'hatchingPotions',
|
type: 'hatchingPotions',
|
||||||
path: 'hatchingPotions.CottonCandyPink',
|
path: 'hatchingPotions.Zombie',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'eggs',
|
type: 'eggs',
|
||||||
path: 'eggs.BearCub',
|
path: 'eggs.Dragon',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user