feat(event): Habitoween

This commit is contained in:
SabreCat
2017-10-30 20:40:29 +00:00
parent b31268fbc2
commit d5cedaa925
22 changed files with 138 additions and 13 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.pets['JackOLantern-Base'] = 5;
user.items.currentPet = 'JackOLantern-Base';
if (user.registeredThrough === 'habitica-web') {
taskTypes = ['habit', 'daily', 'todo', 'reward', 'tag'];