Virtual Pet Hatching Potion Quest Content

This commit is contained in:
CuriousMagpie
2022-04-04 17:29:51 -04:00
parent df3b871dba
commit 3498b9ccdf
4 changed files with 62 additions and 9 deletions

View File

@@ -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) => {

View File

@@ -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) => {