feat(content): Dune Buddy Achievement

This commit is contained in:
SabreCat
2023-10-16 20:15:08 -05:00
parent b539dd2b2e
commit 1da6eeb169
5 changed files with 24 additions and 1 deletions

View File

@@ -153,5 +153,8 @@
"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!"
"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!"
}

View File

@@ -193,6 +193,11 @@ const animalSetAchievs = {
titleKey: 'achievementDomesticated',
textKey: 'achievementDomesticatedText',
},
duneBuddy: {
icon: 'achievement-duneBuddy',
titleKey: 'achievementDuneBuddy',
textKey: 'achievementDuneBuddyText',
},
plantParent: {
icon: 'achievement-plantParent',
titleKey: 'achievementPlantParent',

View File

@@ -72,6 +72,19 @@ const ANIMAL_SET_ACHIEVEMENTS = {
achievementKey: 'domesticated',
notificationType: 'ACHIEVEMENT_ANIMAL_SET',
},
duneBuddy: {
type: 'pet',
species: [
'Armadillo',
'Cactus',
'Fox',
'Frog',
'Snake',
'Spider',
],
achievementKey: 'duneBuddy',
notificationType: 'ACHIEVEMENT_ANIMAL_SET',
},
plantParent: {
type: 'pet',
species: [

View File

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

View File

@@ -156,6 +156,7 @@ export const UserSchema = new Schema({
plantParent: Boolean,
dinosaurDynasty: Boolean,
bonelessBoss: Boolean,
duneBuddy: Boolean,
// Onboarding Guide
createdTask: Boolean,
completedTask: Boolean,