feat(content): Shade pet/mount collection achievements
This commit is contained in:
@@ -257,6 +257,16 @@ const basicAchievs = {
|
||||
titleKey: 'achievementDomesticated',
|
||||
textKey: 'achievementDomesticatedText',
|
||||
},
|
||||
shadyCustomer: {
|
||||
icon: 'achievement-shadyCustomer',
|
||||
titleKey: 'achievementShadyCustomer',
|
||||
textKey: 'achievementShadyCustomerText',
|
||||
},
|
||||
shadeOfItAll: {
|
||||
icon: 'achievement-shadeOfItAll',
|
||||
titleKey: 'achievementShadeOfItAll',
|
||||
textKey: 'achievementShadeOfItAllText',
|
||||
},
|
||||
};
|
||||
Object.assign(achievementsData, basicAchievs);
|
||||
|
||||
|
||||
@@ -62,6 +62,13 @@ const ANIMAL_COLOR_ACHIEVEMENTS = [
|
||||
mountAchievement: 'wildBlueYonder',
|
||||
mountNotificationType: 'ACHIEVEMENT_WILD_BLUE_YONDER',
|
||||
},
|
||||
{
|
||||
color: 'Shade',
|
||||
petAchievement: 'shadyCustomer',
|
||||
petNotificationType: 'ACHIEVEMENT_SHADY_CUSTOMER',
|
||||
mountAchievement: 'shadeOfItAll',
|
||||
mountNotificationType: 'ACHIEVEMENT_SHADE_OF_IT_ALL',
|
||||
},
|
||||
];
|
||||
|
||||
export default ANIMAL_COLOR_ACHIEVEMENTS;
|
||||
|
||||
@@ -213,6 +213,8 @@ function _getBasicAchievements (user, language) {
|
||||
_addSimple(result, user, { path: 'violetsAreBlue', language });
|
||||
_addSimple(result, user, { path: 'wildBlueYonder', language });
|
||||
_addSimple(result, user, { path: 'domesticated', language });
|
||||
_addSimple(result, user, { path: 'shadyCustomer', language });
|
||||
_addSimple(result, user, { path: 'shadeOfItAll', language });
|
||||
|
||||
_addSimpleWithMasterCount(result, user, { path: 'beastMaster', language });
|
||||
_addSimpleWithMasterCount(result, user, { path: 'mountMaster', language });
|
||||
|
||||
Reference in New Issue
Block a user