feat(content): add September pet quest bundle

This commit is contained in:
CuriousMagpie
2023-08-29 16:59:05 -04:00
parent d8a7cad1a1
commit 941194b7c7
3 changed files with 11 additions and 7 deletions

View File

@@ -18,9 +18,9 @@ const bundles = {
'harpy',
'owl',
],
event: EVENTS.potions202105,
event: EVENTS.bundle202309,
canBuy () {
return moment().isBefore(EVENTS.potions202105.end);
return moment().isBetween(EVENTS.bundle202309.start, EVENTS.bundle202309.end);
},
type: 'quests',
class: 'quest_bundle_featheredFriends',

View File

@@ -11,10 +11,14 @@ const gemsPromo = {
export const EVENTS = {
noEvent: {
start: '2023-08-01T23:59-04:00',
end: '2023-08-10T08:00-04:00',
end: '2023-09-12T08:00-04:00',
season: 'normal',
npcImageSuffix: '',
},
bundle202309: {
start: '2023-09-12T08:00-04:00',
end: '2023-09-30T23:59-04:00',
},
bundle202308: {
start: '2023-08-15T08:00-04:00',
end: '2023-08-31T23:59-04:00',

View File

@@ -45,19 +45,19 @@ const featuredItems = {
];
},
quests () {
if (moment().isBetween(EVENTS.bundle202308.start, EVENTS.bundle202308.end)) {
if (moment().isBetween(EVENTS.bundle202309.start, EVENTS.bundle202309.end)) {
return [
{
type: 'bundles',
path: 'bundles.hugabug',
path: 'bundles.featheredFriends',
},
{
type: 'quests',
path: 'quests.octopus',
path: 'quests.pterodactyl',
},
{
type: 'quests',
path: 'quests.rock',
path: 'quests.trex',
},
];
}