mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
[WIP] Client/multiple fixes shops (#8956)
* reposition FlyingPigs and Hydra * hide count-badge if 0 * fix sortBy hatchable (ignore already hatched pets) * always show animal name * featuredItems, use shopItem objects * fix egg / potion names in market * buyModals: check for price, mark it if not enough available / change buy-button opacity / show purchaseGems button * save itemRows open/collapsed state during session, refactor itemRows for some more performance * pin featured items * show bordered items in market buyModal * fix popover margins / paddings * position pinned items popovers to the left
This commit is contained in:
@@ -1,19 +1,40 @@
|
||||
const featuredItems = {
|
||||
market: [
|
||||
'head_armoire_vikingHelm',
|
||||
'weapon_special_1',
|
||||
'shield_special_0',
|
||||
'armor_warrior_5',
|
||||
],
|
||||
quests: [
|
||||
'dilatoryDistress1',
|
||||
'dilatoryDistress2',
|
||||
'dilatoryDistress3',
|
||||
],
|
||||
seasonal: 'summerMage',
|
||||
timeTravelers: [
|
||||
market: [
|
||||
{
|
||||
type: 'armoire',
|
||||
path: 'armoire',
|
||||
},
|
||||
{
|
||||
type: 'hatchingPotion',
|
||||
path: 'hatchingPotions.Golden',
|
||||
},
|
||||
{
|
||||
type: 'food',
|
||||
path: 'food.Saddle',
|
||||
},
|
||||
],
|
||||
quests: [
|
||||
{
|
||||
type: 'quest',
|
||||
path: 'quests.gryphon',
|
||||
},
|
||||
{
|
||||
type: 'quest',
|
||||
path: 'quests.dilatoryDistress1',
|
||||
},
|
||||
{
|
||||
type: 'quest',
|
||||
path: 'quests.nudibranch',
|
||||
},
|
||||
{
|
||||
type: 'quest',
|
||||
path: 'quests.taskwoodsTerror1',
|
||||
},
|
||||
],
|
||||
seasonal: 'summerMage',
|
||||
timeTravelers: [
|
||||
// TODO
|
||||
],
|
||||
],
|
||||
};
|
||||
|
||||
export default featuredItems;
|
||||
|
||||
Reference in New Issue
Block a user