mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
feat(content): Dune Buddy Achievement
This commit is contained in:
@@ -153,5 +153,8 @@
|
|||||||
"achievementDinosaurDynastyModalText": "You collected all the bird and dinosaur pets!",
|
"achievementDinosaurDynastyModalText": "You collected all the bird and dinosaur pets!",
|
||||||
"achievementBonelessBoss": "Boneless Boss",
|
"achievementBonelessBoss": "Boneless Boss",
|
||||||
"achievementBonelessBossText": "Has hatched all standard colors of invertebrate pets: Beetle, Butterfly, Cuttlefish, Nudibranch, Octopus, Snail, and Spider!",
|
"achievementBonelessBossText": "Has hatched all standard colors of invertebrate pets: Beetle, Butterfly, Cuttlefish, Nudibranch, Octopus, Snail, and Spider!",
|
||||||
"achievementBonelessBossModalText": "You collected all the invertebrate pets!"
|
"achievementBonelessBossModalText": "You collected all the invertebrate pets!",
|
||||||
|
"achievementDuneBuddy": "Dune Buddy",
|
||||||
|
"achievementDuneBuddyText": "Has hatched all standard colors of desert dwelling pets: Armadillo, Cactus, Fox, Frog, Snake, and Spider!",
|
||||||
|
"achievementDuneBuddyNotes": "You collected all the desert dwelling pets!"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -193,6 +193,11 @@ const animalSetAchievs = {
|
|||||||
titleKey: 'achievementDomesticated',
|
titleKey: 'achievementDomesticated',
|
||||||
textKey: 'achievementDomesticatedText',
|
textKey: 'achievementDomesticatedText',
|
||||||
},
|
},
|
||||||
|
duneBuddy: {
|
||||||
|
icon: 'achievement-duneBuddy',
|
||||||
|
titleKey: 'achievementDuneBuddy',
|
||||||
|
textKey: 'achievementDuneBuddyText',
|
||||||
|
},
|
||||||
plantParent: {
|
plantParent: {
|
||||||
icon: 'achievement-plantParent',
|
icon: 'achievement-plantParent',
|
||||||
titleKey: 'achievementPlantParent',
|
titleKey: 'achievementPlantParent',
|
||||||
|
|||||||
@@ -72,6 +72,19 @@ const ANIMAL_SET_ACHIEVEMENTS = {
|
|||||||
achievementKey: 'domesticated',
|
achievementKey: 'domesticated',
|
||||||
notificationType: 'ACHIEVEMENT_ANIMAL_SET',
|
notificationType: 'ACHIEVEMENT_ANIMAL_SET',
|
||||||
},
|
},
|
||||||
|
duneBuddy: {
|
||||||
|
type: 'pet',
|
||||||
|
species: [
|
||||||
|
'Armadillo',
|
||||||
|
'Cactus',
|
||||||
|
'Fox',
|
||||||
|
'Frog',
|
||||||
|
'Snake',
|
||||||
|
'Spider',
|
||||||
|
],
|
||||||
|
achievementKey: 'duneBuddy',
|
||||||
|
notificationType: 'ACHIEVEMENT_ANIMAL_SET',
|
||||||
|
},
|
||||||
plantParent: {
|
plantParent: {
|
||||||
type: 'pet',
|
type: 'pet',
|
||||||
species: [
|
species: [
|
||||||
|
|||||||
@@ -223,6 +223,7 @@ function _getBasicAchievements (user, 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 });
|
_addSimple(result, user, { path: 'bonelessBoss', language });
|
||||||
|
_addSimple(result, user, { path: 'duneBuddy', 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 });
|
||||||
|
|||||||
@@ -156,6 +156,7 @@ export const UserSchema = new Schema({
|
|||||||
plantParent: Boolean,
|
plantParent: Boolean,
|
||||||
dinosaurDynasty: Boolean,
|
dinosaurDynasty: Boolean,
|
||||||
bonelessBoss: Boolean,
|
bonelessBoss: Boolean,
|
||||||
|
duneBuddy: Boolean,
|
||||||
// Onboarding Guide
|
// Onboarding Guide
|
||||||
createdTask: Boolean,
|
createdTask: Boolean,
|
||||||
completedTask: Boolean,
|
completedTask: Boolean,
|
||||||
|
|||||||
Reference in New Issue
Block a user