mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 06:07:21 +01:00
feat(content): add May pet quest bundle
This commit is contained in:
@@ -178,9 +178,9 @@ const bundles = {
|
|||||||
'penguin',
|
'penguin',
|
||||||
'rooster',
|
'rooster',
|
||||||
],
|
],
|
||||||
event: EVENTS.bundle202109,
|
event: EVENTS.bundle202305,
|
||||||
canBuy () {
|
canBuy () {
|
||||||
return moment().isBefore(EVENTS.bundle202109.end);
|
return moment().isBefore(EVENTS.bundle202305.end);
|
||||||
},
|
},
|
||||||
type: 'quests',
|
type: 'quests',
|
||||||
value: 7,
|
value: 7,
|
||||||
|
|||||||
@@ -15,6 +15,10 @@ export const EVENTS = {
|
|||||||
season: 'normal',
|
season: 'normal',
|
||||||
npcImageSuffix: '',
|
npcImageSuffix: '',
|
||||||
},
|
},
|
||||||
|
bundle202305: {
|
||||||
|
start:'2023-05-23T08:00-04:00',
|
||||||
|
end:'2023-05-31T23:59-04:00',
|
||||||
|
},
|
||||||
potions202305: {
|
potions202305: {
|
||||||
start:'2023-05-16T08:00-04:00',
|
start:'2023-05-16T08:00-04:00',
|
||||||
end:'2023-05-31T23:59-04:00',
|
end:'2023-05-31T23:59-04:00',
|
||||||
|
|||||||
@@ -45,19 +45,19 @@ const featuredItems = {
|
|||||||
];
|
];
|
||||||
},
|
},
|
||||||
quests () { // start date is 3/28
|
quests () { // start date is 3/28
|
||||||
if (moment().isBetween(EVENTS.bundle202303.start, EVENTS.bundle202303.end)) {
|
if (moment().isBetween(EVENTS.bundle202305.start, EVENTS.bundle202305.end)) {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
type: 'bundles',
|
type: 'bundles',
|
||||||
path: 'bundles.jungleBuddies',
|
path: 'bundles.birdBuddies',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'quests',
|
type: 'quests',
|
||||||
path: 'quests.kraken',
|
path: 'quests.harpy',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'quests',
|
type: 'quests',
|
||||||
path: 'quests.nudibranch',
|
path: 'quests.owl',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user