From 70be356968e45fe09e6ecfc8853ada480c479ccd Mon Sep 17 00:00:00 2001 From: SabreCat Date: Thu, 17 Feb 2022 14:27:17 -0600 Subject: [PATCH] chore(content): enable Mythical Marvels for end of February --- website/common/script/content/bundles.js | 2 +- .../script/content/shop-featuredItems.js | 28 ++++--------------- 2 files changed, 7 insertions(+), 23 deletions(-) diff --git a/website/common/script/content/bundles.js b/website/common/script/content/bundles.js index 89879a2f9b..f538116b5c 100644 --- a/website/common/script/content/bundles.js +++ b/website/common/script/content/bundles.js @@ -190,7 +190,7 @@ const bundles = { 'gryphon', ], canBuy () { - return moment().isBefore('2021-02-28T08:00-05:00'); + return moment().isBefore('2022-02-28T20:00-05:00'); }, type: 'quests', value: 7, diff --git a/website/common/script/content/shop-featuredItems.js b/website/common/script/content/shop-featuredItems.js index 87ac791c1a..7a31af2f30 100644 --- a/website/common/script/content/shop-featuredItems.js +++ b/website/common/script/content/shop-featuredItems.js @@ -44,46 +44,30 @@ const featuredItems = { ]; }, quests () { - if (moment().isBefore('2022-01-11T08:00-05:00')) { - return [ - { - type: 'quests', - path: 'quests.evilsanta', - }, - { - type: 'quests', - path: 'quests.evilsanta2', - }, - { - type: 'quests', - path: 'quests.penguin', - }, - ]; - } - if (moment().isBefore('2022-01-31T20:00-05:00')) { + if (moment().isBefore('2022-02-28T20:00-05:00')) { return [ { type: 'bundles', - path: 'bundles.winterQuests', + path: 'bundles.mythicalMarvels', }, { type: 'quests', - path: 'quests.silver', + path: 'quests.onyx', }, { type: 'quests', - path: 'quests.sheep', + path: 'quests.dolphin', }, ]; } return [ { type: 'quests', - path: 'quests.ferret', + path: 'quests.snake', }, { type: 'quests', - path: 'quests.bronze', + path: 'quests.turquoise', }, { type: 'quests',