Merge pull request #11177 from PsiOmegaDelta/150923-FlexibleSetup

Character setup refactor.
This commit is contained in:
Chinsky
2015-10-26 05:44:13 +03:00
20 changed files with 2026 additions and 1767 deletions
@@ -33,7 +33,7 @@
return 1
if(href_list["skin_tone"])
if(can_change_skin_tone())
var/new_s_tone = input(usr, "Choose your character's skin-tone:\n(Light 1 - 220 Dark)", "Skin Tone", owner.s_tone) as num|null
var/new_s_tone = input(usr, "Choose your character's skin-tone:\n(Light 1 - 220 Dark)", "Skin Tone", -owner.s_tone + 35) as num|null
if(isnum(new_s_tone) && can_still_topic(state))
new_s_tone = 35 - max(min( round(new_s_tone), 220),1)
return owner.change_skin_tone(new_s_tone)