From 635c0cf3d19656f70b751974529a193f24bbf816 Mon Sep 17 00:00:00 2001 From: SabreCat Date: Tue, 11 Apr 2017 18:54:07 +0000 Subject: [PATCH] feat(event): enable Egg Hunt --- website/common/locales/en/questsContent.json | 2 +- website/common/script/content/index.js | 2 +- website/common/script/libs/shops.js | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/website/common/locales/en/questsContent.json b/website/common/locales/en/questsContent.json index e629345c6f..611fd63046 100644 --- a/website/common/locales/en/questsContent.json +++ b/website/common/locales/en/questsContent.json @@ -127,7 +127,7 @@ "questBasilistBoss": "The Basi-List", "questEggHuntText": "Egg Hunt", - "questEggHuntNotes": "Overnight, strange plain eggs have appeared everywhere: in Matt's stables, behind the counter at the Tavern, and even among the pet eggs at the Marketplace! What a nuisance! \"Nobody knows where they came from, or what they might hatch into,\" says Megan, \"but we can't just leave them laying around! Work hard and search hard to help me gather up these mysterious eggs. Maybe if you collect enough, there will be some extras left over for you...\"", + "questEggHuntNotes": "Overnight, strange plain eggs have appeared everywhere: in Matt's stables, behind the counter at the Tavern, and even among the pet eggs at the Marketplace! What a nuisance! \"Nobody knows where they came from, or what they might hatch into,\" says Megan, \"but we can't just leave them laying around! Work hard and search hard to help me gather up these mysterious eggs. Maybe if you collect enough, there will be some extras left over for you...\"", "questEggHuntCompletion": "You did it! In gratitude, Megan gives you ten of the eggs. \"I bet the hatching potions will dye them beautiful colors! And I wonder what will happen when they turn into mounts....\"", "questEggHuntCollectPlainEgg": "Plain Eggs", "questEggHuntDropPlainEgg": "Plain Egg", diff --git a/website/common/script/content/index.js b/website/common/script/content/index.js index 356f6cc123..2f8d9387d5 100644 --- a/website/common/script/content/index.js +++ b/website/common/script/content/index.js @@ -951,7 +951,7 @@ api.quests = { completion: t('questEggHuntCompletion'), value: 1, canBuy () { - return false; + return true; }, category: 'pet', collect: { diff --git a/website/common/script/libs/shops.js b/website/common/script/libs/shops.js index 226b1b6cb9..871cde74a0 100644 --- a/website/common/script/libs/shops.js +++ b/website/common/script/libs/shops.js @@ -239,6 +239,7 @@ shops.getSeasonalShopCategories = function getSeasonalShopCategories (user, lang ]; const AVAILABLE_QUESTS = [ + 'egg', ]; let categories = [];