feat(event): Summer Splash 2021

This commit is contained in:
Sabe Jones
2021-06-22 18:49:32 -05:00
parent 350e5cf4c5
commit 1a57f7df00
82 changed files with 258 additions and 104 deletions

View File

@@ -4,27 +4,7 @@ import moment from 'moment';
// path: 'premiumHatchingPotions.Rainbow',
const featuredItems = {
market () {
if (moment().isBefore('2020-12-22T08:00-04:00')) {
return [
{
type: 'armoire',
path: 'armoire',
},
{
type: 'hatchingPotions',
path: 'hatchingPotions.White',
},
{
type: 'eggs',
path: 'eggs.Cactus',
},
{
type: 'food',
path: 'food.Honey',
},
];
}
if (moment().isBefore('2021-01-31T20:00-04:00')) {
if (moment().isBefore('2021-07-31T20:00-04:00')) {
return [
{
type: 'armoire',
@@ -32,15 +12,15 @@ const featuredItems = {
},
{
type: 'premiumHatchingPotion',
path: 'premiumHatchingPotions.StainedGlass',
path: 'premiumHatchingPotions.Sunset',
},
{
type: 'premiumHatchingPotion',
path: 'premiumHatchingPotions.Aurora',
path: 'premiumHatchingPotions.Glass',
},
{
type: 'premiumHatchingPotion',
path: 'premiumHatchingPotions.IcySnow',
path: 'premiumHatchingPotions.SandSculpture',
},
];
}
@@ -51,67 +31,35 @@ const featuredItems = {
},
{
type: 'food',
path: 'food.Saddle',
path: 'food.Honey',
},
{
type: 'hatchingPotions',
path: 'hatchingPotions.Golden',
path: 'hatchingPotions.Zombie',
},
{
type: 'eggs',
path: 'eggs.Fox',
path: 'eggs.PandaCub',
},
];
},
quests () {
if (moment().isBefore('2020-12-17T08:00-04:00')) {
return [
{
type: 'quests',
path: 'quests.gryphon',
},
{
type: 'quests',
path: 'quests.hedgehog',
},
{
type: 'quests',
path: 'quests.rat',
},
];
}
if (moment().isBefore('2021-01-31T20:00-04:00')) {
return [
{
type: 'bundles',
path: 'bundles.winterQuests',
},
{
type: 'quests',
path: 'quests.spider',
},
{
type: 'quests',
path: 'quests.silver',
},
];
}
return [
{
type: 'quests',
path: 'quests.ghost_stag',
path: 'quests.sloth',
},
{
type: 'quests',
path: 'quests.unicorn',
path: 'quests.slime',
},
{
type: 'quests',
path: 'quests.falcon',
path: 'quests.taskwoodsTerror1',
},
];
},
seasonal: 'fall2019Mage',
seasonal: 'summer2020Healer',
timeTravelers: [
// TODO
],