mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
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:
@@ -596,7 +596,7 @@
|
||||
"questHippoUnlockText": "Unlocks Hippo Eggs for purchase in the Market",
|
||||
|
||||
"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",
|
||||
"witchyFamiliarsNotes": "Contains 'The Rat King', 'The Icy Arachnid', and 'Swamp of the Clutter Frog'. Available until October 31.",
|
||||
|
||||
@@ -52,8 +52,9 @@ const bundles = {
|
||||
'horse',
|
||||
'sheep',
|
||||
],
|
||||
event: EVENTS.bundle202209,
|
||||
canBuy () {
|
||||
return moment().isBetween('2019-08-08', '2019-09-02');
|
||||
return moment().isBetween(EVENTS.bundle202209.start, EVENTS.bundle202209.end);
|
||||
},
|
||||
type: 'quests',
|
||||
value: 7,
|
||||
|
||||
@@ -15,6 +15,12 @@ export const EVENTS = {
|
||||
season: 'normal',
|
||||
npcImageSuffix: '',
|
||||
},
|
||||
bundle202209: {
|
||||
start: '2022-09-13T08:00-04:00',
|
||||
end: '2022-09-30T20:00-04:00',
|
||||
season: 'normal',
|
||||
npcImageSuffix: '',
|
||||
},
|
||||
potions202208: {
|
||||
start: '2022-08-16T08:00-04:00',
|
||||
end: '2022-08-31T20:00-04:00',
|
||||
|
||||
@@ -32,11 +32,11 @@ const featuredItems = {
|
||||
},
|
||||
{
|
||||
type: 'food',
|
||||
path: 'food.RottenMeat',
|
||||
path: 'food.Potatoe',
|
||||
},
|
||||
{
|
||||
type: 'hatchingPotions',
|
||||
path: 'hatchingPotions.Zombie',
|
||||
path: 'hatchingPotions.Desert',
|
||||
},
|
||||
{
|
||||
type: 'eggs',
|
||||
@@ -45,26 +45,26 @@ const featuredItems = {
|
||||
];
|
||||
},
|
||||
quests () {
|
||||
if (moment().isBetween(EVENTS.bundle202208.start, EVENTS.bundle202208.end)) {
|
||||
if (moment().isBetween(EVENTS.bundle202208.start, EVENTS.bundle202209.end)) {
|
||||
return [
|
||||
{
|
||||
type: 'bundles',
|
||||
path: 'bundles.forestFriends',
|
||||
},
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.owl',
|
||||
type: 'bundles',
|
||||
path: 'bundles.farmFriends',
|
||||
},
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.snail',
|
||||
path: 'quests.ferret',
|
||||
},
|
||||
];
|
||||
}
|
||||
return [
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.badger',
|
||||
path: 'quests.guineapig',
|
||||
},
|
||||
{
|
||||
type: 'quests',
|
||||
|
||||
Reference in New Issue
Block a user