add preferences to schema (we'll later want to run a mongo migration

to move many random variables into user.preferences, such as the
'flags' document)
This commit is contained in:
Tyler Renelle 2013-01-30 13:37:11 -05:00
parent 3cb9749f57
commit c15d272e12

View file

@ -9,6 +9,7 @@ module.exports.userSchema = ->
balance: 2
stats: { money: 0, exp: 0, lvl: 1, hp: 50 }
items: { itemsEnabled: false, armor: 0, weapon: 0 }
preferences: { gender: 'm', armorSet: 'v1' }
tasks: {}
habitIds: []
dailyIds: []