[MIRROR] Fixes ethereals' hair. Separates fixed hair color from the 'fixed_mut_color' var [MDB IGNORE] (#22573)

* Fixes ethereals' hair. Separates fixed hair color from the 'fixed_mut_color' var (#76930)

The series of "species nuking" prs made it so that the `fixed_mut_color`
also applies to hair. The problem with that is you may not want that in
some cases. It also introduced a bug where that var prevents ethereals'
hair from changing colors when they die.

So I have moved hair out of the things that gets `FIXED_MUT_COLOR` trait
applied to it in favor of its own thing.

`FIXED_HAIR_COLOR` trait is now used for ethereals to get a fixed hair
color.

Ethereals' hair should go out now when they die again, and it comes back on when they are revived.

* Fixes ethereals' hair. Separates fixed hair color from the 'fixed_mut_color' var

---------

Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-07-18 19:18:06 -04:00
committed by GitHub
co-authored by Bloop
parent c118c0a1bd
commit 2d668fb9dc
5 changed files with 20 additions and 5 deletions
@@ -70,7 +70,7 @@
facial_hairstyle = human_head_owner.facial_hairstyle
facial_hair_alpha = owner_species.facial_hair_alpha
facial_hair_color = human_head_owner.facial_hair_color
fixed_hair_color = owner_species.fixed_mut_color //Can be null
fixed_hair_color = owner_species.fixed_hair_color //Can be null
gradient_styles = human_head_owner.grad_style?.Copy()
gradient_colors = human_head_owner.grad_color?.Copy()