[MIRROR] It's 2 am and im having a manic episode so i fixed hair [MDB IGNORE] (#15687)

* It's 2 am and im having a manic episode so i fixed hair

* It's 2 am and im having a manic episode so i fixed hair

* removes `uses_mutcolor`

* Fixed the last bits that made this not compile.

Co-authored-by: Kapu1178 <75460809+Kapu1178@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
This commit is contained in:
SkyratBot
2022-08-20 08:41:36 +02:00
committed by GitHub
parent e0172e894f
commit 694f5eedda
56 changed files with 260 additions and 273 deletions
@@ -66,7 +66,7 @@
/datum/preference/choiced/facial_hairstyle/apply_to_human(mob/living/carbon/human/target, value)
target.facial_hairstyle = value
target.update_hair(is_creating = TRUE)
target.update_body_parts()
/datum/preference/choiced/facial_hairstyle/compile_constant_data()
var/list/data = ..()
@@ -83,7 +83,7 @@
/datum/preference/color/facial_hair_color/apply_to_human(mob/living/carbon/human/target, value)
target.facial_hair_color = value
target.update_hair(is_creating = TRUE)
target.update_body_parts()
/datum/preference/choiced/facial_hair_gradient
category = PREFERENCE_CATEGORY_SECONDARY_FEATURES
@@ -97,7 +97,7 @@
/datum/preference/choiced/facial_hair_gradient/apply_to_human(mob/living/carbon/human/target, value)
LAZYSETLEN(target.grad_style, GRADIENTS_LEN)
target.grad_style[GRADIENT_FACIAL_HAIR_KEY] = value
target.update_hair(is_creating = TRUE)
target.update_body_parts()
/datum/preference/choiced/facial_hair_gradient/create_default_value()
return "None"
@@ -111,7 +111,7 @@
/datum/preference/color/facial_hair_gradient/apply_to_human(mob/living/carbon/human/target, value)
LAZYSETLEN(target.grad_color, GRADIENTS_LEN)
target.grad_color[GRADIENT_FACIAL_HAIR_KEY] = value
target.update_hair(is_creating = TRUE)
target.update_body_parts()
/datum/preference/color/facial_hair_gradient/is_accessible(datum/preferences/preferences)
if (!..(preferences))
@@ -160,7 +160,7 @@
/datum/preference/choiced/hair_gradient/apply_to_human(mob/living/carbon/human/target, value)
LAZYSETLEN(target.grad_style, GRADIENTS_LEN)
target.grad_style[GRADIENT_HAIR_KEY] = value
target.update_hair(is_creating = TRUE)
target.update_body_parts()
/datum/preference/choiced/hair_gradient/create_default_value()
return "None"
@@ -174,7 +174,7 @@
/datum/preference/color/hair_gradient/apply_to_human(mob/living/carbon/human/target, value)
LAZYSETLEN(target.grad_color, GRADIENTS_LEN)
target.grad_color[GRADIENT_HAIR_KEY] = value
target.update_hair(is_creating = TRUE)
target.update_body_parts()
/datum/preference/color/hair_gradient/is_accessible(datum/preferences/preferences)
if (!..(preferences))