feat(accessories): head accessory

This commit is contained in:
Tyler Renelle 2014-03-21 13:17:17 -06:00
parent 531fe5eb31
commit bfc6bf44ff
2 changed files with 8 additions and 2 deletions

View file

@ -130,14 +130,16 @@ var UserSchema = new Schema({
armor: {type: String, 'default': 'armor_base_0'},
head: {type: String, 'default': 'head_base_0'},
shield: {type: String, 'default': 'shield_base_0'},
back: String
back: String,
headAccessory: String
},
costume: {
weapon: {type: String, 'default': 'weapon_base_0'},
armor: {type: String, 'default': 'armor_base_0'},
head: {type: String, 'default': 'head_base_0'},
shield: {type: String, 'default': 'shield_base_0'},
back: String
back: String,
headAccessory: String
},
},

View file

@ -37,6 +37,10 @@ figure.herobox(ng-click='spell ? castEnd(profile, "user", $event) : clickMember(
span(class='{{profile.items.gear.costume.head}}', ng-if='profile.preferences.costume')
// Head Accessory
span(class='{{profile.items.gear.equipped.headAccessory}}', ng-if='!profile.preferences.costume')
span(class='{{profile.items.gear.costume.headAccessory}}', ng-if='profile.preferences.costume')
// Flower
span(class='hair_flower_{{profile.preferences.hair.flower}}')
// Shield