mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
feat(content): Time Traveler quest, achievement
This commit is contained in:
@@ -252,6 +252,11 @@ const basicAchievs = {
|
||||
titleKey: 'achievementWildBlueYonder',
|
||||
textKey: 'achievementWildBlueYonderText',
|
||||
},
|
||||
domesticated: {
|
||||
icon: 'achievement-domesticated',
|
||||
titleKey: 'achievementDomesticated',
|
||||
textKey: 'achievementDomesticatedText',
|
||||
},
|
||||
};
|
||||
Object.assign(achievementsData, basicAchievs);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user