fix(shops): improve featured potion and quest

This commit is contained in:
Sabe Jones
2020-04-10 16:17:15 -05:00
parent 9c6c90a2e9
commit 08c63f94fc
5 changed files with 6 additions and 5 deletions

View File

@@ -4,6 +4,7 @@ import moment from 'moment';
import sortBy from 'lodash/sortBy';
import t from './translation';
import {
EVENTS,
USER_CAN_OWN_QUEST_CATEGORIES,
} from './constants';
@@ -3584,7 +3585,7 @@ const quests = {
completion: t('questWaffleCompletion'),
value: 4,
category: 'hatchingPotion',
limited: true,
event: EVENTS.spring2020,
boss: {
name: t('questWaffleBoss'),
hp: 500,

View File

@@ -24,7 +24,7 @@ const featuredItems = {
path: 'premiumHatchingPotions.Celestial',
},
{
type: 'hatchingPotions',
type: 'premiumHatchingPotion',
path: 'hatchingPotions.Veggie',
},
];

View File

@@ -134,7 +134,7 @@ export default function getItemInfo (user, type, item, officialPinnedItems, lang
notes: item.notes(language),
addlNotes: item.addlNotes ? item.addlNotes(language) : null,
group: item.group,
limited: item.limited ? item.limited : false,
event: item.event,
value: item.goldValue ? item.goldValue : item.value,
locked,
previous: content.quests[item.previous]