mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 21:57:22 +01:00
Virtual Pet Hatching Potion Quest Content
This commit is contained in:
@@ -531,11 +531,11 @@ const wacky = {
|
||||
limited: true,
|
||||
event: EVENTS.spring2021,
|
||||
_addlNotes: t('eventAvailabilityReturning', {
|
||||
availableDate: t('dateEndMarch'),
|
||||
previousDate: t('marchYYYY', { year: 2019 }),
|
||||
availableDate: t('dateEndApril'),
|
||||
previousDate: t('aprilYYYY', { year: 2021 }),
|
||||
}),
|
||||
canBuy () {
|
||||
return moment().isBetween('2021-04-01T08:00-05:00', EVENTS.spring2021.end);
|
||||
return moment().isBetween('2022-04-07T08:00-05:00', EVENTS.spring2022.end);
|
||||
},
|
||||
},
|
||||
Dessert: {
|
||||
@@ -544,6 +544,12 @@ const wacky = {
|
||||
_addlNotes: t('premiumPotionUnlimitedNotes'),
|
||||
canBuy: hasQuestAchievementFunction('waffle'),
|
||||
},
|
||||
VirtualPet: {
|
||||
text: t('hatchingPotionVirtualPet'),
|
||||
limited: true,
|
||||
_addlNotes: t('premiumPotionUnlimitedNotes'),
|
||||
canBuy: hasQuestAchievementFunction('virtualPet'),
|
||||
},
|
||||
};
|
||||
|
||||
each(drops, (pot, key) => {
|
||||
|
||||
@@ -3876,6 +3876,49 @@ const quests = {
|
||||
unlock: t('questOnyxUnlockText'),
|
||||
},
|
||||
},
|
||||
virtualPet: {
|
||||
text: t('questVirtualPetText'),
|
||||
notes: t('questVirtualPetNotes'),
|
||||
completion: t('questVirtualPetCompletion'),
|
||||
value: 4,
|
||||
category: 'hatchingPotion',
|
||||
canBuy () {
|
||||
return CURRENT_EVENT && CURRENT_EVENT.season === 'spring';
|
||||
},
|
||||
event: CURRENT_EVENT && CURRENT_EVENT.season === 'spring' ? CURRENT_EVENT : null,
|
||||
boss: {
|
||||
name: t('questVirtualPetBoss'),
|
||||
hp: 500,
|
||||
str: 2,
|
||||
rage: {
|
||||
title: t('questWaffleVirtualPetTitle'),
|
||||
description: t('questVirtualPetRageDescription'),
|
||||
value: 50,
|
||||
progressDrain: 0.5,
|
||||
effect: t('questWaffleRageEffect'),
|
||||
},
|
||||
},
|
||||
drop: {
|
||||
items: [
|
||||
{
|
||||
type: 'hatchingPotions',
|
||||
key: 'VirtualPet',
|
||||
text: t('questVirtualPetDropDessertPotion'),
|
||||
}, {
|
||||
type: 'hatchingPotions',
|
||||
key: 'VirtualPet',
|
||||
text: t('questVirtualPetDropDessertPotion'),
|
||||
}, {
|
||||
type: 'hatchingPotions',
|
||||
key: 'VirtualPet',
|
||||
text: t('questVirtualPetDropDessertPotion'),
|
||||
},
|
||||
],
|
||||
gp: 40,
|
||||
exp: 500,
|
||||
unlock: t('questVirtualPetUnlockText'),
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
each(quests, (v, key) => {
|
||||
|
||||
Reference in New Issue
Block a user