Fix improper skin tones and lots of DNA inconsistencies. Improve mob spawners by a little (#29271)

* sane appearance

* updatepaths

* flip-vitiligo

* equal color options

* ...

* Update golems.dm

* typo
This commit is contained in:
kyunkyunkyun
2025-05-25 15:41:39 +00:00
committed by GitHub
parent af87e274ed
commit b1709bb93b
21 changed files with 301 additions and 333 deletions
@@ -327,14 +327,20 @@
force_update_limbs()
return TRUE
/mob/living/carbon/human/proc/change_skin_tone(tone)
/// Tone must be between -185 and 220. commonly used in 1 to 220, see `random_skin_tone()` for species-specific values
/mob/living/carbon/human/proc/change_skin_tone(tone, override = FALSE)
if(s_tone == tone || !((dna.species.bodyflags & HAS_SKIN_TONE) || (dna.species.bodyflags & HAS_ICON_SKIN_TONE)))
return
s_tone = tone
if(tone in -185 to 220)
if(dna.species.bodyflags & HAS_ICON_SKIN_TONE || override)
s_tone = tone
else
s_tone = 35 - tone
force_update_limbs()
return TRUE
force_update_limbs()
return TRUE
CRASH("Skin tone values must be between -185 and 220!")
/mob/living/carbon/human/proc/change_hair_gradient(style, offset_raw, color, alpha)
var/obj/item/organ/external/head/H = get_organ("head")