mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
chore(content): add October Pet Quest Bundle (#14268)
* chore(content): add October Pet Quest Bundle * update: change event start date to the correct one
This commit is contained in:
@@ -68,8 +68,9 @@ const bundles = {
|
||||
'spider',
|
||||
'frog',
|
||||
],
|
||||
event: EVENTS.bundle202210,
|
||||
canBuy () {
|
||||
return moment().isBetween('2019-10-15', '2019-11-02');
|
||||
return moment().isBetween(EVENTS.bundle202210.start, EVENTS.bundle202210.end);
|
||||
},
|
||||
type: 'quests',
|
||||
value: 7,
|
||||
|
||||
@@ -32,6 +32,10 @@ export const EVENTS = {
|
||||
end: '2022-10-13T20:00-04:00',
|
||||
gemsPromo,
|
||||
},
|
||||
bundle202210: {
|
||||
start: '2022-10-13T08:00-04:00',
|
||||
end: '2022-10-31T20:00-04:00',
|
||||
},
|
||||
beforeGala: {
|
||||
start: '2022-07-31T20:00-04:00',
|
||||
end: '2022-09-20T08:00-04:00',
|
||||
|
||||
@@ -45,19 +45,19 @@ const featuredItems = {
|
||||
];
|
||||
},
|
||||
quests () {
|
||||
if (moment().isBetween(EVENTS.bundle202208.start, EVENTS.bundle202209.end)) {
|
||||
if (moment().isBetween(EVENTS.bundle202210.start, EVENTS.bundle202210.end)) {
|
||||
return [
|
||||
{
|
||||
type: 'bundles',
|
||||
path: 'bundles.forestFriends',
|
||||
},
|
||||
{
|
||||
type: 'bundles',
|
||||
path: 'bundles.farmFriends',
|
||||
path: 'bundles.witchyFamiliars',
|
||||
},
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.ferret',
|
||||
path: 'quests.snake',
|
||||
},
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.owl',
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user