mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
Reverts Unnecessary Genetics Icon Skin-tone Foolery
Residual from another PR, forgot to gut it.
This commit is contained in:
@@ -205,13 +205,7 @@ var/global/list/bad_blocks[0]
|
||||
SetUIValueRange(DNA_UI_TAIL_MARK_G, hex2num(copytext(marking_colours["tail"], 4, 6)), 255, 1)
|
||||
SetUIValueRange(DNA_UI_TAIL_MARK_B, hex2num(copytext(marking_colours["tail"], 6, 8)), 255, 1)
|
||||
|
||||
var/s_tone_value = 35-character.s_tone
|
||||
var/s_tone_max = 220
|
||||
if(character.species.bodyflags & HAS_ICON_SKIN_TONE)
|
||||
s_tone_value = character.s_tone
|
||||
s_tone_max = character.species.icon_skin_tones.len
|
||||
|
||||
SetUIValueRange(DNA_UI_SKIN_TONE, s_tone_value, s_tone_max, 1)
|
||||
SetUIValueRange(DNA_UI_SKIN_TONE, 35-character.s_tone, 220, 1) // Value can be negative.
|
||||
|
||||
SetUIState(DNA_UI_GENDER, character.gender!=MALE, 1)
|
||||
|
||||
|
||||
@@ -159,10 +159,7 @@
|
||||
|
||||
H.update_eyes()
|
||||
|
||||
if(H.species.bodyflags & HAS_SKIN_TONE)
|
||||
H.s_tone = 35 - dna.GetUIValueRange(DNA_UI_SKIN_TONE, 220) // Value can be negative.
|
||||
else if(H.species.bodyflags & HAS_ICON_SKIN_TONE)
|
||||
H.s_tone = dna.GetUIValueRange(DNA_UI_SKIN_TONE, H.species.icon_skin_tones.len)
|
||||
H.s_tone = 35 - dna.GetUIValueRange(DNA_UI_SKIN_TONE, 220) // Value can be negative.
|
||||
|
||||
if(dna.GetUIState(DNA_UI_GENDER))
|
||||
H.change_gender(FEMALE, 0)
|
||||
|
||||
Reference in New Issue
Block a user