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:
@@ -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: []
|
||||
|
||||
Reference in New Issue
Block a user