ID:146188
 
Code:
mob/proc/Start()
var/name = input("What is your name?") as text
var/mob/char/Uzumaki/U = new /mob/char/Uzumaki
switch(input("You were born in a sacred clan, what was it called?")in list("Uzumaki"))
if("Uzumaki"){ U.name = name ; src.client.mob = U ; del(usr) ; ..() }


Problem description: It redoes the process because of line 5 where it makes a new mob ( or so im guessing? ), so I am wondering if someone could help me because I am not familiar with switching mobs because formarly I used text strings to define races and etc.



Edit: And by redoing the process I mean the Start().

Cheetoz wrote:
Code:
mob/proc/Start()
> var/name = input("What is your name?") as text
> var/mob/char/Uzumaki/U = new /mob/char/Uzumaki
> switch(input("You were born in a sacred clan, what was it called?")in list("Uzumaki"))
> if("Uzumaki"){ U.name = name ; src.client.mob = U ; del(usr) ; ..() }
>

Problem description: It redoes the process because of line 5 where it makes a new mob ( or so im guessing? ), so I am wondering if someone could help me because I am not familiar with switching mobs because formarly I used text strings to define races and etc.



Edit: And by redoing the process I mean the Start().


I believe you should remove this:

; ..()

I really believe that could be causing your problem.