mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Merge branch 'release' into develop
This commit is contained in:
@@ -144,7 +144,7 @@ function _setUpNewUser (user) {
|
||||
user.items.quests.dustbunnies = 1;
|
||||
user.purchased.background.violet = true;
|
||||
user.preferences.background = 'violet';
|
||||
if (moment().isBefore('2022-02-01T20:00-05:00')) {
|
||||
if (moment().isBefore('2022-02-02T20:00-05:00')) {
|
||||
user.migration = '20220131_habit_birthday';
|
||||
user.items.gear.owned.armor_special_birthday = true;
|
||||
user.items.gear.equipped.armor = 'armor_special_birthday';
|
||||
|
||||
@@ -147,6 +147,7 @@ export default new Schema({
|
||||
domesticated: Boolean,
|
||||
shadyCustomer: Boolean,
|
||||
shadeOfItAll: Boolean,
|
||||
zodiacZookeeper: Boolean,
|
||||
// Onboarding Guide
|
||||
createdTask: Boolean,
|
||||
completedTask: Boolean,
|
||||
|
||||
@@ -70,6 +70,7 @@ const NOTIFICATION_TYPES = [
|
||||
'ACHIEVEMENT_DOMESTICATED',
|
||||
'ACHIEVEMENT_SHADY_CUSTOMER',
|
||||
'ACHIEVEMENT_SHADE_OF_IT_ALL',
|
||||
'ACHIEVEMENT_ZODIAC_ZOOKEEPER',
|
||||
'ACHIEVEMENT', // generic achievement notification, details inside `notification.data`
|
||||
'DROP_CAP_REACHED',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user