diff --git a/website/common/locales/en/achievements.json b/website/common/locales/en/achievements.json index 7e8bb8f59a..a88747b02c 100644 --- a/website/common/locales/en/achievements.json +++ b/website/common/locales/en/achievements.json @@ -132,5 +132,8 @@ "achievementBirdsOfAFeatherModalText": "You collected all the flying pets!", "achievementReptacularRumble": "Reptacular Rumble", "achievementReptacularRumbleText": "Has hatched all the standard colors of reptile pets: Alligator, Pterodactyl, Snake, Triceratops, Turtle, Tyrannosaurus Rex, and Velociraptor!", - "achievementReptacularRumbleModalText": "You collected all the reptile pets!" + "achievementReptacularRumbleModalText": "You collected all the reptile pets!", + "achievementGroupsBeta2022":"Interactive Beta Tester", + "achievementGroupsBeta2022Text":"You and your group provided invaluable feedback to help Habitica test.", + "achievementGroupsBeta2022ModalText":"You and your groups helped Habitica by testing and providing feedback!" } diff --git a/website/common/script/content/achievements.js b/website/common/script/content/achievements.js index 705dec9f8a..cc7734b8a0 100644 --- a/website/common/script/content/achievements.js +++ b/website/common/script/content/achievements.js @@ -372,6 +372,11 @@ const specialAchievs = { titleKey: 'achievementKickstarter2019', textKey: 'achievementKickstarter2019Text', }, + groupsBeta2022: { + icon: 'achievement-groupsBeta2022', + titleKey: 'achievementGroupsBeta2022', + textKey: 'achievementGroupsBeta2022Text', + }, }; Object.assign(achievementsData, specialAchievs); diff --git a/website/common/script/libs/achievements.js b/website/common/script/libs/achievements.js index 882feddf50..3f7cf1e93f 100644 --- a/website/common/script/libs/achievements.js +++ b/website/common/script/libs/achievements.js @@ -344,6 +344,10 @@ function _getSpecialAchievements (user, language) { _addSimple(result, user, { path: 'kickstarter2019', language }); } + if (user.achievements.groupsBeta2022) { + _addSimple(result, user, { path: 'groupsBeta2022', language }); + } + return result; } diff --git a/website/server/models/user/schema.js b/website/server/models/user/schema.js index b2765a4051..9e9fd4fd5d 100644 --- a/website/server/models/user/schema.js +++ b/website/server/models/user/schema.js @@ -156,6 +156,7 @@ export default new Schema({ hatchedPet: Boolean, fedPet: Boolean, purchasedEquipment: Boolean, + groupsBeta2022: Boolean, }, backer: {