mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 02:02:19 +00:00
chore(content): enable Mythical Marvels for end of February
This commit is contained in:
parent
1fd931d935
commit
70be356968
2 changed files with 7 additions and 23 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue