mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-13 17:52:22 +00:00
feat(backAccessory): add optional collar to back accessories. If you
name it the same name + _collar (eg, back_base_0.png + back_base_0_collar.png), it's automatically handled
This commit is contained in:
parent
01b3df06af
commit
ffa21ca1f7
1 changed files with 4 additions and 0 deletions
|
|
@ -25,6 +25,10 @@ figure.herobox(ng-click='spell ? castEnd(profile, "user", $event) : clickMember(
|
|||
span(class='{{profile.preferences.size}}_{{profile.items.gear.equipped.armor}}', ng-if='!profile.preferences.costume')
|
||||
span(class='{{profile.preferences.size}}_{{profile.items.gear.costume.armor}}', ng-if='profile.preferences.costume')
|
||||
|
||||
// Cape colar
|
||||
span(class='{{profile.items.gear.equipped.back}}_collar', ng-if='!profile.preferences.costume')
|
||||
span(class='{{profile.items.gear.costume.back}}_collar', ng-if='profile.preferences.costume')
|
||||
|
||||
// Hair
|
||||
span(class='head_0')
|
||||
span(class='hair_base_{{profile.preferences.hair.base}}_{{profile.preferences.hair.color}}')
|
||||
|
|
|
|||
Loading…
Reference in a new issue