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