mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 02:57:48 +01:00
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user