mob
proc
new_char()
var/Classes = list ("Human" = list("White" = icon('BasesMaleWhite.dmi'),"Tan","Black"),"Drugan","Birdon","Moanky")
var/class = null
while(!class)
src.gender = lowertext(input("Please select your gender") in list ("Male","Female"))
class = input("What class do you want to be in?", "Class") in Classes
if(istype(Classes[class], /list))
src.skin = input("What skin tone do you want have", "Skin Tone") in Classes[class]
if("No" == alert("Are you sure you want to be a [src.gender] [src.skin] [class]?", "Confirmation", "No", "Yes"))
class = null
src << "Welcome to THE VOID!"
src.loc=locate(1,1,1)
Problem description:
I want the system to allow the player a full range of options for customization. The problem i run into however is that when you finish, the character's icon isn't there. I know its because it needs to be defined but i'm not sure where it should be defined and what i did(in the classes) doesnt seem to work. any tips?