From 3810cf3ef3c492bda8d343596bf1a17f9fc1e36e Mon Sep 17 00:00:00 2001 From: CuriousMagpie Date: Fri, 14 Jun 2024 10:42:47 -0400 Subject: [PATCH] add chameleon quest --- website/common/locales/en/content.json | 4 +++ website/common/locales/en/questsContent.json | 8 ++++- website/common/script/content/eggs.js | 6 ++++ website/common/script/content/quests/pets.js | 32 ++++++++++++++++++++ 4 files changed, 49 insertions(+), 1 deletion(-) diff --git a/website/common/locales/en/content.json b/website/common/locales/en/content.json index a96f154512..41f6903ba9 100644 --- a/website/common/locales/en/content.json +++ b/website/common/locales/en/content.json @@ -255,6 +255,10 @@ "questEggGiraffeMountText": "Giraffe", "questEggGiraffeAdjective": "a towering", + "questEggChameleonText": "Chameleon", + "questEggChameleonMountText": "Chameleon", + "questEggChameleonAdjective": "a chaotic", + "eggNotes": "Find a hatching potion to pour on this egg, and it will hatch into <%= eggAdjective(locale) %> <%= eggText(locale) %>.", "hatchingPotionBase": "Base", diff --git a/website/common/locales/en/questsContent.json b/website/common/locales/en/questsContent.json index 3b36ec6de1..56815e6eaf 100644 --- a/website/common/locales/en/questsContent.json +++ b/website/common/locales/en/questsContent.json @@ -895,7 +895,13 @@ "questGiraffeBoss": "Gear-affe", "questGiraffeDropGiraffeEgg": "Giraffe (Egg)", "QuestGiraffeUnlockText": "Unlocks Giraffe Eggs for purchase in the Market.", - "questPinkMarbleUnlockText": "Unlocks Pink Marble Hatching Potions for purchase in the Market.", + + "questChameleonText": "The Chaotic Chameleon", + "questChameleonNotes": "It’s a beautiful day in a warm, rainy corner of the Taskwoods. You’re on the hunt for new additions to your leaf collection when a branch in front of you changes color without warning! Then it moves!

Stumbling backwards, you realize this is not a branch at all, but a huge chameleon! Each part of his body keeps changing colors as his eyes dart in different directions.

“Are you all right?” you ask the chameleon.

“Ahhh, well,” he says, looking a little flustered. “I’ve been trying to blend in… but it’s so overwhelming… the colors keep coming and going! It’s hard to focus on just one....”

“Aha,” you say, “I think I can help. We’ll sharpen your focus with a little challenge! Get your colors ready!”

“You’re on!” replied the chameleon.", + "questChameleonCompletion": "After a few lively turns the Chameleon went through every color of the rainbow, perfectly matching each color you requested.

“Wow,” he says, “working together and making it into a game really helped me concentrate! Please take these as a reward, you’re earned them! Teach these little guys how to change all the colors of the rainbow when they hatch.”", + "questChameleonBoss": "Chaotic Chameleon", + "questChameleonDropChameleonEgg": "Chameleon (Egg)", + "QuestChameleonUnlockText": "Unlocks Chameleon Eggs for purchase in the Market", "questFungiText": "The Moody Mushroom", "questFungiNotes": "It’s been a rainy spring in Habitica and the ground around the stables is spongy and damp. You notice quite a few mushrooms have appeared along the wooden stable walls and fences. There’s a fog hanging about, not quite letting the sun peek through, and it’s a bit dispiriting.

Out of the mist you see the outline of the April Fool, not at all his usual bouncy self.

”I’d hoped to bring you all some delightful Fungi Magic Hatching Potions so that you can keep your mushroom friends from my special day forever,” he says, his expression alarmingly unsmiling. “But this cold fog is really getting to me, it’s making me feel too tired and dismal to work my usual magic.”

“Oh no, sorry to hear that,” you say, noticing your own increasingly somber mood. “This fog is really making the day gloomy. I wonder where it came from…”

A low rumble sounds across the fields, and you see an outline emerging from the mist. You’re alarmed to see a gigantic and unhappy looking mushroom creature, and the mist appears to be emanating from it.

“Aha,” says the Fool, “I think this fungal fellow may be the source of our blues. Let’s see if we can summon a little cheer for our friend here and ourselves.”", diff --git a/website/common/script/content/eggs.js b/website/common/script/content/eggs.js index 0a6e438e5b..43967437b6 100644 --- a/website/common/script/content/eggs.js +++ b/website/common/script/content/eggs.js @@ -396,6 +396,12 @@ const quests = { adjective: t('questEggGiraffeAdjective'), canBuy: hasQuestAchievementFunction('giraffe'), }, + Chameleon: { + text: t('questEggChameleonText'), + mountText: t('questEggChameleonMountText'), + adjective: t('questEggChameleonAdjective'), + canBuy: hasQuestAchievementFunction('chameleon'), + }, }; applyEggDefaults(drops, { diff --git a/website/common/script/content/quests/pets.js b/website/common/script/content/quests/pets.js index 7d0f6f6e3a..0c7bfabdac 100644 --- a/website/common/script/content/quests/pets.js +++ b/website/common/script/content/quests/pets.js @@ -232,6 +232,38 @@ const QUEST_PETS = { unlock: t('questButterflyUnlockText'), }, }, + chameleon: { + text: t('questChameleonText'), + notes: t('questChameleonNotes'), + completion: t('questChameleonCompletion'), + value: 4, + category: 'pet', + boss: { + name: t('questChameleonBoss'), + hp: 400, + str: 1.5, + }, + drop: { + items: [ + { + type: 'eggs', + key: 'Chameleon', + text: t('questChameleonDropChameleonEgg'), + }, { + type: 'eggs', + key: 'Chameleon', + text: t('questChameleonDropChameleonEgg'), + }, { + type: 'eggs', + key: 'Chameleon', + text: t('questChameleonDropChameleonEgg'), + }, + ], + }, + gp: 35, + xp: 250, + unlock: t('questChameleonUnlockText'), + }, cheetah: { text: t('questCheetahText'), notes: t('questCheetahNotes'),