Problem description:
how do i get the word "the" outta the login title ? im trying to figure out how to code this is not a game :) thxs
mob/Login()
CheckBan(src)
src.loc=locate(70,82,10)
src.move = 1
src.ko = 0
src.blocking = 0
src.ptime = 0
src.kiin = 0
src.grav = 0
src.combo = 0
src.angered = 0
src.oicon = src.icon
src.powerlevel = src.maxpowerlevel
src.tech = 0
src.gainzenni = 0
src.slap = 0
src.entime = 0
src.sight = 0
src.overlays -= /obj/kame
src.overlays -= /obj/kame
src.overlays -= /obj/kame
src.overlays -= /obj/kame
src.overlays -= /obj/kame
src.overlays -= /obj/kame
src.focused = 0
src.spar = 0
src.icon_state = ""
src.ased = 0
src.talk = 1
src.plarper = 1
src.absorb = 0
src.flight = 0
src.tayio = 0
src.training = 0
src.density = 1
src.safe = 0
src.meditate = 0
src.medtime = 0
src.talk = 1
src.entime = 0
src.medtime = 0
src.move = 1
src:sight = 0
src << "Note: Dragonball Unforgetful Tales is in no way connected with FUNimation or Dragonball."
world << "{{**[src] has logged in!**}}"
world
//name = "Dragonball Unforgetful Tales (Main Server)"
name = "Dragonball Unforgetful Tales -=Main Server=-"
mob/Logout()
del(src)
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/choosing_character))
return ..()
src.SaveMob()
return ..()
mob/other/choosing_character
Login()
usr.loc=locate(rand(1,150),rand(1,150),10)
usr.move = 0
usr.sight = 1
spawn()
src.ChooseCharacter()
proc
ChooseCharacter()
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", "Dragonball Unforgetful Tales") in menu
if (result == newCharacterChoice)
src.CreateNewCharacter()
if (result == DeleteCharacterChoice)
src.DeleteCharacter()
src.ChooseCharacter()
else
var/success = src.client.LoadMob(result)
if (success)
del(src)
else
alert("Loaded")
src.ChooseCharacter()
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
proc
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 Creation") in menu
if (result)
F.cd = "/[ckey]"
F.dir.Remove(result)
if (result == CancelCharacterDeletion)
src.ChooseCharacter()
else
src.ChooseCharacter()
mob/other/choosing_character/proc/CreateNewCharacter()
var/prompt_title = "Character Creation"
var/help_text = "What is your name?"
var/default_value = ""
var/char_name = input(src, help_text, prompt_title, default_value) as null|text
if (!char_name)
src.ChooseCharacter()
return
var/ckey_name = ckey(char_name)
var/list/characters = CharacterList()
if (characters.Find(ckey_name))
alert("Nope, dont be a faka...")
src.CreateNewCharacter()
return
alert("By pressing 'Ok', you agree to respect the Rules, GM's, and Owners.")
help_text = "What race do you wish to be?"
var/list/races = list("Earth-sei-jin", "Saiya-jin", "Halfbreed", "Namek-sei-jin", "Biological Android","Android", "Changling")
default_value = "Human"
var/char_race = input(src, help_text, prompt_title, default_value) in races
var/mob/new_mob
switch(char_race)
if("Earth-sei-jin")
new_mob = new /mob/characters/humanjin()
new_mob.move = 1
new_mob.focused = 0
new_mob.powerlevel = 5
new_mob.dead = 0
new_mob.maxpowerlevel = 5
new_mob.strength = 1
new_mob.rage = 0
new_mob.kaioken = 0
new_mob.rage = 0
new_mob.stamina = 100
new_mob.maxstamina = 100
new_mob.mother = "Unknown"
new_mob.father = "Unknown"
new_mob.zenni = 3000
new_mob.faceicon = 'default.dmi'
new_mob.will = 0
new_mob.honor = 0
new_mob.gonessj = 0
new_mob.state = "Normal"
new_mob.purity = 0
new_mob.talk = 1
new_mob.kitech = "None"
new_mob.auratech = "None"
new_mob.kitechlearn = 0
new_mob.auratechlearn = 0
new_mob.focustechlearn = 0
new_mob.kicolor = "None"
new_mob.focus = "None"
new_mob.style = 'style-calming.dmi'
new_mob.stylename = "Calming"
new_mob.flightlearn = 0
new_mob.race = "Earth-sei-jin"
switch(input("What hair style do you want?", "Customization", text) in list ("Long","Spikey","Short","Goku","Vegeta","Bald"))
if("Bald")
new_mob.hair = "Bald"
if("Short")
new_mob.hair = "Short"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_black_short.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover
if("Spikey")
new_mob.hair = "Spikey"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_black_spikey.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover
if("Long")
new_mob.hair = "long"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_black_long.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover
if("Vegeta")
new_mob.hair = "long"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_vegeta.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
if("Goku")
new_mob.hair = "long"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_goku.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 tint of skin color do you want?", "Character Creation", text) in list ("White (Pale)", "Tan", "Dark Brown","Olive"))
if("White (Pale)")
new_mob.icon = 'male-white.dmi'
if("Tan")
new_mob.icon = 'male.dmi'
if("Dark Brown")
new_mob.icon = 'male-black.dmi'
if("Olive")
new_mob.icon = 'male-olive.dmi'
if("Saiya-jin")
new_mob = new /mob/characters/saiyajin()
new_mob.move = 1
new_mob.focused = 0
new_mob.powerlevel = 5
new_mob.maxpowerlevel = 5
new_mob.strength = 1
new_mob.dead = 0
new_mob.rage = 0
new_mob.rage = 0
new_mob.faceicon = 'default.dmi'
new_mob.gonessj = 0
new_mob.stamina = 100
new_mob.maxstamina = 100
new_mob.zenni = 3000
new_mob.will = 0
new_mob.honor = 0
new_mob.gonessj = 0
new_mob.state = "Normal"
new_mob.purity = 0
new_mob.kitech = "None"
new_mob.auratech = "None"
new_mob.kitechlearn = 0
new_mob.auratechlearn = 0
new_mob.kaioken = 0
new_mob.maxstamina = 100
new_mob.mother = "Unknown"
new_mob.father = "Unknown"
new_mob.focustechlearn = 0
new_mob.kicolor = "None"
new_mob.focus = "None"
new_mob.style = 'style-calming.dmi'
new_mob.stylename = "Calming"
new_mob.flightlearn = 0
new_mob.race = "Saiya-jin"
new_mob.overlays += /obj/tail
new_mob.talk = 1
switch(input("What hair style do you want?", "Customization", text) in list ("Long","Spikey","Short","Goku","Vegeta","Bald"))
if("Bald")
new_mob.hair = "Bald"
if("Short")
new_mob.hair = "Short"
var/hairover = 'hair_black_short.dmi'
new_mob.overlays += hairover
if("Spikey")
new_mob.hair = "Spikey"
var/hairover = 'hair_black_spikey.dmi'
new_mob.overlays += hairover
if("Long")
new_mob.hair = "Long"
var/hairover = 'hair_black_long.dmi'
new_mob.overlays += hairover
if("Goku")
new_mob.hair = "Long"
var/hairover = 'hair_goku.dmi'
new_mob.overlays += hairover
if("Vegeta")
new_mob.hair = "Long"
var/hairover = 'hair_vegeta.dmi'
new_mob.overlays += hairover
switch(input("What tint of skin color do you want?", "Character Creation", text) in list ("White (Pale)", "Tan", "Dark Brown"))
if("White (Pale)")
new_mob.icon = 'male-white.dmi'
if("Tan")
new_mob.icon = 'male.dmi'
if("Dark Brown")
new_mob.icon = 'male-black.dmi'
if("Halfbreed")
new_mob = new /mob/characters/halfieh()
new_mob.move = 1
new_mob.focused = 0
new_mob.powerlevel = 5
new_mob.maxpowerlevel = 5
new_mob.strength = 1
new_mob.rage = 0
new_mob.rage = 0
new_mob.faceicon = 'default.dmi'
new_mob.stamina = 100
new_mob.maxstamina = 100
new_mob.zenni = 3000
new_mob.gonessj = 0
new_mob.will = 0
new_mob.honor = 0
new_mob.state = "Normal"
new_mob.gonessj = 0
new_mob.purity = 0
new_mob.dead = 0
new_mob.kitech = "None"
new_mob.auratech = "None"
new_mob.kitechlearn = 0
new_mob.maxstamina = 100
new_mob.mother = "Unknown"
new_mob.father = "Unknown"
new_mob.kaioken = 0
new_mob.auratechlearn = 0
new_mob.focustechlearn = 0
new_mob.kicolor = "None"
new_mob.focus = "None"
new_mob.style = 'style-calming.dmi'
new_mob.stylename = "Calming"
new_mob.flightlearn = 0
new_mob.race = "Saiya-jin"
new_mob.talk = 1
switch(input("What hair style do you want?", "Customization", text) in list ("Long","Spikey","Short","Goku","Vegeta","Bald"))
if("Bald")
new_mob.hair = "Bald"
if("Short")
new_mob.hair = "Short"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_black_short.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover
if("Spikey")
new_mob.hair = "Spikey"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_black_spikey.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover
if("Long")
new_mob.hair = "long"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_black_long.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover
if("Vegeta")
new_mob.hair = "long"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_vegeta.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover
if("Goku")
new_mob.hair = "long"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_goku.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 tint of skin color do you want?", "Character Creation", text) in list ("White (Pale)", "Tan", "Dark Brown","Olive"))
if("White (Pale)")
new_mob.icon = 'male-white.dmi'
if("Tan")
new_mob.icon = 'male.dmi'
if("Dark Brown")
new_mob.icon = 'male-black.dmi'
if("Olive")
new_mob.icon = 'male-olive.dmi'
if("Namek-sei-jin")
new_mob = new /mob/characters/namekjin()
new_mob.hair = "Bald"
new_mob.move = 1
new_mob.focused = 0
new_mob.powerlevel = 5
new_mob.maxpowerlevel = 5
new_mob.strength = 1
new_mob.rage = 0
new_mob.rage = 0
new_mob.maxstamina = 100
new_mob.mother = "Unknown"
new_mob.father = "Unknown"
new_mob.stamina = 100
new_mob.maxstamina = 100
new_mob.state = "Normal"
new_mob.kaioken = 0
new_mob.zenni = 3000
new_mob.will = 0
new_mob.honor = 0
new_mob.purity = 0
new_mob.faceicon = 'default.dmi'
new_mob.kitech = "None"
new_mob.auratech = "None"
new_mob.kitechlearn = 0
new_mob.dead = 0
new_mob.auratechlearn = 0
new_mob.focustechlearn = 0
new_mob.kicolor = "None"
new_mob.focus = "None"
new_mob.style = 'style-calming.dmi'
new_mob.stylename = "Calming"
new_mob.flightlearn = 0
new_mob.race = "Namek-jin"
new_mob.icon = 'namek.dmi'
new_mob.talk = 1
switch(input("What tint of skin color do you want?", "Character Creation", text) in list ("Green", "Dark Green"))
if("Green")
new_mob.icon = 'namek.dmi'
if("Dark Green")
new_mob.icon = 'namek-dark.dmi'
if("Biological Android")
switch(input("What type?", "Bioandroid", text) in list ("Type 001 (Human)","Type A001 (Human w/ different skin colors)","Type 002 (Blue Dragon)"))
if("Type 001 (Human)")
usr.icon = 'male.dmi'
new_mob = new /mob/characters/bioandroidone()
new_mob.move = 1
new_mob.focused = 0
new_mob.powerlevel = 1000
new_mob.maxpowerlevel = 1000
new_mob.strength = 1
new_mob.rage = 0
new_mob.rage = 0
new_mob.stamina = 100
new_mob.maxstamina = 100
new_mob.zenni = 3000
new_mob.faceicon = 'default.dmi'
new_mob.state = "Normal"
new_mob.will = 0
new_mob.dead = 0
new_mob.honor = 0
new_mob.loc=locate(rand(1,150),rand(1,150),10)
new_mob.purity = 0
new_mob.kaioken = 0
new_mob.maxstamina = 100
new_mob.mother = "None"
new_mob.father = "None"
new_mob.kitech = "None"
new_mob.auratech = "None"
new_mob.kitechlearn = 0
new_mob.auratechlearn = 0
new_mob.focustechlearn = 0
new_mob.kicolor = "None"
new_mob.focus = "None"
new_mob.style = 'style-calming.dmi'
new_mob.stylename = "Calming"
new_mob.flightlearn = 0
new_mob.race = "Biological Android"
new_mob.talk = 1
switch(input("What hair style do you want?", "Customization", text) in list ("Long","Spikey","Short","Bald"))
if("Bald")
new_mob.hair = "Bald"
if("Short")
new_mob.hair = "Short"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_black_short.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover
if("Spikey")
new_mob.hair = "Spikey"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_black_spikey.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover
if("Long")
new_mob.hair = "long"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_black_long.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 tint of skin color do you want?", "Character Creation", text) in list ("White (Pale)", "Tan", "Dark Brown"))
if("White (Pale)")
new_mob.icon = 'male-white.dmi'
if("Tan")
new_mob.icon = 'male.dmi'
if("Dark Brown")
new_mob.icon = 'male-black.dmi'
if("Type A001 (Human w/ different skin colors)")
new_mob = new /mob/characters/bioandroidtwo()
new_mob.move = 1
new_mob.focused = 0
new_mob.powerlevel = 1000
new_mob.maxpowerlevel = 1000
new_mob.strength = 1
new_mob.rage = 0
new_mob.rage = 0
new_mob.stamina = 100
new_mob.maxstamina = 100
new_mob.zenni = 3000
new_mob.will = 0
new_mob.faceicon = 'default.dmi'
new_mob.dead = 0
new_mob.state = "Normal"
new_mob.kaioken = 0
new_mob.honor = 0
new_mob.purity = 0
new_mob.kitech = "None"
new_mob.auratech = "None"
new_mob.kitechlearn = 0
new_mob.auratechlearn = 0
new_mob.mother = "None"
new_mob.father = "None"
new_mob.focustechlearn = 0
new_mob.kicolor = "None"
new_mob.focus = "None"
new_mob.style = 'style-calming.dmi'
new_mob.stylename = "Calming"
new_mob.flightlearn = 0
new_mob.race = "Biological Android"
new_mob.talk = 1
switch(input("What hair style do you want?", "Customization", text) in list ("Long","Spikey","Short","Bald"))
if("Bald")
new_mob.hair = "Bald"
if("Short")
new_mob.hair = "Short"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_black_short.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover
if("Spikey")
new_mob.hair = "Spikey"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_black_spikey.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover
if("Long")
new_mob.hair = "long"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_black_long.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover
switch(input("Do you want to customize your skin color?", "Character Creation", text) in list ("Yes", "No"))
if("Yes")
var/red = input("How much red (out of the RGB) do you want to put in your skin?| (0,0,0) = Black | (255,255,255) = White. |") as num|null
new_mob.icon += rgb((red),0,0)
var/blue = input("How much blue (out of the RGB) do you want to put in your skin?| (0,0,0) = Black | (255,255,255) = White. |") as num|null
new_mob.icon += rgb(0,(blue),0)
var/green = input("How much green (out of the RGB) do you want to put in your skin?| (0,0,0) = Black | (255,255,255) = White. |") as num|null
new_mob.icon += rgb(0,0,(green))
if("No")
..()
if("Type 002 (Blue Dragon)")
usr.icon = 'bioandroid-one.dmi'
new_mob = new /mob/characters/bioandroidthree()
new_mob.move = 1
new_mob.focused = 0
new_mob.powerlevel = 1000
new_mob.maxpowerlevel = 1000
new_mob.strength = 1
new_mob.mother = "None"
new_mob.father = "None"
new_mob.rage = 0
new_mob.kaioken = 0
new_mob.rage = 0
new_mob.stamina = 100
new_mob.state = "Normal"
new_mob.maxstamina = 100
new_mob.faceicon = 'default.dmi'
new_mob.zenni = 3000
new_mob.will = 0
new_mob.dead = 0
new_mob.honor = 0
new_mob.purity = 0
new_mob.kitech = "None"
new_mob.auratech = "None"
new_mob.kitechlearn = 0
new_mob.auratechlearn = 0
new_mob.focustechlearn = 0
new_mob.kicolor = "None"
new_mob.focus = "None"
new_mob.style = 'style-calming.dmi'
new_mob.stylename = "Calming"
new_mob.flightlearn = 0
new_mob.race = "Biological Android"
new_mob.talk = 1
if("Android")
new_mob = new /mob/characters/android()
new_mob.move = 1
new_mob.focused = 0
new_mob.powerlevel = 1000
new_mob.maxpowerlevel = 1000
new_mob.strength = 1
new_mob.rage = 0
new_mob.rage = 0
new_mob.faceicon = 'default.dmi'
new_mob.stamina = 100
new_mob.maxstamina = 100
new_mob.zenni = 3000
new_mob.will = 0
new_mob.dead = 0
new_mob.state = "Normal"
new_mob.kaioken = 0
new_mob.mother = "None"
new_mob.father = "None"
new_mob.honor = 0
new_mob.purity = 0
new_mob.kitech = "None"
new_mob.auratech = "None"
new_mob.kitechlearn = 0
new_mob.auratechlearn = 0
new_mob.focustechlearn = 0
new_mob.kicolor = "None"
new_mob.focus = "None"
new_mob.style = 'style-calming.dmi'
new_mob.stylename = "Calming"
new_mob.flightlearn = 0
new_mob.icon = 'bioandroid-two.dmi'
new_mob.race = "Android"
new_mob.talk = 1
switch(input("What hair style do you want?", "Customization", text) in list ("Long","Spikey","Short","Bald"))
if("Bald")
new_mob.hair = "Bald"
if("Short")
new_mob.hair = "Short"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_black_short.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover
if("Spikey")
new_mob.hair = "Spikey"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_black_spikey.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover
if("Long")
new_mob.hair = "long"
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hair_black_long.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
new_mob.rhair = hairred
new_mob.ghair = hairgreen
new_mob.bhair = hairblue
new_mob.overlays += hairover
switch(input("Do you want to customize your skin color?", "Character Creation", text) in list ("Yes", "No"))
if("Yes")
var/red = input("How much red (out of the RGB) do you want to put in your skin?| (0,0,0) = Black | (255,255,255) = White. |") as num|null
new_mob.icon += rgb((red),0,0)
var/blue = input("How much blue (out of the RGB) do you want to put in your skin?| (0,0,0) = Black | (255,255,255) = White. |") as num|null
new_mob.icon += rgb(0,(blue),0)
var/green = input("How much green (out of the RGB) do you want to put in your skin?| (0,0,0) = Black | (255,255,255) = White. |") as num|null
new_mob.icon += rgb(0,0,(green))
if("No")
..()
if("Changling")
new_mob = new /mob/characters/changling()
new_mob.move = 1
new_mob.focused = 0
new_mob.powerlevel = 5
new_mob.dead = 0
new_mob.maxpowerlevel = 5
new_mob.strength = 1
new_mob.rage = 0
new_mob.kaioken = 0
new_mob.rage = 0
new_mob.stamina = 100
new_mob.maxstamina = 100
new_mob.mother = "Unknown"
new_mob.father = "Unknown"
new_mob.zenni = 3000
new_mob.faceicon = 'default.dmi'
new_mob.will = 0
new_mob.honor = 0
new_mob.gonessj = 0
new_mob.state = "Normal"
new_mob.purity = 0
new_mob.talk = 1
new_mob.kitech = "None"
new_mob.auratech = "None"
new_mob.kitechlearn = 0
new_mob.auratechlearn = 0
new_mob.focustechlearn = 0
new_mob.kicolor = "None"
new_mob.focus = "None"
new_mob.style = 'style-calming.dmi'
new_mob.stylename = "Calming"
new_mob.flightlearn = 0
new_mob.race = "Changling"
new_mob.random = rand(1,75)
new_mob.oicon = new_mob.icon
new_mob.npp = 1
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
Login()
..()
if (!istype(src, /mob/other/choosing_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()
src << "