Files
habitica/website/common/script/content/constants/animalSetAchievements.js
Natalie L 573c932565 chore(content): add Polar Pro achievement (#14399)
* chore(content): add Polar Pro achievement

* chore(script): add migration script

* fix(typo): rogue backticks

* fix(capitalization): revert css blurp

* fix(migration): no babby wuff

Co-authored-by: Sabe Jones <sabrecat@gmail.com>
Co-authored-by: SabreCat <sabe@habitica.com>
2022-12-13 14:50:53 -06:00

109 lines
2.0 KiB
JavaScript

const ANIMAL_SET_ACHIEVEMENTS = {
legendaryBestiary: {
type: 'pet',
species: [
'Dragon',
'FlyingPig',
'Gryphon',
'SeaSerpent',
'Unicorn',
],
achievementKey: 'legendaryBestiary',
notificationType: 'ACHIEVEMENT_ANIMAL_SET',
},
birdsOfAFeather: {
type: 'pet',
species: [
'FlyingPig',
'Owl',
'Parrot',
'Pterodactyl',
'Gryphon',
'Falcon',
'Rooster',
'Peacock',
],
achievementKey: 'birdsOfAFeather',
notificationType: 'ACHIEVEMENT_ANIMAL_SET',
},
domesticated: {
type: 'pet',
species: [
'Ferret',
'GuineaPig',
'Rooster',
'FlyingPig',
'Rat',
'Bunny',
'Horse',
'Cow',
],
achievementKey: 'domesticated',
notificationType: 'ACHIEVEMENT_ANIMAL_SET',
},
polarPro: {
type: 'pet',
species: [
'BearCub',
'Fox',
'Penguin',
'Whale',
'Wolf',
],
achievementKey: 'polarPro',
notificationType: 'ACHIEVEMENT_ANIMAL_SET',
},
reptacularRumble: {
type: 'pet',
species: [
'Alligator',
'Pterodactyl',
'Snake',
'Triceratops',
'TRex',
'Turtle',
'Velociraptor',
],
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: [
'Rat',
'Cow',
'Bunny',
'Snake',
'Horse',
'Sheep',
'Monkey',
'Rooster',
'Wolf',
'TigerCub',
'FlyingPig',
'Dragon',
],
achievementKey: 'zodiacZookeeper',
notificationType: 'ACHIEVEMENT_ANIMAL_SET',
},
};
export default ANIMAL_SET_ACHIEVEMENTS;