mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 21:57:22 +01:00
commit39427a75dbAuthor: Matteo Pagliazzi <matteopagliazzi@gmail.com> Date: Wed Jun 17 17:33:30 2020 +0200 To-Dos -> To Do's (#12290) * To-Dos -> To Do's * To-Do -> To Do commitd7854f3809Author: jacobguinther <jacobgguinther@gmail.com> Date: Tue Jun 16 13:31:32 2020 -0600 Remove party banner when below tablet size (fixes 10827) (#12289) * Remove party banner when below tablet size - Use Bootstrap breakpoints to remove party banner @ 768px - Remove old media query that removed party button on small screens * Make progress bars smaller @ 992px - Makes room for party piece commit0d8df9f1a2Author: Sabe Jones <sabrecat@gmail.com> Date: Tue Jun 16 13:42:28 2020 -0500 More Armoire content refactoring (#12288) * refactor(armoire): still more defaultification * fix(refactor): look at array for index, not object * refactor(armoire): skip stat processing if item already has notes commit679c8f725bMerge:274a5f310eed0cffce76Author: Melior <admin@habitica.com> Date: Tue Jun 16 20:39:36 2020 +0200 Merge branch 'origin/develop' into Weblate. commited0cffce76Author: Melior <admin@habitica.com> Date: Tue Jun 16 20:39:25 2020 +0200 Translated using Weblate (Dutch) Currently translated at 94.6% (2000 of 2113 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/nl/ Translated using Weblate (Japanese) Currently translated at 96.4% (677 of 702 strings) Translation: Habitica/Questscontent Translate-URL: https://translate.habitica.com/projects/habitica/questscontent/ja/ Translated using Weblate (Dutch) Currently translated at 94.6% (2000 of 2113 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/nl/ Translated using Weblate (Japanese) Currently translated at 97.5% (81 of 83 strings) Translation: Habitica/Achievements Translate-URL: https://translate.habitica.com/projects/habitica/achievements/ja/ Translated using Weblate (Vietnamese) Currently translated at 100.0% (536 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/vi/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (213 of 213 strings) Translation: Habitica/Tasks Translate-URL: https://translate.habitica.com/projects/habitica/tasks/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (2113 of 2113 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (702 of 702 strings) Translation: Habitica/Questscontent Translate-URL: https://translate.habitica.com/projects/habitica/questscontent/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (359 of 359 strings) Translation: Habitica/Content Translate-URL: https://translate.habitica.com/projects/habitica/content/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (536 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/pt_BR/ Translated using Weblate (Vietnamese) Currently translated at 97.0% (520 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/vi/ Translated using Weblate (Vietnamese) Currently translated at 94.0% (504 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/vi/ Translated using Weblate (Japanese) Currently translated at 100.0% (140 of 140 strings) Translation: Habitica/Quests Translate-URL: https://translate.habitica.com/projects/habitica/quests/ja/ Translated using Weblate (Japanese) Currently translated at 100.0% (173 of 173 strings) Translation: Habitica/Npc Translate-URL: https://translate.habitica.com/projects/habitica/npc/ja/ Translated using Weblate (Japanese) Currently translated at 100.0% (56 of 56 strings) Translation: Habitica/Faq Translate-URL: https://translate.habitica.com/projects/habitica/faq/ja/ Translated using Weblate (Russian) Currently translated at 98.2% (690 of 702 strings) Translation: Habitica/Questscontent Translate-URL: https://translate.habitica.com/projects/habitica/questscontent/ru/ Translated using Weblate (Japanese) Currently translated at 95.4% (670 of 702 strings) Translation: Habitica/Questscontent Translate-URL: https://translate.habitica.com/projects/habitica/questscontent/ja/ Translated using Weblate (Japanese) Currently translated at 100.0% (359 of 359 strings) Translation: Habitica/Content Translate-URL: https://translate.habitica.com/projects/habitica/content/ja/ Translated using Weblate (Japanese) Currently translated at 100.0% (213 of 213 strings) Translation: Habitica/Tasks Translate-URL: https://translate.habitica.com/projects/habitica/tasks/ja/ Translated using Weblate (Japanese) Currently translated at 100.0% (173 of 173 strings) Translation: Habitica/Npc Translate-URL: https://translate.habitica.com/projects/habitica/npc/ja/ Translated using Weblate (Japanese) Currently translated at 100.0% (536 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ja/ Translated using Weblate (Japanese) Currently translated at 95.1% (79 of 83 strings) Translation: Habitica/Achievements Translate-URL: https://translate.habitica.com/projects/habitica/achievements/ja/ Translated using Weblate (Vietnamese) Currently translated at 92.3% (495 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/vi/ Translated using Weblate (Romanian) Currently translated at 100.0% (213 of 213 strings) Translation: Habitica/Tasks Translate-URL: https://translate.habitica.com/projects/habitica/tasks/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (57 of 57 strings) Translation: Habitica/Spells Translate-URL: https://translate.habitica.com/projects/habitica/spells/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (56 of 56 strings) Translation: Habitica/Faq Translate-URL: https://translate.habitica.com/projects/habitica/faq/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (63 of 63 strings) Translation: Habitica/Defaulttasks Translate-URL: https://translate.habitica.com/projects/habitica/defaulttasks/ro/ Translated using Weblate (Romanian) Currently translated at 100.0% (211 of 211 strings) Translation: Habitica/Settings Translate-URL: https://translate.habitica.com/projects/habitica/settings/ro/ Translated using Weblate (Russian) Currently translated at 100.0% (143 of 143 strings) Translation: Habitica/Pets Translate-URL: https://translate.habitica.com/projects/habitica/pets/ru/ Translated using Weblate (Russian) Currently translated at 100.0% (359 of 359 strings) Translation: Habitica/Content Translate-URL: https://translate.habitica.com/projects/habitica/content/ru/ Translated using Weblate (Japanese) Currently translated at 99.6% (534 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ja/ Translated using Weblate (Russian) Currently translated at 99.5% (210 of 211 strings) Translation: Habitica/Settings Translate-URL: https://translate.habitica.com/projects/habitica/settings/ru/ Translated using Weblate (Vietnamese) Currently translated at 90.8% (487 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/vi/ Translated using Weblate (Japanese) Currently translated at 98.8% (530 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ja/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (536 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/zh_Hans/ Translated using Weblate (Vietnamese) Currently translated at 83.2% (446 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/vi/ Translated using Weblate (Vietnamese) Currently translated at 100.0% (213 of 213 strings) Translation: Habitica/Tasks Translate-URL: https://translate.habitica.com/projects/habitica/tasks/vi/ Translated using Weblate (Dutch) Currently translated at 94.4% (1996 of 2113 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/nl/ Translated using Weblate (Japanese) Currently translated at 95.4% (670 of 702 strings) Translation: Habitica/Questscontent Translate-URL: https://translate.habitica.com/projects/habitica/questscontent/ja/ Translated using Weblate (Japanese) Currently translated at 100.0% (359 of 359 strings) Translation: Habitica/Content Translate-URL: https://translate.habitica.com/projects/habitica/content/ja/ Translated using Weblate (Japanese) Currently translated at 98.3% (527 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ja/ commit274a5f310eMerge:d961b8aaafbceccd55bfAuthor: Sabe Jones <sabrecat@gmail.com> Date: Tue Jun 16 13:36:42 2020 -0500 Merge branch 'release' into develop commitd961b8aaafAuthor: Frank Maximus <frank@healingjourneyman.com> Date: Tue Jun 16 19:06:14 2020 +0200 #9498: Hide Wolf-Veteran and LionCub-Ethereal (#12292) commit430ff64875Author: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue Jun 16 15:12:39 2020 +0200 build(deps): bump @vue/cli-plugin-eslint in /website/client (#12301) Bumps [@vue/cli-plugin-eslint](https://github.com/vuejs/vue-cli/tree/HEAD/packages/@vue/cli-plugin-eslint) from 4.4.1 to 4.4.4. - [Release notes](https://github.com/vuejs/vue-cli/releases) - [Changelog](https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md) - [Commits](https://github.com/vuejs/vue-cli/commits/v4.4.4/packages/@vue/cli-plugin-eslint) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> commitac99c6c3c5Merge:1be03d741aa43f410031Author: Matteo Pagliazzi <matteopagliazzi@gmail.com> Date: Tue Jun 16 15:04:30 2020 +0200 build(deps): bump @vue/cli-service in /website/client (#12305) Bumps [@vue/cli-service](https://github.com/vuejs/vue-cli/tree/HEAD/packages/@vue/cli-service) from 4.4.1 to 4.4.4. - [Release notes](https://github.com/vuejs/vue-cli/releases) - [Changelog](https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md) - [Commits](https://github.com/vuejs/vue-cli/commits/v4.4.4/packages/@vue/cli-service) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> commit1be03d741aAuthor: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue Jun 16 15:04:13 2020 +0200 build(deps): bump @vue/cli-plugin-router in /website/client (#12304) Bumps [@vue/cli-plugin-router](https://github.com/vuejs/vue-cli/tree/HEAD/packages/@vue/cli-plugin-router) from 4.4.1 to 4.4.4. - [Release notes](https://github.com/vuejs/vue-cli/releases) - [Changelog](https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md) - [Commits](https://github.com/vuejs/vue-cli/commits/v4.4.4/packages/@vue/cli-plugin-router) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> commita43f410031Author: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue Jun 16 13:00:43 2020 +0000 build(deps): bump @vue/cli-service in /website/client Bumps [@vue/cli-service](https://github.com/vuejs/vue-cli/tree/HEAD/packages/@vue/cli-service) from 4.4.1 to 4.4.4. - [Release notes](https://github.com/vuejs/vue-cli/releases) - [Changelog](https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md) - [Commits](https://github.com/vuejs/vue-cli/commits/v4.4.4/packages/@vue/cli-service) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> commitb84395b17dAuthor: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue Jun 16 14:58:02 2020 +0200 build(deps): bump vue-router from 3.3.2 to 3.3.4 in /website/client (#12306) Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.3.2 to 3.3.4. - [Release notes](https://github.com/vuejs/vue-router/releases) - [Changelog](https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md) - [Commits](https://github.com/vuejs/vue-router/compare/v3.3.2...v3.3.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> commitd5d4afe613Author: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue Jun 16 14:57:43 2020 +0200 build(deps): bump @vue/cli-plugin-unit-mocha in /website/client (#12303) Bumps [@vue/cli-plugin-unit-mocha](https://github.com/vuejs/vue-cli/tree/HEAD/packages/@vue/cli-plugin-unit-mocha) from 4.4.1 to 4.4.4. - [Release notes](https://github.com/vuejs/vue-cli/releases) - [Changelog](https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md) - [Commits](https://github.com/vuejs/vue-cli/commits/v4.4.4/packages/@vue/cli-plugin-unit-mocha) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> commitdef62d5716Author: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue Jun 16 14:57:37 2020 +0200 build(deps): bump habitica-markdown in /website/client (#12302) Bumps [habitica-markdown](https://github.com/HabitRPG/habitica-markdown) from 2.0.0 to 2.0.2. - [Release notes](https://github.com/HabitRPG/habitica-markdown/releases) - [Commits](https://github.com/HabitRPG/habitica-markdown/commits/v2.0.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> commit5846898592Author: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue Jun 16 14:57:25 2020 +0200 build(deps): bump @vue/cli-plugin-babel in /website/client (#12299) Bumps [@vue/cli-plugin-babel](https://github.com/vuejs/vue-cli/tree/HEAD/packages/@vue/cli-plugin-babel) from 4.4.1 to 4.4.4. - [Release notes](https://github.com/vuejs/vue-cli/releases) - [Changelog](https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md) - [Commits](https://github.com/vuejs/vue-cli/commits/v4.4.4/packages/@vue/cli-plugin-babel) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> commit524aac4d95Author: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue Jun 16 14:57:11 2020 +0200 build(deps): bump helmet from 3.22.0 to 3.23.0 (#12297) Bumps [helmet](https://github.com/helmetjs/helmet) from 3.22.0 to 3.23.0. - [Release notes](https://github.com/helmetjs/helmet/releases) - [Changelog](https://github.com/helmetjs/helmet/blob/master/CHANGELOG.md) - [Commits](https://github.com/helmetjs/helmet/compare/v3.22.0...v3.23.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> commit92dc332ab9Merge:7902db2edcbcd3e2851cAuthor: Melior <admin@habitica.com> Date: Fri Jun 12 00:02:52 2020 +0200 Merge branch 'origin/develop' into Weblate. commit7902db2edcMerge:f3ea5f0b62e6b65871e7Author: Sabe Jones <sabrecat@gmail.com> Date: Thu Jun 11 16:38:48 2020 -0500 Merge branch 'release' into develop commitf3ea5f0b62Author: negue <negue@users.noreply.github.com> Date: Thu Jun 11 21:14:33 2020 +0200 Tasks Redesign: Colors, Title, Notes, Habit Controls, Button Style (#12274) * extract color changes + habit-controls out of #12142 * extract title / notes changes from #12142 * extracted delete btn + style fixes of #12142 * fix taskModal footer + advancedSettings * extracted the button style changes from #12142 * remove un-used method commitbcd3e2851cAuthor: Melior <admin@habitica.com> Date: Thu Jun 11 20:46:57 2020 +0200 Translated using Weblate (Vietnamese) Currently translated at 100.0% (83 of 83 strings) Translation: Habitica/Achievements Translate-URL: https://translate.habitica.com/projects/habitica/achievements/vi/ Translated using Weblate (Latin) Currently translated at 85.5% (71 of 83 strings) Translation: Habitica/Achievements Translate-URL: https://translate.habitica.com/projects/habitica/achievements/la/ Translated using Weblate (Russian) Currently translated at 97.3% (2056 of 2113 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/ru/ Translated using Weblate (German) Currently translated at 99.8% (2110 of 2113 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/de/ Translated using Weblate (Russian) Currently translated at 99.4% (533 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ru/ Translated using Weblate (Japanese) Currently translated at 97.9% (525 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ja/ Translated using Weblate (German) Currently translated at 99.6% (534 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/de/ Translated using Weblate (Catalan) Currently translated at 100.0% (4 of 4 strings) Translation: Habitica/Noscript Translate-URL: https://translate.habitica.com/projects/habitica/noscript/ca/ Translated using Weblate (Catalan) Currently translated at 100.0% (12 of 12 strings) Translation: Habitica/Merch Translate-URL: https://translate.habitica.com/projects/habitica/merch/ca/ Translated using Weblate (Catalan) Currently translated at 100.0% (230 of 230 strings) Translation: Habitica/Character Translate-URL: https://translate.habitica.com/projects/habitica/character/ca/ Translated using Weblate (Vietnamese) Currently translated at 80.9% (434 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/vi/ Translated using Weblate (Catalan) Currently translated at 100.0% (28 of 28 strings) Translation: Habitica/Rebirth Translate-URL: https://translate.habitica.com/projects/habitica/rebirth/ca/ Translated using Weblate (Catalan) Currently translated at 100.0% (31 of 31 strings) Translation: Habitica/Maintenance Translate-URL: https://translate.habitica.com/projects/habitica/maintenance/ca/ Translated using Weblate (Catalan) Currently translated at 100.0% (27 of 27 strings) Translation: Habitica/Loginincentives Translate-URL: https://translate.habitica.com/projects/habitica/loginincentives/ca/ Translated using Weblate (Catalan) Currently translated at 100.0% (6 of 6 strings) Translation: Habitica/Inventory Translate-URL: https://translate.habitica.com/projects/habitica/inventory/ca/ Translated using Weblate (Catalan) Currently translated at 82.3% (1740 of 2113 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/ca/ Translated using Weblate (Catalan) Currently translated at 100.0% (63 of 63 strings) Translation: Habitica/Defaulttasks Translate-URL: https://translate.habitica.com/projects/habitica/defaulttasks/ca/ Translated using Weblate (Catalan) Currently translated at 100.0% (15 of 15 strings) Translation: Habitica/Death Translate-URL: https://translate.habitica.com/projects/habitica/death/ca/ Translated using Weblate (Catalan) Currently translated at 99.1% (123 of 124 strings) Translation: Habitica/Communityguidelines Translate-URL: https://translate.habitica.com/projects/habitica/communityguidelines/ca/ Translated using Weblate (Portuguese) Currently translated at 83.0% (1754 of 2113 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/pt/ Translated using Weblate (Portuguese) Currently translated at 83.0% (1754 of 2113 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/pt/ Translated using Weblate (French) Currently translated at 100.0% (2113 of 2113 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/fr/ Translated using Weblate (Russian) Currently translated at 98.8% (530 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ru/ Translated using Weblate (Japanese) Currently translated at 97.5% (523 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ja/ Translated using Weblate (French) Currently translated at 100.0% (536 of 536 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/fr/ Translated using Weblate (Spanish) Currently translated at 94.6% (53 of 56 strings) Translation: Habitica/Faq Translate-URL: https://translate.habitica.com/projects/habitica/faq/es/ Translated using Weblate (Spanish) Currently translated at 99.1% (123 of 124 strings) Translation: Habitica/Communityguidelines Translate-URL: https://translate.habitica.com/projects/habitica/communityguidelines/es/ Translated using Weblate (Spanish) Currently translated at 97.1% (205 of 211 strings) Translation: Habitica/Settings Translate-URL: https://translate.habitica.com/projects/habitica/settings/es/ commit5957930709Author: Frank Maximus <frank@healingjourneyman.com> Date: Wed Jun 10 15:01:07 2020 +0200 Display descriptive error when mongod isn't running (#12196) Add test:prepare:mongo task to check is mongod is running. Fixes: #12101 commit1df4e687f1Author: Matteo Pagliazzi <matteopagliazzi@gmail.com> Date: Wed Jun 10 14:57:57 2020 +0200 fix(mentions): do not fill empty mentions with following username, fixes #12272 commit3063a38d60Merge:4b489fe4ca51d20ef7e8Author: Sabe Jones <sabrecat@gmail.com> Date: Tue Jun 9 15:28:16 2020 -0500 Merge branch 'release' into develop commit4b489fe4caMerge:afd50ddc2d074004ec75Author: Melior <admin@habitica.com> Date: Tue Jun 9 21:21:14 2020 +0200 Merge branch 'origin/develop' into Weblate. commit074004ec75Author: Melior <admin@habitica.com> Date: Tue Jun 9 21:21:04 2020 +0200 Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (249 of 249 strings) Translation: Habitica/Subscriber Translate-URL: https://translate.habitica.com/projects/habitica/subscriber/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (140 of 140 strings) Translation: Habitica/Quests Translate-URL: https://translate.habitica.com/projects/habitica/quests/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (173 of 173 strings) Translation: Habitica/Npc Translate-URL: https://translate.habitica.com/projects/habitica/npc/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (493 of 493 strings) Translation: Habitica/Groups Translate-URL: https://translate.habitica.com/projects/habitica/groups/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (2107 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (56 of 56 strings) Translation: Habitica/Faq Translate-URL: https://translate.habitica.com/projects/habitica/faq/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (124 of 124 strings) Translation: Habitica/Communityguidelines Translate-URL: https://translate.habitica.com/projects/habitica/communityguidelines/pt_BR/ Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (211 of 211 strings) Translation: Habitica/Settings Translate-URL: https://translate.habitica.com/projects/habitica/settings/pt_BR/ Translated using Weblate (Japanese) Currently translated at 100.0% (140 of 140 strings) Translation: Habitica/Quests Translate-URL: https://translate.habitica.com/projects/habitica/quests/ja/ Translated using Weblate (Japanese) Currently translated at 100.0% (493 of 493 strings) Translation: Habitica/Groups Translate-URL: https://translate.habitica.com/projects/habitica/groups/ja/ Translated using Weblate (Dutch) Currently translated at 94.6% (1994 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/nl/ Translated using Weblate (Japanese) Currently translated at 98.2% (520 of 529 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ja/ Translated using Weblate (Catalan) Currently translated at 92.0% (487 of 529 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ca/ Translated using Weblate (Russian) Currently translated at 93.9% (234 of 249 strings) Translation: Habitica/Subscriber Translate-URL: https://translate.habitica.com/projects/habitica/subscriber/ru/ Translated using Weblate (Russian) Currently translated at 97.4% (2053 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/ru/ Translated using Weblate (Russian) Currently translated at 100.0% (522 of 522 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ru/ Translated using Weblate (French) Currently translated at 100.0% (140 of 140 strings) Translation: Habitica/Quests Translate-URL: https://translate.habitica.com/projects/habitica/quests/fr/ Translated using Weblate (French) Currently translated at 100.0% (173 of 173 strings) Translation: Habitica/Npc Translate-URL: https://translate.habitica.com/projects/habitica/npc/fr/ Translated using Weblate (French) Currently translated at 100.0% (493 of 493 strings) Translation: Habitica/Groups Translate-URL: https://translate.habitica.com/projects/habitica/groups/fr/ Translated using Weblate (Russian) Currently translated at 99.2% (518 of 522 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ru/ Translated using Weblate (Vietnamese) Currently translated at 80.7% (427 of 529 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/vi/ Translated using Weblate (German) Currently translated at 100.0% (140 of 140 strings) Translation: Habitica/Quests Translate-URL: https://translate.habitica.com/projects/habitica/quests/de/ Translated using Weblate (German) Currently translated at 100.0% (173 of 173 strings) Translation: Habitica/Npc Translate-URL: https://translate.habitica.com/projects/habitica/npc/de/ Translated using Weblate (German) Currently translated at 100.0% (493 of 493 strings) Translation: Habitica/Groups Translate-URL: https://translate.habitica.com/projects/habitica/groups/de/ commitafd50ddc2dMerge:61ca500013e31ce11052Author: Sabe Jones <sabrecat@gmail.com> Date: Tue Jun 9 14:17:53 2020 -0500 Merge branch 'release' into develop commit61ca500013Merge:9ab79ef225630c848ff5Author: Melior <admin@habitica.com> Date: Mon Jun 8 21:50:11 2020 +0200 Merge branch 'origin/develop' into Weblate. commit630c848ff5Author: Melior <admin@habitica.com> Date: Mon Jun 8 16:37:50 2020 +0200 Translated using Weblate (Vietnamese) Currently translated at 100.0% (211 of 211 strings) Translation: Habitica/Tasks Translate-URL: https://translate.habitica.com/projects/habitica/tasks/vi/ Translated using Weblate (Vietnamese) Currently translated at 100.0% (124 of 124 strings) Translation: Habitica/Communityguidelines Translate-URL: https://translate.habitica.com/projects/habitica/communityguidelines/vi/ Translated using Weblate (Russian) Currently translated at 93.5% (233 of 249 strings) Translation: Habitica/Subscriber Translate-URL: https://translate.habitica.com/projects/habitica/subscriber/ru/ Translated using Weblate (Russian) Currently translated at 97.2% (2049 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/ru/ Translated using Weblate (Dutch) Currently translated at 94.6% (1994 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/nl/ Translated using Weblate (Japanese) Currently translated at 97.9% (518 of 529 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ja/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (696 of 696 strings) Translation: Habitica/Questscontent Translate-URL: https://translate.habitica.com/projects/habitica/questscontent/zh_Hans/ Translated using Weblate (Japanese) Currently translated at 97.5% (516 of 529 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ja/ Translated using Weblate (German) Currently translated at 100.0% (56 of 56 strings) Translation: Habitica/Faq Translate-URL: https://translate.habitica.com/projects/habitica/faq/de/ Translated using Weblate (Japanese) Currently translated at 97.1% (514 of 529 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ja/ Translated using Weblate (Dutch) Currently translated at 94.5% (1992 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/nl/ Translated using Weblate (German) Currently translated at 100.0% (249 of 249 strings) Translation: Habitica/Subscriber Translate-URL: https://translate.habitica.com/projects/habitica/subscriber/de/ Translated using Weblate (German) Currently translated at 100.0% (2107 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/de/ Translated using Weblate (Japanese) Currently translated at 96.7% (512 of 529 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ja/ Translated using Weblate (German) Currently translated at 99.9% (2105 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/de/ Translated using Weblate (Japanese) Currently translated at 96.4% (510 of 529 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ja/ Translated using Weblate (Dutch) Currently translated at 94.4% (1990 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/nl/ Translated using Weblate (Dutch) Currently translated at 94.4% (1990 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/nl/ Translated using Weblate (Japanese) Currently translated at 100.0% (492 of 492 strings) Translation: Habitica/Groups Translate-URL: https://translate.habitica.com/projects/habitica/groups/ja/ Translated using Weblate (Russian) Currently translated at 100.0% (211 of 211 strings) Translation: Habitica/Tasks Translate-URL: https://translate.habitica.com/projects/habitica/tasks/ru/ Translated using Weblate (Russian) Currently translated at 100.0% (57 of 57 strings) Translation: Habitica/Spells Translate-URL: https://translate.habitica.com/projects/habitica/spells/ru/ Translated using Weblate (Russian) Currently translated at 97.6% (168 of 172 strings) Translation: Habitica/Npc Translate-URL: https://translate.habitica.com/projects/habitica/npc/ru/ Translated using Weblate (Russian) Currently translated at 98.3% (178 of 181 strings) Translation: Habitica/Limited Translate-URL: https://translate.habitica.com/projects/habitica/limited/ru/ Translated using Weblate (Russian) Currently translated at 100.0% (492 of 492 strings) Translation: Habitica/Groups Translate-URL: https://translate.habitica.com/projects/habitica/groups/ru/ Translated using Weblate (Russian) Currently translated at 96.6% (2037 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/ru/ Translated using Weblate (Russian) Currently translated at 99.6% (297 of 298 strings) Translation: Habitica/Generic Translate-URL: https://translate.habitica.com/projects/habitica/generic/ru/ Translated using Weblate (Russian) Currently translated at 100.0% (328 of 328 strings) Translation: Habitica/Front Translate-URL: https://translate.habitica.com/projects/habitica/front/ru/ Translated using Weblate (Russian) Currently translated at 98.2% (55 of 56 strings) Translation: Habitica/Faq Translate-URL: https://translate.habitica.com/projects/habitica/faq/ru/ Translated using Weblate (Russian) Currently translated at 100.0% (15 of 15 strings) Translation: Habitica/Death Translate-URL: https://translate.habitica.com/projects/habitica/death/ru/ Translated using Weblate (Russian) Currently translated at 99.1% (690 of 696 strings) Translation: Habitica/Questscontent Translate-URL: https://translate.habitica.com/projects/habitica/questscontent/ru/ Translated using Weblate (German) Currently translated at 100.0% (696 of 696 strings) Translation: Habitica/Questscontent Translate-URL: https://translate.habitica.com/projects/habitica/questscontent/de/ Translated using Weblate (Russian) Currently translated at 100.0% (126 of 126 strings) Translation: Habitica/Communityguidelines Translate-URL: https://translate.habitica.com/projects/habitica/communityguidelines/ru/ Translated using Weblate (Russian) Currently translated at 100.0% (70 of 70 strings) Translation: Habitica/Contrib Translate-URL: https://translate.habitica.com/projects/habitica/contrib/ru/ Translated using Weblate (Russian) Currently translated at 100.0% (230 of 230 strings) Translation: Habitica/Character Translate-URL: https://translate.habitica.com/projects/habitica/character/ru/ Translated using Weblate (Russian) Currently translated at 100.0% (134 of 134 strings) Translation: Habitica/Challenge Translate-URL: https://translate.habitica.com/projects/habitica/challenge/ru/ Translated using Weblate (Russian) Currently translated at 99.0% (209 of 211 strings) Translation: Habitica/Settings Translate-URL: https://translate.habitica.com/projects/habitica/settings/ru/ Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (2107 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/zh_Hant/ Translated using Weblate (Polish) Currently translated at 83.6% (1763 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/pl/ Translated using Weblate (Dutch) Currently translated at 94.3% (1989 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/nl/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (696 of 696 strings) Translation: Habitica/Questscontent Translate-URL: https://translate.habitica.com/projects/habitica/questscontent/zh_Hans/ Translated using Weblate (Vietnamese) Currently translated at 96.4% (54 of 56 strings) Translation: Habitica/Faq Translate-URL: https://translate.habitica.com/projects/habitica/faq/vi/ Translated using Weblate (Vietnamese) Currently translated at 90.3% (75 of 83 strings) Translation: Habitica/Achievements Translate-URL: https://translate.habitica.com/projects/habitica/achievements/vi/ Translated using Weblate (Russian) Currently translated at 100.0% (211 of 211 strings) Translation: Habitica/Tasks Translate-URL: https://translate.habitica.com/projects/habitica/tasks/ru/ Translated using Weblate (Russian) Currently translated at 99.2% (691 of 696 strings) Translation: Habitica/Questscontent Translate-URL: https://translate.habitica.com/projects/habitica/questscontent/ru/ Translated using Weblate (Russian) Currently translated at 100.0% (134 of 134 strings) Translation: Habitica/Challenge Translate-URL: https://translate.habitica.com/projects/habitica/challenge/ru/ Translated using Weblate (Japanese) Currently translated at 100.0% (492 of 492 strings) Translation: Habitica/Groups Translate-URL: https://translate.habitica.com/projects/habitica/groups/ja/ Translated using Weblate (Dutch) Currently translated at 94.3% (1987 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/nl/ Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (249 of 249 strings) Translation: Habitica/Subscriber Translate-URL: https://translate.habitica.com/projects/habitica/subscriber/zh_Hant/ Translated using Weblate (Dutch) Currently translated at 100.0% (249 of 249 strings) Translation: Habitica/Subscriber Translate-URL: https://translate.habitica.com/projects/habitica/subscriber/nl/ Translated using Weblate (English (United Kingdom)) Currently translated at 100.0% (249 of 249 strings) Translation: Habitica/Subscriber Translate-URL: https://translate.habitica.com/projects/habitica/subscriber/en_GB/ Translated using Weblate (Dutch) Currently translated at 100.0% (181 of 181 strings) Translation: Habitica/Limited Translate-URL: https://translate.habitica.com/projects/habitica/limited/nl/ Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (2107 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/zh_Hant/ Translated using Weblate (Dutch) Currently translated at 94.2% (1985 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/nl/ Translated using Weblate (Spanish) Currently translated at 91.4% (1927 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/es/ Translated using Weblate (English (United Kingdom)) Currently translated at 100.0% (2107 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/en_GB/ Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (56 of 56 strings) Translation: Habitica/Faq Translate-URL: https://translate.habitica.com/projects/habitica/faq/zh_Hant/ Translated using Weblate (Dutch) Currently translated at 100.0% (56 of 56 strings) Translation: Habitica/Faq Translate-URL: https://translate.habitica.com/projects/habitica/faq/nl/ Translated using Weblate (English (United Kingdom)) Currently translated at 100.0% (56 of 56 strings) Translation: Habitica/Faq Translate-URL: https://translate.habitica.com/projects/habitica/faq/en_GB/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (696 of 696 strings) Translation: Habitica/Questscontent Translate-URL: https://translate.habitica.com/projects/habitica/questscontent/zh_Hans/ Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (124 of 124 strings) Translation: Habitica/Communityguidelines Translate-URL: https://translate.habitica.com/projects/habitica/communityguidelines/zh_Hant/ Translated using Weblate (English (United Kingdom)) Currently translated at 100.0% (124 of 124 strings) Translation: Habitica/Communityguidelines Translate-URL: https://translate.habitica.com/projects/habitica/communityguidelines/en_GB/ Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (211 of 211 strings) Translation: Habitica/Settings Translate-URL: https://translate.habitica.com/projects/habitica/settings/zh_Hant/ Translated using Weblate (English (United Kingdom)) Currently translated at 100.0% (211 of 211 strings) Translation: Habitica/Settings Translate-URL: https://translate.habitica.com/projects/habitica/settings/en_GB/ Translated using Weblate (Vietnamese) Currently translated at 85.5% (71 of 83 strings) Translation: Habitica/Achievements Translate-URL: https://translate.habitica.com/projects/habitica/achievements/vi/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (83 of 83 strings) Translation: Habitica/Achievements Translate-URL: https://translate.habitica.com/projects/habitica/achievements/zh_Hans/ Translated using Weblate (Japanese) Currently translated at 100.0% (172 of 172 strings) Translation: Habitica/Npc Translate-URL: https://translate.habitica.com/projects/habitica/npc/ja/ Translated using Weblate (Japanese) Currently translated at 100.0% (328 of 328 strings) Translation: Habitica/Front Translate-URL: https://translate.habitica.com/projects/habitica/front/ja/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (249 of 249 strings) Translation: Habitica/Subscriber Translate-URL: https://translate.habitica.com/projects/habitica/subscriber/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (2107 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (211 of 211 strings) Translation: Habitica/Settings Translate-URL: https://translate.habitica.com/projects/habitica/settings/zh_Hans/ Translated using Weblate (Chinese (Simplified)) Currently translated at 99.3% (2094 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/zh_Hans/ Translated using Weblate (French) Currently translated at 100.0% (249 of 249 strings) Translation: Habitica/Subscriber Translate-URL: https://translate.habitica.com/projects/habitica/subscriber/fr/ Translated using Weblate (French) Currently translated at 100.0% (2107 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/fr/ Translated using Weblate (French) Currently translated at 100.0% (56 of 56 strings) Translation: Habitica/Faq Translate-URL: https://translate.habitica.com/projects/habitica/faq/fr/ Translated using Weblate (French) Currently translated at 100.0% (124 of 124 strings) Translation: Habitica/Communityguidelines Translate-URL: https://translate.habitica.com/projects/habitica/communityguidelines/fr/ Translated using Weblate (Spanish) Currently translated at 99.7% (357 of 358 strings) Translation: Habitica/Content Translate-URL: https://translate.habitica.com/projects/habitica/content/es/ Translated using Weblate (French) Currently translated at 100.0% (211 of 211 strings) Translation: Habitica/Settings Translate-URL: https://translate.habitica.com/projects/habitica/settings/fr/ Translated using Weblate (Japanese) Currently translated at 100.0% (249 of 249 strings) Translation: Habitica/Subscriber Translate-URL: https://translate.habitica.com/projects/habitica/subscriber/ja/ Translated using Weblate (Japanese) Currently translated at 100.0% (28 of 28 strings) Translation: Habitica/Rebirth Translate-URL: https://translate.habitica.com/projects/habitica/rebirth/ja/ Translated using Weblate (Dutch) Currently translated at 94.1% (1983 of 2107 strings) Translation: Habitica/Gear Translate-URL: https://translate.habitica.com/projects/habitica/gear/nl/ Translated using Weblate (Dutch) Currently translated at 100.0% (56 of 56 strings) Translation: Habitica/Faq Translate-URL: https://translate.habitica.com/projects/habitica/faq/nl/ Translated using Weblate (Dutch) Currently translated at 100.0% (124 of 124 strings) Translation: Habitica/Communityguidelines Translate-URL: https://translate.habitica.com/projects/habitica/communityguidelines/nl/ Translated using Weblate (Japanese) Currently translated at 100.0% (124 of 124 strings) Translation: Habitica/Communityguidelines Translate-URL: https://translate.habitica.com/projects/habitica/communityguidelines/ja/ Translated using Weblate (Japanese) Currently translated at 100.0% (78 of 78 strings) Translation: Habitica/Contrib Translate-URL: https://translate.habitica.com/projects/habitica/contrib/ja/ Translated using Weblate (Dutch) Currently translated at 100.0% (83 of 83 strings) Translation: Habitica/Achievements Translate-URL: https://translate.habitica.com/projects/habitica/achievements/nl/ Translated using Weblate (Dutch) Currently translated at 100.0% (211 of 211 strings) Translation: Habitica/Settings Translate-URL: https://translate.habitica.com/projects/habitica/settings/nl/ Translated using Weblate (Japanese) Currently translated at 100.0% (492 of 492 strings) Translation: Habitica/Groups Translate-URL: https://translate.habitica.com/projects/habitica/groups/ja/ Translated using Weblate (Japanese) Currently translated at 100.0% (56 of 56 strings) Translation: Habitica/Faq Translate-URL: https://translate.habitica.com/projects/habitica/faq/ja/ Translated using Weblate (Japanese) Currently translated at 100.0% (124 of 124 strings) Translation: Habitica/Communityguidelines Translate-URL: https://translate.habitica.com/projects/habitica/communityguidelines/ja/ Translated using Weblate (Japanese) Currently translated at 96.0% (508 of 529 strings) Translation: Habitica/Backgrounds Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/ja/ Translated using Weblate (German) Currently translated at 100.0% (56 of 56 strings) Translation: Habitica/Faq Translate-URL: https://translate.habitica.com/projects/habitica/faq/de/ Translated using Weblate (German) Currently translated at 100.0% (124 of 124 strings) Translation: Habitica/Communityguidelines Translate-URL: https://translate.habitica.com/projects/habitica/communityguidelines/de/ Translated using Weblate (German) Currently translated at 100.0% (211 of 211 strings) Translation: Habitica/Settings Translate-URL: https://translate.habitica.com/projects/habitica/settings/de/
228 lines
5.8 KiB
JavaScript
228 lines
5.8 KiB
JavaScript
import each from 'lodash/each';
|
|
import {
|
|
drops as dropEggs,
|
|
quests as questEggs,
|
|
} from './eggs';
|
|
import {
|
|
drops as dropPotions,
|
|
premium as premiumPotions,
|
|
wacky as wackyPotions,
|
|
} from './hatching-potions';
|
|
import t from './translation';
|
|
|
|
const petInfo = {};
|
|
const mountInfo = {};
|
|
|
|
function constructSet (type, eggs, potions) {
|
|
const pets = {};
|
|
const mounts = {};
|
|
|
|
each(eggs, egg => {
|
|
each(potions, potion => {
|
|
const key = `${egg.key}-${potion.key}`;
|
|
|
|
function getAnimalData (text) {
|
|
return {
|
|
key,
|
|
type,
|
|
potion: potion.key,
|
|
egg: egg.key,
|
|
text,
|
|
};
|
|
}
|
|
|
|
petInfo[key] = getAnimalData(t('petName', {
|
|
potion: potion.text,
|
|
egg: egg.text,
|
|
}));
|
|
mountInfo[key] = getAnimalData(t('mountName', {
|
|
potion: potion.text,
|
|
mount: egg.mountText,
|
|
}));
|
|
|
|
pets[key] = true;
|
|
mounts[key] = true;
|
|
});
|
|
});
|
|
|
|
return [pets, mounts];
|
|
}
|
|
|
|
function constructPetOnlySet (type, eggs, potions) {
|
|
const pets = {};
|
|
|
|
each(eggs, egg => {
|
|
each(potions, potion => {
|
|
const key = `${egg.key}-${potion.key}`;
|
|
|
|
function getAnimalData (text) {
|
|
return {
|
|
key,
|
|
type,
|
|
potion: potion.key,
|
|
egg: egg.key,
|
|
text,
|
|
};
|
|
}
|
|
|
|
petInfo[key] = getAnimalData(t('petName', {
|
|
potion: potion.text,
|
|
egg: egg.text,
|
|
}));
|
|
pets[key] = true;
|
|
});
|
|
});
|
|
|
|
return pets;
|
|
}
|
|
|
|
const [dropPets, dropMounts] = constructSet('drop', dropEggs, dropPotions);
|
|
const [premiumPets, premiumMounts] = constructSet('premium', dropEggs, premiumPotions);
|
|
const [questPets, questMounts] = constructSet('quest', questEggs, dropPotions);
|
|
const wackyPets = constructPetOnlySet('wacky', dropEggs, wackyPotions);
|
|
|
|
const canFindSpecial = {
|
|
pets: {
|
|
// Veteran Pet Ladder - awarded on major updates
|
|
// https://habitica.fandom.com/wiki/Event_Item_Sequences#Veteran_Pets
|
|
'Wolf-Veteran': false,
|
|
'Tiger-Veteran': false,
|
|
'Lion-Veteran': false,
|
|
'Bear-Veteran': false,
|
|
'Fox-Veteran': false,
|
|
|
|
// Thanksgiving pet ladder
|
|
'Turkey-Base': false,
|
|
'Turkey-Gilded': false,
|
|
// Habitoween pet ladder
|
|
'JackOLantern-Base': false,
|
|
'JackOLantern-Glow': false,
|
|
'JackOLantern-Ghost': false,
|
|
// Naming Day
|
|
'Gryphon-RoyalPurple': false,
|
|
// Summer Splash Orca
|
|
'Orca-Base': false,
|
|
|
|
// Quest pets
|
|
'BearCub-Polar': true, // evilsanta
|
|
// World Quest Pets - Found in Time Travel Stable
|
|
'MantisShrimp-Base': true, // dilatory
|
|
'Mammoth-Base': true, // stressbeast
|
|
'Phoenix-Base': true, // burnout
|
|
'MagicalBee-Base': true, // bewilder
|
|
'Hippogriff-Hopeful': true, // dysheartener
|
|
|
|
// Contributor/Backer pets
|
|
'Dragon-Hydra': true, // Contributor level 6
|
|
'Jackalope-RoyalPurple': true, // subscription
|
|
'Wolf-Cerberus': false, // Pet once granted to backers
|
|
'Gryphon-Gryphatrice': false, // Pet once granted to kickstarter
|
|
},
|
|
mounts: {
|
|
// Thanksgiving pet ladder
|
|
'Turkey-Base': false,
|
|
'Turkey-Gilded': false,
|
|
|
|
// Habitoween pet ladder
|
|
'JackOLantern-Base': false,
|
|
'JackOLantern-Glow': false,
|
|
'JackOLantern-Ghost': false,
|
|
// Naming Day
|
|
'Gryphon-RoyalPurple': false,
|
|
// Summer Splash Orca
|
|
'Orca-Base': false,
|
|
|
|
// Quest mounts
|
|
'BearCub-Polar': true, // evilsanta
|
|
'Aether-Invisible': true, // lostMasterclasser4
|
|
// World Quest Pets - Found in Time Travel
|
|
'MantisShrimp-Base': true, // dilatory
|
|
'Mammoth-Base': true, // stressbeast
|
|
'Phoenix-Base': true, // burnout
|
|
'MagicalBee-Base': true,
|
|
'Hippogriff-Hopeful': true,
|
|
|
|
// Contributor/Backer pets
|
|
'LionCub-Ethereal': false, // Backer tier 90
|
|
'Jackalope-RoyalPurple': true, // subscription
|
|
'Gryphon-Gryphatrice': false, // Pet once granted to kickstarter
|
|
},
|
|
};
|
|
|
|
const specialPets = {
|
|
'Wolf-Veteran': 'veteranWolf',
|
|
'Wolf-Cerberus': 'cerberusPup',
|
|
'Dragon-Hydra': 'hydra',
|
|
'Turkey-Base': 'turkey',
|
|
'BearCub-Polar': 'polarBearPup',
|
|
'MantisShrimp-Base': 'mantisShrimp',
|
|
'JackOLantern-Base': 'jackolantern',
|
|
'Mammoth-Base': 'mammoth',
|
|
'Tiger-Veteran': 'veteranTiger',
|
|
'Phoenix-Base': 'phoenix',
|
|
'Turkey-Gilded': 'gildedTurkey',
|
|
'MagicalBee-Base': 'magicalBee',
|
|
'Lion-Veteran': 'veteranLion',
|
|
'Gryphon-RoyalPurple': 'royalPurpleGryphon',
|
|
'JackOLantern-Ghost': 'ghostJackolantern',
|
|
'Jackalope-RoyalPurple': 'royalPurpleJackalope',
|
|
'Orca-Base': 'orca',
|
|
'Bear-Veteran': 'veteranBear',
|
|
'Hippogriff-Hopeful': 'hopefulHippogriffPet',
|
|
'Fox-Veteran': 'veteranFox',
|
|
'JackOLantern-Glow': 'glowJackolantern',
|
|
'Gryphon-Gryphatrice': 'gryphatrice',
|
|
};
|
|
|
|
const specialMounts = {
|
|
'BearCub-Polar': 'polarBear',
|
|
'LionCub-Ethereal': 'etherealLion',
|
|
'MantisShrimp-Base': 'mantisShrimp',
|
|
'Turkey-Base': 'turkey',
|
|
'Mammoth-Base': 'mammoth',
|
|
'Orca-Base': 'orca',
|
|
'Gryphon-RoyalPurple': 'royalPurpleGryphon',
|
|
'Phoenix-Base': 'phoenix',
|
|
'JackOLantern-Base': 'jackolantern',
|
|
'MagicalBee-Base': 'magicalBee',
|
|
'Turkey-Gilded': 'gildedTurkey',
|
|
'Jackalope-RoyalPurple': 'royalPurpleJackalope',
|
|
'Aether-Invisible': 'invisibleAether',
|
|
'JackOLantern-Ghost': 'ghostJackolantern',
|
|
'Hippogriff-Hopeful': 'hopefulHippogriffMount',
|
|
'Gryphon-Gryphatrice': 'gryphatrice',
|
|
'JackOLantern-Glow': 'glowJackolantern',
|
|
};
|
|
|
|
each(specialPets, (translationString, key) => {
|
|
petInfo[key] = {
|
|
key,
|
|
type: 'special',
|
|
text: t(translationString),
|
|
canFind: canFindSpecial.pets[key],
|
|
};
|
|
});
|
|
|
|
each(specialMounts, (translationString, key) => {
|
|
mountInfo[key] = {
|
|
key,
|
|
type: 'special',
|
|
text: t(translationString),
|
|
canFind: canFindSpecial.mounts[key],
|
|
};
|
|
});
|
|
|
|
export {
|
|
dropPets,
|
|
premiumPets,
|
|
questPets,
|
|
wackyPets,
|
|
dropMounts,
|
|
questMounts,
|
|
premiumMounts,
|
|
specialPets,
|
|
specialMounts,
|
|
petInfo,
|
|
mountInfo,
|
|
};
|