fix(event): update birthday vars and hooks

This commit is contained in:
Sabe Jones
2018-01-31 00:41:06 +00:00
parent a636e15d11
commit 3b794c017a
2 changed files with 8 additions and 6 deletions

View File

@@ -137,6 +137,8 @@ function _setUpNewUser (user) {
user.items.quests.dustbunnies = 1;
user.purchased.background.violet = true;
user.preferences.background = 'violet';
user.items.gear.owned.armor_special_birthday = true;
user.items.gear.equipped.body = 'armor_special_birthday';
if (user.registeredThrough === 'habitica-web') {
taskTypes = ['habit', 'daily', 'todo', 'reward', 'tag'];