feat(event): Habit Birthday 2017

This commit is contained in:
Sabe Jones
2017-01-31 18:30:39 +00:00
parent 809da8add0
commit 930a869365
16 changed files with 182 additions and 14 deletions

View File

@@ -85,6 +85,19 @@ function _setUpNewUser (user) {
user._ABtests.checkInModals = '20161221_showCheckInPreviews'; // show 'preview' check-in modals
}
user.items.quests.dustbunnies = 1;
user.items.gear.owned.armor_special_birthday = false;
user.items.food = {
'Cake_Base': 1,
'Cake_CottonCandyBlue': 1,
'Cake_CottonCandyPink': 1,
'Cake_Desert': 1,
'Cake_Golden': 1,
'Cake_Red': 1,
'Cake_Shade': 1,
'Cake_Skeleton': 1,
'Cake_White': 1,
'Cake_Zombie': 1,
};
if (user.registeredThrough === 'habitica-web' || user.registeredThrough === 'habitica-android') {
taskTypes = ['habit', 'daily', 'todo', 'reward', 'tag'];