mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
WIP(customizations): load hair colors
This commit is contained in:
@@ -379,6 +379,15 @@ export default function getItemInfo (user, type, item, officialPinnedItems, lang
|
||||
};
|
||||
break;
|
||||
}
|
||||
case 'hairColor': {
|
||||
itemInfo = {
|
||||
key: item.key,
|
||||
class: `hair hair_bangs_${user.preferences.hair.bangs}_${item.key}`,
|
||||
value: item.price,
|
||||
currency: 'gems',
|
||||
};
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (itemInfo) {
|
||||
|
||||
Reference in New Issue
Block a user