mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
feat(content): new pet color achievements
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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'},
|
||||
];
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user