mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
chore(content): enable Mythical Marvels for end of February
This commit is contained in:
@@ -190,7 +190,7 @@ const bundles = {
|
|||||||
'gryphon',
|
'gryphon',
|
||||||
],
|
],
|
||||||
canBuy () {
|
canBuy () {
|
||||||
return moment().isBefore('2021-02-28T08:00-05:00');
|
return moment().isBefore('2022-02-28T20:00-05:00');
|
||||||
},
|
},
|
||||||
type: 'quests',
|
type: 'quests',
|
||||||
value: 7,
|
value: 7,
|
||||||
|
|||||||
@@ -44,46 +44,30 @@ const featuredItems = {
|
|||||||
];
|
];
|
||||||
},
|
},
|
||||||
quests () {
|
quests () {
|
||||||
if (moment().isBefore('2022-01-11T08:00-05:00')) {
|
if (moment().isBefore('2022-02-28T20: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')) {
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
type: 'bundles',
|
type: 'bundles',
|
||||||
path: 'bundles.winterQuests',
|
path: 'bundles.mythicalMarvels',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'quests',
|
type: 'quests',
|
||||||
path: 'quests.silver',
|
path: 'quests.onyx',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'quests',
|
type: 'quests',
|
||||||
path: 'quests.sheep',
|
path: 'quests.dolphin',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
type: 'quests',
|
type: 'quests',
|
||||||
path: 'quests.ferret',
|
path: 'quests.snake',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'quests',
|
type: 'quests',
|
||||||
path: 'quests.bronze',
|
path: 'quests.turquoise',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'quests',
|
type: 'quests',
|
||||||
|
|||||||
Reference in New Issue
Block a user