diff --git a/+secret b/+secret index 9b7f1c46498af..a7b358f7f0315 160000 --- a/+secret +++ b/+secret @@ -1 +1 @@ -Subproject commit 9b7f1c46498af82c1230a12282c3d6c362d04072 +Subproject commit a7b358f7f0315412dc85d7aa0361b2314d4f327d diff --git a/code/modules/medical/genetics/bioEffects/beneficial.dm b/code/modules/medical/genetics/bioEffects/beneficial.dm index 9203afe689d3d..0f8249ae2d41d 100644 --- a/code/modules/medical/genetics/bioEffects/beneficial.dm +++ b/code/modules/medical/genetics/bioEffects/beneficial.dm @@ -1018,3 +1018,45 @@ var/list/radio_brains = list() OnRemove() REMOVE_ATOM_PROPERTY(src.owner, PROP_MOB_INVISIBILITY, src) . = ..() + +// hair_override gene +/datum/bioEffect/hair_growth + name = "Androgen Booster" + desc = "A boost of androgens causes a subject to sprout hair, even if they are normally incapable of it." + id = "hair_growth" + msgGain = "Your scalp itches." + msgLose = "Your scalp stops itching." + occur_in_genepools = 0 // this shouldn't be available outside of admin shenanigans + probability = 0 + scanner_visibility = 0 // nor should it be visible + can_research = 0 + can_make_injector = 0 + can_copy = 0 + acceptable_in_mutini = 0 + curable_by_mutadone = FALSE + effectType = EFFECT_TYPE_POWER + + OnAdd() + if (ishuman(owner)) + var/mob/living/carbon/human/M = owner + if (M.AH_we_spawned_with) + M.bioHolder.mobAppearance.customizations["hair_bottom"].color = M.AH_we_spawned_with.customizations["hair_bottom"].color + M.bioHolder.mobAppearance.customizations["hair_middle"].color = M.AH_we_spawned_with.customizations["hair_middle"].color + M.bioHolder.mobAppearance.customizations["hair_top"].color = M.AH_we_spawned_with.customizations["hair_top"].color + M.bioHolder.mobAppearance.customizations["hair_bottom"].style = M.AH_we_spawned_with.customizations["hair_bottom"].style + M.bioHolder.mobAppearance.customizations["hair_middle"].style = M.AH_we_spawned_with.customizations["hair_middle"].style + M.bioHolder.mobAppearance.customizations["hair_top"].style = M.AH_we_spawned_with.customizations["hair_top"].style + + M.hair_override = 1 + M.bioHolder.mobAppearance.UpdateMob() + M.update_colorful_parts() + ..() + + OnRemove() + if (ishuman(owner)) + var/mob/living/carbon/human/M = owner + + M.hair_override = 0 + M.bioHolder.mobAppearance.UpdateMob() + M.update_colorful_parts() + ..()