feat(content): Time Traveler quest, achievement

This commit is contained in:
Sabe Jones
2021-08-24 15:42:40 -05:00
parent 268f25e42c
commit 48f1bec83a
55 changed files with 232 additions and 3 deletions

View File

@@ -252,6 +252,11 @@ const basicAchievs = {
titleKey: 'achievementWildBlueYonder',
textKey: 'achievementWildBlueYonderText',
},
domesticated: {
icon: 'achievement-domesticated',
titleKey: 'achievementDomesticated',
textKey: 'achievementDomesticatedText',
},
};
Object.assign(achievementsData, basicAchievs);

View File

@@ -11,6 +11,21 @@ const ANIMAL_SET_ACHIEVEMENTS = {
achievementKey: 'legendaryBestiary',
notificationType: 'ACHIEVEMENT_LEGENDARY_BESTIARY',
},
domesticated: {
type: 'pet',
species: [
'Ferret',
'GuineaPig',
'Rooster',
'FlyingPig',
'Rat',
'Rabbit',
'Horse',
'Cow',
],
achievementKey: 'domesticated',
notificationType: 'ACHIEVEMENT_DOMESTICATED',
},
};
export default ANIMAL_SET_ACHIEVEMENTS;

View File

@@ -489,6 +489,13 @@ const premium = {
return moment().isBetween(EVENTS.potions202108.start, EVENTS.potions202108.end);
},
},
SolarSystem: {
value: 2,
text: t('hatchingPotionSolarSystem'),
limited: true,
canBuy: hasQuestAchievementFunction('solarSystem'),
_addlNotes: t('premiumPotionUnlimitedNotes'),
},
};
const wacky = {

View File

@@ -3804,6 +3804,41 @@ const quests = {
unlock: t('questStoneUnlockText'),
},
},
solarSystem: {
text: t('questSolarSystemText'),
notes: t('questSolarSystemNotes'),
completion: t('questSolarSystemCompletion'),
value: 1,
category: 'timeTravelers',
canBuy () {
return false;
},
boss: {
name: t('questSolarSystemBoss'),
hp: 1500,
str: 2.5,
},
drop: {
items: [
{
type: 'hatchingPotions',
key: 'SolarSystem',
text: t('questSolarSystemDropSolarSystemPotion'),
}, {
type: 'hatchingPotions',
key: 'SolarSystem',
text: t('questSolarSystemDropSolarSystemPotion'),
}, {
type: 'hatchingPotions',
key: 'SolarSystem',
text: t('questSolarSystemDropSolarSystemPotion'),
},
],
gp: 90,
exp: 900,
unlock: t('questSolarSystemUnlockText'),
},
},
};
each(quests, (v, key) => {