Made quest invite modal pop-up on user sync (rewards display currently nonfunctional)

This commit is contained in:
hairlessbear
2015-05-26 23:01:29 -04:00
parent fce9d39f19
commit 0fa93506f5
4 changed files with 13 additions and 4 deletions

View File

@@ -280,7 +280,8 @@ var UserSchema = new Schema({
down: {type: Number, 'default': 0},
collect: {type: Schema.Types.Mixed, 'default': {}} // {feather:1, ingot:2}
},
completed: String // When quest is done, we move it from key => completed, and it's a one-time flag (for modal) that they unset by clicking "ok" in browser
completed: String, // When quest is done, we move it from key => completed, and it's a one-time flag (for modal) that they unset by clicking "ok" in browser
invited: {type: Boolean, 'default': false} // Set to true when invite is pending, set to false when quest invite is accepted or rejected
}
},
preferences: {