From 70be356968e45fe09e6ecfc8853ada480c479ccd Mon Sep 17 00:00:00 2001 From: SabreCat Date: Thu, 17 Feb 2022 14:27:17 -0600 Subject: [PATCH 1/2] 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', From a5c141407e2a3c9cea5951c65a8fbe19d65845ca Mon Sep 17 00:00:00 2001 From: SabreCat Date: Thu, 17 Feb 2022 14:38:13 -0600 Subject: [PATCH 2/2] 4.222.1 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index c8506e071c..6a080b7630 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "habitica", - "version": "4.222.0", + "version": "4.222.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 27aaba2250..9695f6adfd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "habitica", "description": "A habit tracker app which treats your goals like a Role Playing Game.", - "version": "4.222.0", + "version": "4.222.1", "main": "./website/server/index.js", "dependencies": { "@babel/core": "^7.16.12",