mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
Merge branch 'release' into develop
This commit is contained in:
@@ -267,6 +267,11 @@ const basicAchievs = {
|
||||
titleKey: 'achievementShadeOfItAll',
|
||||
textKey: 'achievementShadeOfItAllText',
|
||||
},
|
||||
zodiacZookeeper: {
|
||||
icon: 'achievement-zodiac',
|
||||
titleKey: 'achievementZodiacZookeeper',
|
||||
textKey: 'achievementZodiacZookeeperText',
|
||||
},
|
||||
};
|
||||
Object.assign(achievementsData, basicAchievs);
|
||||
|
||||
|
||||
@@ -26,6 +26,25 @@ const ANIMAL_SET_ACHIEVEMENTS = {
|
||||
achievementKey: 'domesticated',
|
||||
notificationType: 'ACHIEVEMENT_DOMESTICATED',
|
||||
},
|
||||
zodiacZookeeper: {
|
||||
type: 'pet',
|
||||
species: [
|
||||
'Rat',
|
||||
'Cow',
|
||||
'Bunny',
|
||||
'Snake',
|
||||
'Horse',
|
||||
'Sheep',
|
||||
'Monkey',
|
||||
'Rooster',
|
||||
'Wolf',
|
||||
'TigerCub',
|
||||
'FlyingPig',
|
||||
'Dragon',
|
||||
],
|
||||
achievementKey: 'zodiacZookeeper',
|
||||
notificationType: 'ACHIEVEMENT_ZODIAC_ZOOKEEPER',
|
||||
},
|
||||
};
|
||||
|
||||
export default ANIMAL_SET_ACHIEVEMENTS;
|
||||
|
||||
@@ -111,6 +111,7 @@ const eyewear = {
|
||||
201907: { },
|
||||
202108: { },
|
||||
202201: { },
|
||||
202202: { },
|
||||
301404: { },
|
||||
301405: { },
|
||||
301703: { },
|
||||
@@ -181,6 +182,7 @@ const head = {
|
||||
202110: { },
|
||||
202111: { },
|
||||
202112: { },
|
||||
202202: { },
|
||||
301404: { },
|
||||
301405: { },
|
||||
301703: { },
|
||||
|
||||
@@ -187,7 +187,7 @@ api.specialMounts = stable.specialMounts;
|
||||
api.mountInfo = stable.mountInfo;
|
||||
|
||||
// For seasonal events, change this constant:
|
||||
const FOOD_SEASON = moment().isBefore('2021-02-01T20:00-05:00') ? 'Cake' : 'Normal';
|
||||
const FOOD_SEASON = moment().isBefore('2022-02-02T20:00-05:00') ? 'Cake' : 'Normal';
|
||||
|
||||
api.food = {
|
||||
Meat: {
|
||||
|
||||
@@ -215,6 +215,7 @@ function _getBasicAchievements (user, language) {
|
||||
_addSimple(result, user, { path: 'domesticated', language });
|
||||
_addSimple(result, user, { path: 'shadyCustomer', language });
|
||||
_addSimple(result, user, { path: 'shadeOfItAll', language });
|
||||
_addSimple(result, user, { path: 'zodiacZookeeper', language });
|
||||
|
||||
_addSimpleWithMasterCount(result, user, { path: 'beastMaster', language });
|
||||
_addSimpleWithMasterCount(result, user, { path: 'mountMaster', language });
|
||||
|
||||
Reference in New Issue
Block a user