feat(content): new achievement and bundle

This commit is contained in:
Sabe Jones
2020-05-19 14:00:25 -05:00
parent 7dd6227845
commit 80a2e31c8e
14 changed files with 77 additions and 14 deletions
@@ -192,6 +192,11 @@ const basicAchievs = {
titleKey: 'achievementBugBonanza',
textKey: 'achievementBugBonanzaText',
},
bareNecessities: {
icon: 'achievement-bareNecessities',
titleKey: 'achievementBareNecessities',
textKey: 'achievementBareNecessitiesText',
},
};
Object.assign(achievementsData, basicAchievs);
+15
View File
@@ -221,6 +221,21 @@ const bundles = {
type: 'quests',
value: 7,
},
jungleBuddies: {
key: 'jungleBuddies',
text: t('jungleBuddiesText'),
notes: t('jungleBuddiesNotes', { date: moment('2020-05-31').format('LL') }),
bundleKeys: [
'monkey',
'sloth',
'treeling',
],
canBuy () {
return moment().isBetween('2020-05-19', '2020-06-02');
},
type: 'quests',
value: 7,
},
};
export default bundles;
@@ -282,6 +282,11 @@ export const QUEST_SERIES_ACHIEVEMENTS = {
'snail',
'spider',
],
bareNecessities: [
'monkey',
'sloth',
'treeling',
],
};
export const ANIMAL_COLOR_ACHIEVEMENTS = [
@@ -200,6 +200,7 @@ function _getBasicAchievements (user, language) {
_addSimple(result, user, { path: 'tickledPink', language });
_addSimple(result, user, { path: 'rosyOutlook', language });
_addSimple(result, user, { path: 'bugBonanza', language });
_addSimple(result, user, { path: 'bareNecessities', language });
_addSimpleWithMasterCount(result, user, { path: 'beastMaster', language });
_addSimpleWithMasterCount(result, user, { path: 'mountMaster', language });