feat(content): new pet color achievements

This commit is contained in:
Sabe Jones
2019-09-17 16:10:32 -05:00
parent 7425120759
commit 7d732b5612
17 changed files with 225 additions and 47 deletions

View File

@@ -147,6 +147,16 @@ let basicAchievs = {
titleKey: 'achievementAllYourBase',
textKey: 'achievementAllYourBaseText',
},
dustDevil: {
icon: 'achievement-dustDevil',
titleKey: 'achievementDustDevil',
textKey: 'achievementDustDevilText',
},
aridAuthority: {
icon: 'achievement-aridAuthority',
titleKey: 'achievementAridAuthority',
textKey: 'achievementAridAuthorityText',
},
};
Object.assign(achievementsData, basicAchievs);

View File

@@ -256,14 +256,7 @@ export const QUEST_SERIES_ACHIEVEMENTS = {
],
};
export const BASE_PETS_MOUNTS = [
'Wolf-Base',
'TigerCub-Base',
'PandaCub-Base',
'LionCub-Base',
'Fox-Base',
'FlyingPig-Base',
'Dragon-Base',
'Cactus-Base',
'BearCub-Base',
export const ANIMAL_COLOR_ACHIEVEMENTS = [
{color: 'Base', petAchievement: 'backToBasics', petNotificationType: 'ACHIEVEMENT_BACK_TO_BASICS', mountAchievement: 'allYourBase', mountNotificationType: 'ACHIEVEMENT_ALL_YOUR_BASE'},
{color: 'Desert', petAchievement: 'dustDevil', petNotificationType: 'ACHIEVEMENT_DUST_DEVIL', mountAchievement: 'aridAuthority', mountNotificationType: 'ACHIEVEMENT_ARID_AUTHORITY'},
];

View File

@@ -8,7 +8,7 @@ import {
GEAR_TYPES,
ITEM_LIST,
QUEST_SERIES_ACHIEVEMENTS,
BASE_PETS_MOUNTS,
ANIMAL_COLOR_ACHIEVEMENTS,
} from './constants';
let api = module.exports;
@@ -38,7 +38,7 @@ import officialPinnedItems from './officialPinnedItems';
api.achievements = achievements;
api.questSeriesAchievements = QUEST_SERIES_ACHIEVEMENTS;
api.basePetsMounts = BASE_PETS_MOUNTS;
api.animalColorAchievements = ANIMAL_COLOR_ACHIEVEMENTS;
api.quests = quests;
api.questsByLevel = questsByLevel;