chore(content): add 2022-09 Pet Quest bundle (#14218)

* chore(content): farmFriends quest bundle

* chore(content): 2022-09 Pet Quest Bundle

* fix(date): fix start date
This commit is contained in:
Natalie L
2022-09-13 10:12:24 -04:00
committed by GitHub
parent 38bf0b3721
commit 0f4711c358
4 changed files with 16 additions and 9 deletions

View File

@@ -596,7 +596,7 @@
"questHippoUnlockText": "Unlocks Hippo Eggs for purchase in the Market", "questHippoUnlockText": "Unlocks Hippo Eggs for purchase in the Market",
"farmFriendsText": "Farm Friends Quest Bundle", "farmFriendsText": "Farm Friends Quest Bundle",
"farmFriendsNotes": "Contains 'The Mootant Cow', 'Ride the Night-Mare', and 'The Thunder Ram'. Available until August 31.", "farmFriendsNotes": "Contains 'The Mootant Cow', 'Ride the Night-Mare', and 'The Thunder Ram'. Available until September 30.",
"witchyFamiliarsText": "Witchy Familiars Quest Bundle", "witchyFamiliarsText": "Witchy Familiars Quest Bundle",
"witchyFamiliarsNotes": "Contains 'The Rat King', 'The Icy Arachnid', and 'Swamp of the Clutter Frog'. Available until October 31.", "witchyFamiliarsNotes": "Contains 'The Rat King', 'The Icy Arachnid', and 'Swamp of the Clutter Frog'. Available until October 31.",

View File

@@ -52,8 +52,9 @@ const bundles = {
'horse', 'horse',
'sheep', 'sheep',
], ],
event: EVENTS.bundle202209,
canBuy () { canBuy () {
return moment().isBetween('2019-08-08', '2019-09-02'); return moment().isBetween(EVENTS.bundle202209.start, EVENTS.bundle202209.end);
}, },
type: 'quests', type: 'quests',
value: 7, value: 7,

View File

@@ -15,6 +15,12 @@ export const EVENTS = {
season: 'normal', season: 'normal',
npcImageSuffix: '', npcImageSuffix: '',
}, },
bundle202209: {
start: '2022-09-13T08:00-04:00',
end: '2022-09-30T20:00-04:00',
season: 'normal',
npcImageSuffix: '',
},
potions202208: { potions202208: {
start: '2022-08-16T08:00-04:00', start: '2022-08-16T08:00-04:00',
end: '2022-08-31T20:00-04:00', end: '2022-08-31T20:00-04:00',

View File

@@ -32,11 +32,11 @@ const featuredItems = {
}, },
{ {
type: 'food', type: 'food',
path: 'food.RottenMeat', path: 'food.Potatoe',
}, },
{ {
type: 'hatchingPotions', type: 'hatchingPotions',
path: 'hatchingPotions.Zombie', path: 'hatchingPotions.Desert',
}, },
{ {
type: 'eggs', type: 'eggs',
@@ -45,26 +45,26 @@ const featuredItems = {
]; ];
}, },
quests () { quests () {
if (moment().isBetween(EVENTS.bundle202208.start, EVENTS.bundle202208.end)) { if (moment().isBetween(EVENTS.bundle202208.start, EVENTS.bundle202209.end)) {
return [ return [
{ {
type: 'bundles', type: 'bundles',
path: 'bundles.forestFriends', path: 'bundles.forestFriends',
}, },
{ {
type: 'quests', type: 'bundles',
path: 'quests.owl', path: 'bundles.farmFriends',
}, },
{ {
type: 'quests', type: 'quests',
path: 'quests.snail', path: 'quests.ferret',
}, },
]; ];
} }
return [ return [
{ {
type: 'quests', type: 'quests',
path: 'quests.badger', path: 'quests.guineapig',
}, },
{ {
type: 'quests', type: 'quests',