mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 21:57:22 +01:00
chore(content): add Woodland Wizard Achievement and Forest Friends Quest Bundle (#14159)
* chore(submodule): add August 2022 Mystery Items * chore(content): add Woodland Wizard achievement * chore(content): add Forest Friends quest bundle * fix(typo): whitespace Co-authored-by: Sabe Jones <sabrecat@gmail.com>
This commit is contained in:
@@ -188,6 +188,11 @@ const animalSetAchievs = {
|
||||
titleKey: 'achievementReptacularRumble',
|
||||
textKey: 'achievementReptacularRumbleText',
|
||||
},
|
||||
woodlandWizard: {
|
||||
icon: 'achievement-woodlandWizard',
|
||||
titleKey: 'achievementWoodlandWizard',
|
||||
textKey: 'achievementWoodlandWizardText',
|
||||
},
|
||||
zodiacZookeeper: {
|
||||
icon: 'achievement-zodiac',
|
||||
titleKey: 'achievementZodiacZookeeper',
|
||||
|
||||
@@ -144,8 +144,9 @@ const bundles = {
|
||||
'hedgehog',
|
||||
'treeling',
|
||||
],
|
||||
event: EVENTS.bundle202208,
|
||||
canBuy () {
|
||||
return moment().isBetween('2018-09-11', '2018-10-02');
|
||||
return moment().isBetween(EVENTS.bundle202208.start, EVENTS.bundle202208.end);
|
||||
},
|
||||
type: 'quests',
|
||||
value: 7,
|
||||
|
||||
@@ -55,6 +55,23 @@ const ANIMAL_SET_ACHIEVEMENTS = {
|
||||
achievementKey: 'reptacularRumble',
|
||||
notificationType: 'ACHIEVEMENT_ANIMAL_SET',
|
||||
},
|
||||
woodlandWizard: {
|
||||
type: 'pet',
|
||||
species: [
|
||||
'Badger',
|
||||
'BearCub',
|
||||
'Deer',
|
||||
'Fox',
|
||||
'Frog',
|
||||
'Hedgehog',
|
||||
'Owl',
|
||||
'Snail',
|
||||
'Squirrel',
|
||||
'Treeling',
|
||||
],
|
||||
achievementKey: 'woodlandWizard',
|
||||
notificationType: 'ACHIEVEMENT_ANIMAL_SET',
|
||||
},
|
||||
zodiacZookeeper: {
|
||||
type: 'pet',
|
||||
species: [
|
||||
|
||||
@@ -15,6 +15,10 @@ export const EVENTS = {
|
||||
season: 'normal',
|
||||
npcImageSuffix: '',
|
||||
},
|
||||
bundle202208: {
|
||||
start: '2022-08-09T08:00-04:00',
|
||||
end: '2022-09-30T20:00-04:00',
|
||||
},
|
||||
summer2022: {
|
||||
start: '2022-06-21T08:00-04:00',
|
||||
end: '2022-07-31T20:00-04:00',
|
||||
|
||||
@@ -40,24 +40,24 @@ const featuredItems = {
|
||||
},
|
||||
{
|
||||
type: 'eggs',
|
||||
path: 'eggs.Cactus',
|
||||
path: 'eggs.BearCub',
|
||||
},
|
||||
];
|
||||
},
|
||||
quests () {
|
||||
if (moment().isBefore(EVENTS.bundle202206.end)) {
|
||||
if (moment().isBetween(EVENTS.bundle202208.start, EVENTS.bundle202208.end)) {
|
||||
return [
|
||||
{
|
||||
type: 'bundles',
|
||||
path: 'bundles.aquaticAmigos',
|
||||
path: 'bundles.forestFriends',
|
||||
},
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.seaserpent',
|
||||
path: 'quests.owl',
|
||||
},
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.dolphin',
|
||||
path: 'quests.snail',
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user