chore(content): add Bone to Pick achievement (#14318)

* chore(content): add Bone to Pick achievement

* chore(content): update spritesmith-main.css

* chore(content): add more bone picking

* chore(content): more bone picking

* chore(content): bone picking

* chore(content): i gotta bone to pick here

* chore(content): final bone picking

* chore: add migration script

* chore: update habitica-images

Co-authored-by: SabreCat <sabe@habitica.com>
This commit is contained in:
Natalie L
2022-10-31 15:19:56 -04:00
committed by GitHub
parent e39a5a0628
commit 3bc82a6692
11 changed files with 195 additions and 1 deletions
@@ -310,6 +310,15 @@ const mountColorAchievs = {
};
Object.assign(achievementsData, mountColorAchievs);
const petSetCompleteAchievs = {
boneToPick: {
icon: 'achievement-boneToPick',
titleKey: 'achievementBoneToPick',
textKey: 'achievementBoneToPickText',
},
};
Object.assign(achievementsData, petSetCompleteAchievs);
const onboardingAchievs = {
createdTask: {
icon: 'achievement-createdTask',
@@ -32,6 +32,7 @@ export { default as SEASONAL_SETS } from './seasonalSets';
export { default as ANIMAL_COLOR_ACHIEVEMENTS } from './animalColorAchievements';
export { default as ANIMAL_SET_ACHIEVEMENTS } from './animalSetAchievements';
export { default as QUEST_SERIES_ACHIEVEMENTS } from './questSeriesAchievements';
export { default as PET_SET_COMPLETE_ACHIEVEMENTS } from './petCompleteSetAchievements'; // eslint-disable-line import/no-cycle
export { default as STABLE_ACHIEVEMENTS } from './stableAchievements';
export { default as ITEM_LIST } from './itemList';
export { default as QUEST_SERIES } from '../quests/series';
@@ -0,0 +1,11 @@
// this achievement covers all pets of a specific type--classic & quest
const PET_SET_COMPLETE_ACHIEVEMENTS = [
{
color: 'Skeleton',
petAchievement: 'boneToPick',
petNotificationType: 'ACHIEVEMENT_PET_SET_COMPLETE',
},
];
export default PET_SET_COMPLETE_ACHIEVEMENTS;
+2
View File
@@ -13,6 +13,7 @@ import {
ANIMAL_COLOR_ACHIEVEMENTS,
ANIMAL_SET_ACHIEVEMENTS,
STABLE_ACHIEVEMENTS,
PET_SET_COMPLETE_ACHIEVEMENTS,
} from './constants';
import achievements from './achievements';
@@ -43,6 +44,7 @@ api.questSeriesAchievements = QUEST_SERIES_ACHIEVEMENTS;
api.animalColorAchievements = ANIMAL_COLOR_ACHIEVEMENTS;
api.animalSetAchievements = ANIMAL_SET_ACHIEVEMENTS;
api.stableAchievements = STABLE_ACHIEVEMENTS;
api.petSetCompleteAchievs = PET_SET_COMPLETE_ACHIEVEMENTS;
api.quests = quests;
api.questsByLevel = questsByLevel;