feat(content): add boneless boss achievement (#14788)

* feat(content): add June subscriber items

* feat(content): add boneless boss achievement

---------

Co-authored-by: SabreCat <sabe@habitica.com>
This commit is contained in:
Natalie L
2023-08-22 13:23:43 -04:00
committed by GitHub
parent 2803db73e5
commit e8f5958f77
5 changed files with 25 additions and 1 deletions

View File

@@ -150,5 +150,8 @@
"achievementPlantParentModalText": "You collected all the Plant Pets!", "achievementPlantParentModalText": "You collected all the Plant Pets!",
"achievementDinosaurDynasty": "Dinosaur Dynasty", "achievementDinosaurDynasty": "Dinosaur Dynasty",
"achievementDinosaurDynastyText": "Has hatched all standard colors of bird and dinosaur pets: Falcon, Owl, Parrot, Peacock, Penguin, Rooster, Pterodactyl, T-Rex, Triceratops, and Velociraptor!", "achievementDinosaurDynastyText": "Has hatched all standard colors of bird and dinosaur pets: Falcon, Owl, Parrot, Peacock, Penguin, Rooster, Pterodactyl, T-Rex, Triceratops, and Velociraptor!",
"achievementDinosaurDynastyModalText": "You collected all the bird and dinosaur pets!" "achievementDinosaurDynastyModalText": "You collected all the bird and dinosaur pets!",
"achievementBonelessBoss": "Boneless Boss",
"achievementBonelessBossText": "Has hatched all standard colors of invertebrate pets: Beetle, Butterfly, Cuttlefish, Nudibranch, Octopus, Snail, and Spider!",
"achievementBonelessBossModalText": "You collected all the invertebrate pets!"
} }

View File

@@ -178,6 +178,11 @@ const animalSetAchievs = {
titleKey: 'achievementBirdsOfAFeather', titleKey: 'achievementBirdsOfAFeather',
textKey: 'achievementBirdsOfAFeatherText', textKey: 'achievementBirdsOfAFeatherText',
}, },
bonelessBoss: {
icon: 'achievement-bonelessBoss',
titleKey: 'achievementBonelessBoss',
textKey: 'achievementBonelessBossText',
},
dinosaurDynasty: { dinosaurDynasty: {
icon: 'achievement-dinosaurDynasty', icon: 'achievement-dinosaurDynasty',
titleKey: 'achievementDinosaurDynasty', titleKey: 'achievementDinosaurDynasty',

View File

@@ -26,6 +26,20 @@ const ANIMAL_SET_ACHIEVEMENTS = {
achievementKey: 'birdsOfAFeather', achievementKey: 'birdsOfAFeather',
notificationType: 'ACHIEVEMENT_ANIMAL_SET', notificationType: 'ACHIEVEMENT_ANIMAL_SET',
}, },
bonelessBoss: {
type: 'pet',
species: [
'Beetle',
'Butterfly',
'Cuttlefish',
'Nudibranch',
'Octopus',
'Snail',
'Spider',
],
achievementKey: 'bonelessBoss',
notificationType: 'ACHIEVEMENT_ANIMAL_SET',
},
dinosaurDynasty: { dinosaurDynasty: {
type: 'pet', type: 'pet',
species: [ species: [

View File

@@ -222,6 +222,7 @@ function _getBasicAchievements (user, language) {
_addSimple(result, user, { path: 'polarPro', language }); _addSimple(result, user, { path: 'polarPro', language });
_addSimple(result, user, { path: 'plantParent', language }); _addSimple(result, user, { path: 'plantParent', language });
_addSimple(result, user, { path: 'dinosaurDynasty', language }); _addSimple(result, user, { path: 'dinosaurDynasty', language });
_addSimple(result, user, { path: 'bonelessBoss', language });
_addSimpleWithMasterCount(result, user, { path: 'beastMaster', language }); _addSimpleWithMasterCount(result, user, { path: 'beastMaster', language });
_addSimpleWithMasterCount(result, user, { path: 'mountMaster', language }); _addSimpleWithMasterCount(result, user, { path: 'mountMaster', language });

View File

@@ -155,6 +155,7 @@ export default new Schema({
polarPro: Boolean, polarPro: Boolean,
plantParent: Boolean, plantParent: Boolean,
dinosaurDynasty: Boolean, dinosaurDynasty: Boolean,
bonelessBoss: Boolean,
// Onboarding Guide // Onboarding Guide
createdTask: Boolean, createdTask: Boolean,
completedTask: Boolean, completedTask: Boolean,