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:
Natalie L
2022-08-04 16:14:27 -04:00
committed by GitHub
parent 6e8e7318f3
commit f7b727dc95
10 changed files with 47 additions and 10 deletions

View File

@@ -463,6 +463,11 @@
width: 48px; width: 48px;
height: 52px; height: 52px;
} }
.achievement-woodlandWizard2x {
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/achievement-woodlandWizard2x.png');
width: 60px;
height: 64px;
}
.achievement-zodiac2x { .achievement-zodiac2x {
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/achievement-zodiac2x.png'); background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/achievement-zodiac2x.png');
width: 60px; width: 60px;

View File

@@ -135,5 +135,8 @@
"achievementReptacularRumbleModalText": "You collected all the reptile pets!", "achievementReptacularRumbleModalText": "You collected all the reptile pets!",
"achievementGroupsBeta2022": "Interactive Beta Tester", "achievementGroupsBeta2022": "Interactive Beta Tester",
"achievementGroupsBeta2022Text": "You and your group provided invaluable feedback to help Habitica test.", "achievementGroupsBeta2022Text": "You and your group provided invaluable feedback to help Habitica test.",
"achievementGroupsBeta2022ModalText":"You and your groups helped Habitica by testing and providing feedback!" "achievementGroupsBeta2022ModalText":"You and your groups helped Habitica by testing and providing feedback!",
"achievementWoodlandWizard": "Woodland Wizard",
"achievementWoodlandWizardText": "Has hatched all standard colors of forest creatures: Badger, Bear, Deer, Fox, Frog, Hedgehog, Owl, Snail, Squirrel, and Treeling!",
"achievementWoodlandWizardModalText": "You collected all the forest pets!"
} }

View File

@@ -188,6 +188,11 @@ const animalSetAchievs = {
titleKey: 'achievementReptacularRumble', titleKey: 'achievementReptacularRumble',
textKey: 'achievementReptacularRumbleText', textKey: 'achievementReptacularRumbleText',
}, },
woodlandWizard: {
icon: 'achievement-woodlandWizard',
titleKey: 'achievementWoodlandWizard',
textKey: 'achievementWoodlandWizardText',
},
zodiacZookeeper: { zodiacZookeeper: {
icon: 'achievement-zodiac', icon: 'achievement-zodiac',
titleKey: 'achievementZodiacZookeeper', titleKey: 'achievementZodiacZookeeper',

View File

@@ -144,8 +144,9 @@ const bundles = {
'hedgehog', 'hedgehog',
'treeling', 'treeling',
], ],
event: EVENTS.bundle202208,
canBuy () { canBuy () {
return moment().isBetween('2018-09-11', '2018-10-02'); return moment().isBetween(EVENTS.bundle202208.start, EVENTS.bundle202208.end);
}, },
type: 'quests', type: 'quests',
value: 7, value: 7,

View File

@@ -55,6 +55,23 @@ const ANIMAL_SET_ACHIEVEMENTS = {
achievementKey: 'reptacularRumble', achievementKey: 'reptacularRumble',
notificationType: 'ACHIEVEMENT_ANIMAL_SET', 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: { zodiacZookeeper: {
type: 'pet', type: 'pet',
species: [ species: [

View File

@@ -15,6 +15,10 @@ export const EVENTS = {
season: 'normal', season: 'normal',
npcImageSuffix: '', npcImageSuffix: '',
}, },
bundle202208: {
start: '2022-08-09T08:00-04:00',
end: '2022-09-30T20:00-04:00',
},
summer2022: { summer2022: {
start: '2022-06-21T08:00-04:00', start: '2022-06-21T08:00-04:00',
end: '2022-07-31T20:00-04:00', end: '2022-07-31T20:00-04:00',

View File

@@ -40,24 +40,24 @@ const featuredItems = {
}, },
{ {
type: 'eggs', type: 'eggs',
path: 'eggs.Cactus', path: 'eggs.BearCub',
}, },
]; ];
}, },
quests () { quests () {
if (moment().isBefore(EVENTS.bundle202206.end)) { if (moment().isBetween(EVENTS.bundle202208.start, EVENTS.bundle202208.end)) {
return [ return [
{ {
type: 'bundles', type: 'bundles',
path: 'bundles.aquaticAmigos', path: 'bundles.forestFriends',
}, },
{ {
type: 'quests', type: 'quests',
path: 'quests.seaserpent', path: 'quests.owl',
}, },
{ {
type: 'quests', type: 'quests',
path: 'quests.dolphin', path: 'quests.snail',
}, },
]; ];
} }

View File

@@ -218,6 +218,7 @@ function _getBasicAchievements (user, language) {
_addSimple(result, user, { path: 'zodiacZookeeper', language }); _addSimple(result, user, { path: 'zodiacZookeeper', language });
_addSimple(result, user, { path: 'birdsOfAFeather', language }); _addSimple(result, user, { path: 'birdsOfAFeather', language });
_addSimple(result, user, { path: 'reptacularRumble', language }); _addSimple(result, user, { path: 'reptacularRumble', language });
_addSimple(result, user, { path: 'woodlandWizard', language });
_addSimpleWithMasterCount(result, user, { path: 'beastMaster', language }); _addSimpleWithMasterCount(result, user, { path: 'beastMaster', language });
_addSimpleWithMasterCount(result, user, { path: 'mountMaster', language }); _addSimpleWithMasterCount(result, user, { path: 'mountMaster', language });

View File

@@ -150,6 +150,7 @@ export default new Schema({
zodiacZookeeper: Boolean, zodiacZookeeper: Boolean,
birdsOfAFeather: Boolean, birdsOfAFeather: Boolean,
reptacularRumble: Boolean, reptacularRumble: Boolean,
woodlandWizard: Boolean,
// Onboarding Guide // Onboarding Guide
createdTask: Boolean, createdTask: Boolean,
completedTask: Boolean, completedTask: Boolean,