feat(content): Pet Quest Bundle

This commit is contained in:
Sabe Jones
2020-10-13 14:36:38 -05:00
parent a5babc493f
commit b7956a82ee
10 changed files with 202 additions and 164 deletions

View File

@@ -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;

View File

@@ -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',
},
];
},