This commit is contained in:
Timothy Teakettle
2020-06-11 15:44:08 +01:00
parent 0c52cf0a93
commit 925567052f
@@ -467,6 +467,7 @@
var/temp_hsv = RGBtoHSV(new_color)
if(ReadHSV(temp_hsv)[3] >= ReadHSV("#7F7F7F")[3]) // mutantcolors must be bright
H.dna.features["mcolor"] = sanitize_hexcolor(new_color)
H.update_body()
else
to_chat(H, "<span class='notice'>Invalid color. Your color is not bright enough.</span>")
else if(select_alteration == "Hair Style")