mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-28 11:11:52 +00:00
Adds more skintones and tweaks existing ones. (#22765)
* skintones babey * adds a note for anyone adding skintones * shortens the skin menu * conflict fix PLEASE. adjusted shading * Update code/modules/client/preference/link_processing.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * lewcc suggestion * SQL update script --------- Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
@@ -667,14 +667,7 @@
|
||||
active_character.s_tone = 35 - max(min(round(new_s_tone), 220), 1)
|
||||
else if(S.bodyflags & HAS_ICON_SKIN_TONE)
|
||||
var/const/MAX_LINE_ENTRIES = 4
|
||||
var/prompt = "Choose your character's skin tone: 1-[S.icon_skin_tones.len]\n("
|
||||
for(var/i = 1 to S.icon_skin_tones.len)
|
||||
if(i > MAX_LINE_ENTRIES && !((i - 1) % MAX_LINE_ENTRIES))
|
||||
prompt += "\n"
|
||||
prompt += "[i] = [S.icon_skin_tones[i]]"
|
||||
if(i != S.icon_skin_tones.len)
|
||||
prompt += ", "
|
||||
prompt += ")"
|
||||
var/prompt = "Choose your character's skin tone: 1-[length(S.icon_skin_tones)]\n(Light to Dark)"
|
||||
var/skin_c = input(user, prompt, "Character Preference") as num|null
|
||||
if(isnum(skin_c))
|
||||
active_character.s_tone = max(min(round(skin_c), S.icon_skin_tones.len), 1)
|
||||
|
||||
Reference in New Issue
Block a user