mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
feat(content): enable bird buddy bundle
This commit is contained in:
@@ -5,7 +5,7 @@ export default {
|
|||||||
...mapState({ user: 'user.data' }),
|
...mapState({ user: 'user.data' }),
|
||||||
bugReportMailto () {
|
bugReportMailto () {
|
||||||
let subscriptionInfo = 'Not Subscribed';
|
let subscriptionInfo = 'Not Subscribed';
|
||||||
if (this.user.purchased.plan.planId) {
|
if (this.user.purchased.plan.customerId) {
|
||||||
subscriptionInfo = `
|
subscriptionInfo = `
|
||||||
Subscription: ${this.user.purchased.plan.planId}%0d%0a
|
Subscription: ${this.user.purchased.plan.planId}%0d%0a
|
||||||
Payment Platform: ${this.user.purchased.plan.paymentMethod}%0d%0a
|
Payment Platform: ${this.user.purchased.plan.paymentMethod}%0d%0a
|
||||||
|
|||||||
@@ -176,8 +176,9 @@ const bundles = {
|
|||||||
'penguin',
|
'penguin',
|
||||||
'rooster',
|
'rooster',
|
||||||
],
|
],
|
||||||
|
event: EVENTS.bundle202109,
|
||||||
canBuy () {
|
canBuy () {
|
||||||
return moment().isBetween('2018-12-11', '2019-01-02');
|
return moment().isBefore(EVENTS.bundle202109.end);
|
||||||
},
|
},
|
||||||
type: 'quests',
|
type: 'quests',
|
||||||
value: 7,
|
value: 7,
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ const gemsPromo = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const EVENTS = {
|
export const EVENTS = {
|
||||||
noCurrentEvent2021: {
|
bundle202109: {
|
||||||
start: '2021-08-31T20:00-04:00',
|
start: '2021-09-13T08:00-04:00',
|
||||||
end: '2021-09-23T08:00-04:00',
|
end: '2021-09-30T20:00-04:00',
|
||||||
season: 'normal',
|
season: 'normal',
|
||||||
npcImageSuffix: '',
|
npcImageSuffix: '',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -54,8 +54,8 @@ const featuredItems = {
|
|||||||
path: 'quests.slime',
|
path: 'quests.slime',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'quests',
|
type: 'bundles',
|
||||||
path: 'quests.taskwoodsTerror1',
|
path: 'bundles.birdBuddies',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user