feat(content): Onyx Hatching Potion quest

This commit is contained in:
SabreCat 2021-11-23 15:33:47 -06:00
parent e1fe58ee77
commit 2704694214
47 changed files with 61 additions and 23 deletions

View file

@ -307,6 +307,7 @@
"hatchingPotionSunset": "Sunset",
"hatchingPotionMoonglow": "Moonglow",
"hatchingPotionSolarSystem": "Solar System",
"hatchingPotionOnyx": "Onyx",
"hatchingPotionNotes": "Pour this on an egg, and it will hatch as a <%= potText(locale) %> pet.",
"premiumPotionAddlNotes": "Not usable on quest pet eggs. Available for purchase until <%= date(locale) %>.",

View file

@ -858,5 +858,14 @@
"questSolarSystemCompletion": "Through careful practice, you and the crew manage to keep the Diversionoids from sweeping you overboard, just by noticing and acknowledging them without letting them take over. As you pass safely by the pulsing star, @gawrone notices a cluster of floating bottles and pulls them aboard. Each appears to contain a tiny solar system!<br><br>“Well, looks like our hard work has brought us some fine rewards!” says @beffymaroo. “Lets see what celestial wonders might appear if we hatch pet eggs with these new potions.”",
"questSolarSystemBoss": "Diversionoids",
"questSolarSystemDropSolarSystemPotion": "Solar System Hatching Potion",
"questSolarSystemUnlockText": "Unlocks Solar System Hatching Potions for purchase in the Market"
"questSolarSystemUnlockText": "Unlocks Solar System Hatching Potions for purchase in the Market",
"questOnyxText": "The Onyx Odyssey",
"questOnyxNotes": "@Vikte, @aspiring_advocate, and @starsystemic know youve been feeling unmotivated lately and decide that a fun day out might boost your mood. However, “fun” apparently means going deep-sea diving to search the Dark Crevasse for treasure! You don your diving gear, board the boat, and row towards the ancient city of Dilatory. As you travel, you ask them what kind of treasure youre looking for.<br><br>“Pluto runes!” says @Vikte.<br><br>“No, Leo runes!” says @aspiring_advocate.<br><br>“No, onyx stones!” says @starsystemic.<br><br>As they argue among themselves, you look into the ocean and see the cave entrance directly below you! Excited, you jump up, and dive into the sea, leaving the trio to watch as you swim towards the Dark Crevasse to search for the treasure yourself.",
"questOnyxCompletion": "As you enter the Dark Crevasse, the mantis shrimps that live there dart away, seemingly scared of you. However, they quickly return carrying small coloured orbs, and you realise that these are the treasures that the others wanted! You pocket a healthy collection of each type, say goodbye to the shrimps, and head back to the boat where the others help you aboard.<br><br>“Where have you been?” @Vikte exclaims. In response you show them the treasure youve collected.<br><br>“These ingredients make Onyx Magic Hatching Potions!”, @aspiring_advocate says excitedly as you begin to head back to shore.<br><br>“So… we can hatch Onyx pets!” @starsystemic smiles. “Didnt we say this would be fun?”<br><br>You smile back, excited for your new pets, and ready to finish your tasks!",
"questOnyxCollectPlutoRunes": "Pluto Runes",
"questOnyxCollectLeoRunes": "Leo Runes",
"questOnyxCollectOnyxStones": "Onyx Stones",
"questOnyxDropOnyxPotion": "Onyx Hatching Potion",
"questOnyxUnlockText": "Unlocks Mossy Onyx Hatching Potions for purchase in the Market"
}

View file

@ -508,6 +508,13 @@ const premium = {
canBuy: hasQuestAchievementFunction('solarSystem'),
_addlNotes: t('premiumPotionUnlimitedNotes'),
},
Onyx: {
value: 2,
text: t('hatchingPotionOnyx'),
limited: true,
canBuy: hasQuestAchievementFunction('onyx'),
_addlNotes: t('premiumPotionUnlimitedNotes'),
},
};
const wacky = {

View file

@ -3839,6 +3839,47 @@ const quests = {
unlock: t('questSolarSystemUnlockText'),
},
},
onyx: {
text: t('questOnyxText'),
notes: t('questOnyxNotes'),
completion: t('questOnyxCompletion'),
value: 4,
category: 'hatchingPotion',
collect: {
onyxStone: {
text: t('questOnyxCollectOnyxStones'),
count: 25,
},
plutoRune: {
text: t('questOnyxCollectPlutoRunes'),
count: 10,
},
leoRune: {
text: t('questOnyxCollectLeoRunes'),
count: 10,
},
},
drop: {
items: [
{
type: 'hatchingPotions',
key: 'Onyx',
text: t('questOnyxDropOnyxPotion'),
}, {
type: 'hatchingPotions',
key: 'Onyx',
text: t('questOnyxDropOnyxPotion'),
}, {
type: 'hatchingPotions',
key: 'Onyx',
text: t('questOnyxDropOnyxPotion'),
},
],
gp: 50,
exp: 100,
unlock: t('questOnyxUnlockText'),
},
},
};
each(quests, (v, key) => {

View file

@ -1,29 +1,9 @@
import moment from 'moment';
// import moment from 'moment';
// Magic Hatching Potions are configured like this:
// type: 'premiumHatchingPotion', // note no "s" at the end
// path: 'premiumHatchingPotions.Rainbow',
const featuredItems = {
market () {
if (moment().isBefore('2021-10-31T20:00-04:00')) {
return [
{
type: 'armoire',
path: 'armoire',
},
{
type: 'premiumHatchingPotion',
path: 'premiumHatchingPotions.Glow',
},
{
type: 'premiumHatchingPotion',
path: 'premiumHatchingPotions.Spooky',
},
{
type: 'premiumHatchingPotion',
path: 'premiumHatchingPotions.Vampire',
},
];
}
return [
{
type: 'armoire',
@ -51,7 +31,7 @@ const featuredItems = {
},
{
type: 'quests',
path: 'quests.horse',
path: 'quests.onyx',
},
{
type: 'quests',

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 830 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 818 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 743 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,011 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,019 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 939 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 981 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 908 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 887 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 923 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,009 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 945 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 814 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 699 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 885 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 781 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 743 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 840 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 966 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 553 B