From 371a1542e77d89d8b141f7a20db1bbf2f0eb78d2 Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Mon, 6 Apr 2020 13:08:29 -0500 Subject: [PATCH] fix(content): feature items --- .../common/script/content/hatching-potions.js | 9 +++++++-- .../script/content/shop-featuredItems.js | 20 +++++++++++-------- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/website/common/script/content/hatching-potions.js b/website/common/script/content/hatching-potions.js index 7ac5b5ba77..2a09886b18 100644 --- a/website/common/script/content/hatching-potions.js +++ b/website/common/script/content/hatching-potions.js @@ -284,12 +284,17 @@ const wacky = { Veggie: { text: t('hatchingPotionVeggie'), limited: true, - _season: '_PENDING_', + _addlNotes: t('eventAvailabilityReturning', { + availableDate: t('dateEndMarch'), + previousDate: t('marchYYYY', { year: 2019 }), + }), + canBuy () { + return moment().isBefore('2020-05-02'); + }, }, Dessert: { text: t('hatchingPotionDessert'), limited: true, - _season: '_PENDING_', canBuy: hasQuestAchievementFunction('waffle'), }, }; diff --git a/website/common/script/content/shop-featuredItems.js b/website/common/script/content/shop-featuredItems.js index 0f6fa8fd8f..572f5cabe7 100644 --- a/website/common/script/content/shop-featuredItems.js +++ b/website/common/script/content/shop-featuredItems.js @@ -23,6 +23,10 @@ const featuredItems = { type: 'premiumHatchingPotion', path: 'premiumHatchingPotions.Celestial', }, + { + type: 'hatchingPotions', + path: 'hatchingPotions.Veggie', + }, ]; } return [ @@ -45,34 +49,34 @@ const featuredItems = { ]; }, quests () { - if (moment().isBefore('2020-04-02')) { + if (moment().isBefore('2020-05-02')) { return [ { - type: 'bundles', - path: 'bundles.hugabug', + type: 'quests', + path: 'quests.waffle', }, { type: 'quests', - path: 'quests.velociraptor', + path: 'quests.trex_undead', }, { type: 'quests', - path: 'quests.taskwoodsTerror1', + path: 'quests.bunny', }, ]; } return [ { type: 'quests', - path: 'quests.badger', + path: 'quests.sheep', }, { type: 'quests', - path: 'quests.ferret', + path: 'quests.seaserpent', }, { type: 'quests', - path: 'quests.sloth', + path: 'quests.silver', }, ]; },