legal bump just incase someone who I have trying to fix this can't but someone else can
Legal bump... I have someone trying to fix this, but that doesn't mean I don't want other people to take a look at the code... so in otherwords... please help... here is an update for those too lazy to read all the posts... this is my current login code which happens to be all besides the grass turf and the needed variables:

mob/Login()
src.oicon = src.icon
src << ""


mob/Logout()
world << "[usr] has left this world."


client/var/tmp

world
name = "Warriors of the Elements"
mob = /mob/other/creating_character
view = 6
tick_lag = 2
loop_checks = 0

client/proc/SaveMob()
var/firstletter=copytext(src.ckey, 1, 2)
var/savefile/F = new("players/[firstletter]/[src.ckey].sav")
var/char_ckey = cKey(src.mob.name)
F["/[ckey]/[char_ckey]"]<<src.mob

client/proc/LoadMob(char_ckey)
var/firstletter=copytext(src.ckey, 1, 2)
var/savefile/F = new("players/[firstletter]/[src.ckey].sav")
F["/[ckey]/[char_ckey]"]>>src.mob


client/Del()
if (istype(src.mob, /mob/other/creating_character))
return ..()

src.SaveMob()
return ..()


mob/other/creating_character
Login()
spawn()
src.CreateCharacter()

proc
CreateCharacter()
var/list/characters = src.CharacterList()

var/newCharacterChoice = "New Character"
var/DeleteCharacterChoice = "Delete Character"
var/list/menu = new()
menu += characters
menu += newCharacterChoice
menu += DeleteCharacterChoice

var/result = input("Character Creation", "WoE") in menu

if (result == newCharacterChoice)
src.CreateNewCharacter()
if (result == DeleteCharacterChoice)
src.DeleteCharacter()
src.CreateCharacter()
else
var/success = src.client.LoadMob(result)

if (success)
del(src)
else
alert("Try again")
src.CreateCharacter()

CharacterList()
var/firstletter=copytext(src.ckey, 1, 2)
var/savefile/F = new("players/[firstletter]/[src.ckey].sav")
F.cd = "/[ckey]"
var/list/characters = F.dir
return characters

DeleteCharacter()
var/firstletter=copytext(src.ckey, 1, 2)
var/savefile/F = new("players/[firstletter]/[src.ckey].sav")

F.cd = "/[ckey]"
var/list/characters = F.dir

var/CancelCharacterDeletion = "Decline"
var/list/menu = new()
menu += characters
menu += CancelCharacterDeletion

var/result = input("Delete character", "Character Selection") in menu

if (result)
F.cd = "/[ckey]"
F.dir.Remove(result)
if (result == CancelCharacterDeletion)
src.CreateCharacter()
else
src.CreateCharacter()

mob/other/creating_character/proc
CreateNewCharacter()
var/prompt_title = "Character Creation"
var/help_text = "What is your character's name?"
var/default_value = ""
var/char_name = input(src, help_text, prompt_title, default_value) as null|text

if (!char_name)
src.CreateCharacter()
return

var/ckey_name = ckey(char_name)
var/list/characters = CharacterList()
if (characters.Find(ckey_name))
alert("There is a player that has chosen that name already. Please choose another well thought of name.")
src.CreateNewCharacter()
return


help_text = "What sex is your character?"
var/list/races = list("Male","Female")
var/char_race = input(src, help_text, prompt_title, default_value) in races
var/mob/new_mob
switch(char_race)
if("Male")
new_mob = new /mob/player/student/boy
new_mob.loc = locate(17,2,1)
new_mob.name = char_name

switch(input("What hair style do you want?", "Customization", text) in list ("Short1"))


if("Short1")
new_mob.hair = "Short1"
var/hairred = input("How much red do you want to put into your hair? (255 is the brightest and 0 is the darkest.)") as num
var/hairblue = input("How much blue do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)")as num
var/hairgreen = input("How much green do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)") as num
var/hairover = 'mshorthair1.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Female")
new_mob = new /mob/player/student/girl
new_mob.loc = locate(17,2,1)
new_mob.name = char_name

switch(input("What hair style do you want?", "Customization", text) in list ("Female Long"))


if("Female Long")
new_mob.hair = "Female Long"
var/hairred = input("How much red do you want to put into your hair? (255 is the brightest and 0 is the darkest.)") as num
var/hairblue = input("How much blue do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)")as num
var/hairgreen = input("How much green do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)") as num
var/hairover = 'flonghair1.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

new_mob.oicon = new_mob.icon
new_mob.name = char_name
src.client.mob = new_mob
var/turf/first_location = locate(21,9,1)
new_mob.loc = first_location
del(src)


mob/player
student
boy
icon = 'baseicons.dmi'
icon_state= "malebase"

mob/player
student
girl
icon = 'baseicons.dmi'
icon_state= "femalebase"

mob/Logout()
del(src)

mob
Login()
..()
if (!istype(src, /mob/other/creating_character))
sample_report()

Write(savefile/F)
..()

F["last_x"] << x
F["last_y"] << y
F["last_z"] << z

Read(savefile/F)
..()

var/last_x
var/last_y
var/last_z
F["last_x"] >> last_x
F["last_y"] >> last_y
F["last_z"] >> last_z
loc = locate(last_x, last_y, last_z)

proc
sample_report()



Here is the login code for a previous game I was making:

mob/Login()
src.oicon = src.icon
src.health = src.max_health
src.npc = 0
src << ""


mob/Logout()
world << "[usr] has returned to the world of Muggles."


client/var/tmp

world
name = "Hogwarts RPG"
mob = /mob/other/creating_character
view = 6
tick_lag = 2
loop_checks = 0

client/proc/SaveMob()
var/firstletter=copytext(src.ckey, 1, 2)
var/savefile/F = new("players/[firstletter]/[src.ckey].sav")
var/char_ckey = cKey(src.mob.name)
F["/[ckey]/[char_ckey]"]<<src.mob

client/proc/LoadMob(char_ckey)
var/firstletter=copytext(src.ckey, 1, 2)
var/savefile/F = new("players/[firstletter]/[src.ckey].sav")
F["/[ckey]/[char_ckey]"]>>src.mob


client/Del()
if (istype(src.mob, /mob/other/creating_character))
return ..()

src.SaveMob()
return ..()


mob/other/creating_character
Login()
spawn()
src.CreateCharacter()

proc
CreateCharacter()
var/list/characters = src.CharacterList()

var/newCharacterChoice = "New Character"
var/DeleteCharacterChoice = "Delete Character"
var/list/menu = new()
menu += characters
menu += newCharacterChoice
menu += DeleteCharacterChoice

var/result = input("Character Creation", "Hogwarts RPG") in menu

if (result == newCharacterChoice)
src.CreateNewCharacter()
if (result == DeleteCharacterChoice)
src.DeleteCharacter()
src.CreateCharacter()
else
var/success = src.client.LoadMob(result)

if (success)
del(src)
else
alert("Try again")
src.CreateCharacter()

CharacterList()
var/firstletter=copytext(src.ckey, 1, 2)
var/savefile/F = new("players/[firstletter]/[src.ckey].sav")
F.cd = "/[ckey]"
var/list/characters = F.dir
return characters

DeleteCharacter()
var/firstletter=copytext(src.ckey, 1, 2)
var/savefile/F = new("players/[firstletter]/[src.ckey].sav")

F.cd = "/[ckey]"
var/list/characters = F.dir

var/CancelCharacterDeletion = "Decline"
var/list/menu = new()
menu += characters
menu += CancelCharacterDeletion

var/result = input("Delete character", "Character Selection") in menu

if (result)
F.cd = "/[ckey]"
F.dir.Remove(result)
if (result == CancelCharacterDeletion)
src.CreateCharacter()
else
src.CreateCharacter()

mob/other/creating_character/proc
CreateNewCharacter()
var/prompt_title = "Character Creation"
var/help_text = "What is your character's name?"
var/default_value = ""
var/char_name = input(src, help_text, prompt_title, default_value) as null|text

if (!char_name)
src.CreateCharacter()
return

var/ckey_name = ckey(char_name)
var/list/characters = CharacterList()
if (characters.Find(ckey_name))
alert("There is a player that has chosen that name already. Please choose another well thought of name.")
src.CreateNewCharacter()
return


help_text = "What sex is your character?"
var/list/races = list("Male","Female")
var/char_race = input(src, help_text, prompt_title, default_value) in races
var/mob/new_mob
switch(char_race)
if("Male")
new_mob = new /mob/player/student/boy
new_mob.LevelExp. = 20
new_mob.MaxHP = 20
new_mob.MaxMP = 20
new_mob.Level = 1
new_mob.Defense = 5
new_mob.MagicDef = 5
new_mob.Magic = 5
new_mob.name = char_name
new_mob.Sickles = "0"
new_mob.Year = "1st"
new_mob.MP = 20
new_mob.HP = 20
new_mob.Length = "N/A"
new_mob.Wood = "N/A"
new_mob.Core = "N/A"
new_mob.loc = locate(17,2,1)



switch(input("What hair style do you want?", "Customization", text) in list ("Harry Potter","Short","Pony Tail","Messy","Bald"))

if("Short")
new_mob.hair = "Short"
var/hairred = input("How much red do you want to put into your hair? (255 is the brightest and 0 is the darkest.)") as num
var/hairblue = input("How much blue do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)")as num
var/hairgreen = input("How much green do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)") as num
var/hairover = 'boyhair2.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover

switch(input("What eye color do you want?", "Customization", text) in list ("Black","Light Blue","Blue","Brown","Green"))

if("Black")
new_mob.eyes = "Black"
var/eyesover = 'eyes1.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Light Blue")
new_mob.eyes = "Light Blue"
var/eyesover = 'eyes2.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Blue")
new_mob.eyes = "Blue"
var/eyesover = 'eyes3.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Brown")
new_mob.eyes = "Brown"
var/eyesover = 'eyes4.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Green")
new_mob.eyes = "Green"
var/eyesover = 'eyes1.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Harry Potter")
new_mob.hair = "Harry Potter"
var/hairred = input("How much red do you want to put into your hair? (255 is the brightest and 0 is the darkest.)") as num
var/hairblue = input("How much blue do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)")as num
var/hairgreen = input("How much green do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)") as num
var/hairover = 'MHairShort.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover


switch(input("What eye color do you want?", "Customization", text) in list ("Black","Light Blue","Blue","Brown","Green"))

if("Black")
new_mob.eyes = "Black"
var/eyesover = 'eyes1.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Light Blue")
new_mob.eyes = "Light Blue"
var/eyesover = 'eyes2.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Blue")
new_mob.eyes = "Blue"
var/eyesover = 'eyes3.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Brown")
new_mob.eyes = "Brown"
var/eyesover = 'eyes4.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Green")
new_mob.eyes = "Green"
var/eyesover = 'eyes1.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob


if("Pony Tail")
new_mob.hair = "PonyTail"
var/hairred = input("How much red do you want to put into your hair? (255 is the brightest and 0 is the darkest.)") as num
var/hairblue = input("How much blue do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)")as num
var/hairgreen = input("How much green do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)") as num
var/hairover = 'MHairPonytail2.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover

switch(input("What eye color do you want?", "Customization", text) in list ("Black","Light Blue","Blue","Brown","Green"))

if("Black")
new_mob.eyes = "Black"
var/eyesover = 'eyes1.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Light Blue")
new_mob.eyes = "Light Blue"
var/eyesover = 'eyes2.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Blue")
new_mob.eyes = "Blue"
var/eyesover = 'eyes3.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Brown")
new_mob.eyes = "Brown"
var/eyesover = 'eyes4.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Green")
new_mob.eyes = "Green"
var/eyesover = 'eyes1.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob




if("Bald")
new_mob.hair = "Bald"

switch(input("What eye color do you want?", "Customization", text) in list ("Black","Light Blue","Blue","Brown","Green"))

if("Black")
new_mob.eyes = "Black"
var/eyesover = 'eyes1.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Light Blue")
new_mob.eyes = "Light Blue"
var/eyesover = 'eyes2.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Blue")
new_mob.eyes = "Blue"
var/eyesover = 'eyes3.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Brown")
new_mob.eyes = "Brown"
var/eyesover = 'eyes4.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Green")
new_mob.eyes = "Green"
var/eyesover = 'eyes1.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Messy")
new_mob.hair = "Messy"
var/hairred = input("How much red do you want to put into your hair? (255 is the brightest and 0 is the darkest.)") as num
var/hairblue = input("How much blue do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)")as num
var/hairgreen = input("How much green do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)") as num
var/hairover = 'MHairOriginal.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover

switch(input("What eye color do you want?", "Customization", text) in list ("Black","Light Blue","Blue","Brown","Green"))

if("Black")
new_mob.eyes = "Black"
var/eyesover = 'eyes1.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Light Blue")
new_mob.eyes = "Light Blue"
var/eyesover = 'eyes2.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Blue")
new_mob.eyes = "Blue"
var/eyesover = 'eyes3.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Brown")
new_mob.eyes = "Brown"
var/eyesover = 'eyes4.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Green")
new_mob.eyes = "Green"
var/eyesover = 'eyes1.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob


if("Female")
new_mob = new /mob/player/student/girl
new_mob.LevelExp. = 20
new_mob.MaxHP = 20
new_mob.MaxMP = 20
new_mob.Level = 1
new_mob.Defense = 5
new_mob.MagicDef = 5
new_mob.Magic = 5
new_mob.name = char_name
new_mob.Sickles = "0"
new_mob.Year = "1st"
new_mob.MP = 20
new_mob.HP = 20
new_mob.Length = "N/A"
new_mob.Wood = "N/A"
new_mob.Core = "N/A"
new_mob.loc = locate(17,2,1)


switch(input("What hair style do you want?", "Customization", text) in list ("Long","Short","Hermione","Pony Tail"))


if("Long")
new_mob.hair = "Long"
var/hairred = input("How much red do you want to put into your hair? (255 is the brightest and 0 is the darkest.)") as num
var/hairblue = input("How much blue do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)")as num
var/hairgreen = input("How much green do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)") as num

var/hairover = 'FHairKatie.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover

switch(input("What eye color do you want?", "Customization", text) in list ("Black","Light Blue","Blue","Brown","Green"))

if("Black")
new_mob.eyes = "Black"
var/eyesover = 'eyes1.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Light Blue")
new_mob.eyes = "Light Blue"
var/eyesover = 'eyes2.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Blue")
new_mob.eyes = "Blue"
var/eyesover = 'eyes3.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Brown")
new_mob.eyes = "Brown"
var/eyesover = 'eyes4.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Green")
new_mob.eyes = "Green"
var/eyesover = 'eyes1.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob



if("Hermione Granger")
new_mob.hair = "Hermione"
var/hairred = input("How much red do you want to put into your hair? (255 is the brightest and 0 is the darkest.)") as num
var/hairblue = input("How much blue do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)")as num
var/hairgreen = input("How much green do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)") as num

var/hairover = 'girlhair1.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover

switch(input("What eye color do you want?", "Customization", text) in list ("Black","Light Blue","Blue","Brown","Green"))

if("Black")
new_mob.eyes = "Black"
var/eyesover = 'eyes1.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Light Blue")
new_mob.eyes = "Light Blue"
var/eyesover = 'eyes2.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Blue")
new_mob.eyes = "Blue"
var/eyesover = 'eyes3.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Brown")
new_mob.eyes = "Brown"
var/eyesover = 'eyes4.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Green")
new_mob.eyes = "Green"
var/eyesover = 'eyes1.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Short")
new_mob.hair = "Short"
var/hairred = input("How much red do you want to put into your hair? (255 is the brightest and 0 is the darkest.)") as num
var/hairblue = input("How much blue do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)")as num
var/hairgreen = input("How much green do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)") as num

var/hairover = 'FhairHermione.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover

switch(input("What eye color do you want?", "Customization", text) in list ("Black","Light Blue","Blue","Brown","Green"))

if("Black")
new_mob.eyes = "Black"
var/eyesover = 'eyes1.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Light Blue")
new_mob.eyes = "Light Blue"
var/eyesover = 'eyes2.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Blue")
new_mob.eyes = "Blue"
var/eyesover = 'eyes3.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Brown")
new_mob.eyes = "Brown"
var/eyesover = 'eyes4.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Green")
new_mob.eyes = "Green"
var/eyesover = 'eyes1.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob


if("Pony Tail")
new_mob.hair = "Ponytail"
var/hairred = input("How much red do you want to put into your hair? (255 is the brightest and 0 is the darkest.)") as num
var/hairblue = input("How much blue do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)")as num
var/hairgreen = input("How much green do you want to put into your hair?) (255 is the brightest and 0 is the darkest.)") as num

var/hairover = 'FHairPonytail.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover

switch(input("What eye color do you want?", "Customization", text) in list ("Black","Light Blue","Blue","Brown","Green"))

if("Black")
new_mob.eyes = "Black"
var/eyesover = 'eyes1.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Light Blue")
new_mob.eyes = "Light Blue"
var/eyesover = 'eyes2.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Blue")
new_mob.eyes = "Blue"
var/eyesover = 'eyes3.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Brown")
new_mob.eyes = "Brown"
var/eyesover = 'eyes4.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if("Green")
new_mob.eyes = "Green"
var/eyesover = 'eyes1.dmi'
new_mob.overlays += eyesover

switch(input("Do you want glasses?", "Customization", text) in list ("Yes","No"))

if ("Yes")
new_mob.glasses = "Yes"
var/glassesover = 'glasses.dmi'
new_mob.overlays += glassesover
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob

if ("No")
new_mob.glasses = "No"
world << "[char_name] has just entered '[world.name]'!"
src.client.mob = new_mob


new_mob.oicon = new_mob.icon
new_mob.name = char_name
src.client.mob = new_mob
var/turf/first_location = locate(21,9,1)
new_mob.loc = first_location
del(src)


mob/player
student
boy
icon = 'male.dmi'

mob/player
student
girl
icon = 'female.dmi'


now what is the difference that makes 1 work and 1 not?
Page: 1 2