mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-15 08:22:17 +00:00
chore(content): add items to featured
This commit is contained in:
parent
f0b5637e9e
commit
b82239811c
1 changed files with 8 additions and 8 deletions
|
|
@ -5,7 +5,7 @@ import { EVENTS } from './constants';
|
|||
// path: 'premiumHatchingPotions.Rainbow',
|
||||
const featuredItems = {
|
||||
market () {
|
||||
if (moment().isBefore(EVENTS.summer2022.end)) {
|
||||
if (moment().isBetween(EVENTS.potions202208.start, EVENTS.potions202208.end)) {
|
||||
return [
|
||||
{
|
||||
type: 'armoire',
|
||||
|
|
@ -13,15 +13,15 @@ const featuredItems = {
|
|||
},
|
||||
{
|
||||
type: 'premiumHatchingPotion',
|
||||
path: 'premiumHatchingPotions.Sunset',
|
||||
path: 'premiumHatchingPotions.Moonglow',
|
||||
},
|
||||
{
|
||||
type: 'premiumHatchingPotion',
|
||||
path: 'premiumHatchingPotions.Watery',
|
||||
path: 'premiumHatchingPotions.Porcelain',
|
||||
},
|
||||
{
|
||||
type: 'premiumHatchingPotion',
|
||||
path: 'premiumHatchingPotions.Aquatic',
|
||||
type: 'food',
|
||||
path: 'food.Milk',
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
@ -32,15 +32,15 @@ const featuredItems = {
|
|||
},
|
||||
{
|
||||
type: 'food',
|
||||
path: 'food.Honey',
|
||||
path: 'food.RottenMeat',
|
||||
},
|
||||
{
|
||||
type: 'hatchingPotions',
|
||||
path: 'hatchingPotions.CottonCandyPink',
|
||||
path: 'hatchingPotions.Zombie',
|
||||
},
|
||||
{
|
||||
type: 'eggs',
|
||||
path: 'eggs.BearCub',
|
||||
path: 'eggs.Dragon',
|
||||
},
|
||||
];
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue