minor tweaks to character creation

Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
Cael_Aislinn
2012-08-25 01:37:50 +10:00
parent c188280bf3
commit 7ebe6d16a2
2 changed files with 7 additions and 6 deletions
+6 -5
View File
@@ -797,11 +797,12 @@ datum/preferences
b_type = new_b_type
if("hair")
var/new_hair = input(user, "Choose your character's hair colour:", "Character Preference") as color|null
if(new_hair)
r_hair = hex2num(copytext(new_hair, 2, 4))
g_hair = hex2num(copytext(new_hair, 4, 6))
b_hair = hex2num(copytext(new_hair, 6, 8))
if(species == "Human" || species == "Soghun")
var/new_hair = input(user, "Choose your character's hair colour:", "Character Preference") as color|null
if(new_hair)
r_hair = hex2num(copytext(new_hair, 2, 4))
g_hair = hex2num(copytext(new_hair, 4, 6))
b_hair = hex2num(copytext(new_hair, 6, 8))
if("h_style")
var/list/valid_hairstyles = list()
@@ -15,7 +15,7 @@ datum/preferences
underwear = 1
backbag = 2
b_type = pick("A+", "A-", "B+", "B-", "AB+", "AB-", "O+", "O-")
age = rand(19,35)
age = rand(PLAYER_AGE_MIN,PLAYER_AGE_MAX)
copy_to(H,1)
proc/randomize_name()