mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
feat(content): Pet Quest Bundle
This commit is contained in:
@@ -236,6 +236,21 @@ const bundles = {
|
||||
type: 'quests',
|
||||
value: 7,
|
||||
},
|
||||
sandySidekicks: {
|
||||
key: 'sandySidekicks',
|
||||
text: t('sandySidekicksText'),
|
||||
notes: t('sandySidekicksNotes', { date: moment('2020-10-31').format('LL') }),
|
||||
bundleKeys: [
|
||||
'armadillo',
|
||||
'snake',
|
||||
'spider',
|
||||
],
|
||||
canBuy () {
|
||||
return moment().isBetween('2020-10-13', '2020-11-02');
|
||||
},
|
||||
type: 'quests',
|
||||
value: 7,
|
||||
},
|
||||
};
|
||||
|
||||
export default bundles;
|
||||
|
||||
@@ -44,18 +44,34 @@ const featuredItems = {
|
||||
];
|
||||
},
|
||||
quests () {
|
||||
if (moment().isBefore('2020-11-02')) {
|
||||
return [
|
||||
{
|
||||
type: 'bundles',
|
||||
path: 'bundles.sandySidekicks',
|
||||
},
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.taskwoodsTerror1',
|
||||
},
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.ruby',
|
||||
},
|
||||
];
|
||||
}
|
||||
return [
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.squirrel',
|
||||
path: 'quests.gryphon',
|
||||
},
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.cow',
|
||||
path: 'quests.hedgehog',
|
||||
},
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.turquoise',
|
||||
path: 'quests.rat',
|
||||
},
|
||||
];
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user