mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Second package of skin tone fixes (#29489)
* further skin tone fixes * a bit more
This commit is contained in:
@@ -803,9 +803,18 @@
|
||||
|
||||
/datum/reagent/spraytan/proc/set_skin_color(mob/living/carbon/human/H)
|
||||
if(H.dna.species.bodyflags & HAS_SKIN_TONE)
|
||||
H.change_skin_tone(max(H.s_tone - 10, -195))
|
||||
|
||||
if(H.dna.species.bodyflags & HAS_SKIN_COLOR) //take current alien color and darken it slightly
|
||||
H.change_skin_tone(min(-H.s_tone + 45, 220)) // adjusts our skin tone by 10 - makes it darker
|
||||
else if(H.dna.species.bodyflags & HAS_ICON_SKIN_TONE)
|
||||
switch(H.dna.species.name)
|
||||
if("Human")
|
||||
H.change_skin_tone(max(H.s_tone, 10)) // bronze - `icons/mob/human_races/human_skintones/r_human_bronzed.dmi`
|
||||
if("Vox")
|
||||
H.change_skin_tone(3) // brown - `icons/mob/human_races/vox/r_voxbrn.dmi`
|
||||
if("Nian")
|
||||
H.change_skin_tone(1) // default - `icons/mob/human_races/nian/r_moth.dmi`
|
||||
if("Grey")
|
||||
H.change_skin_tone(4) // red - `icons/mob/human_races/grey/r_grey_red.dmi`
|
||||
else if(H.dna.species.bodyflags & HAS_SKIN_COLOR) // take current alien color and darken it slightly
|
||||
H.change_skin_color("#9B7653")
|
||||
|
||||
/datum/reagent/admin_cleaner
|
||||
|
||||
Reference in New Issue
Block a user