feat(content): new achievement and bundle
This commit is contained in:
@@ -192,6 +192,11 @@ const basicAchievs = {
|
||||
titleKey: 'achievementBugBonanza',
|
||||
textKey: 'achievementBugBonanzaText',
|
||||
},
|
||||
bareNecessities: {
|
||||
icon: 'achievement-bareNecessities',
|
||||
titleKey: 'achievementBareNecessities',
|
||||
textKey: 'achievementBareNecessitiesText',
|
||||
},
|
||||
};
|
||||
Object.assign(achievementsData, basicAchievs);
|
||||
|
||||
|
||||
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user