mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
fix(shops): improve featured potion and quest
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -24,7 +24,7 @@ const featuredItems = {
|
||||
path: 'premiumHatchingPotions.Celestial',
|
||||
},
|
||||
{
|
||||
type: 'hatchingPotions',
|
||||
type: 'premiumHatchingPotion',
|
||||
path: 'hatchingPotions.Veggie',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user