turf/New
density = 1
Click()
switch(input("Would you like to be a pokemon?", "Character") in list ("Pokemon"))
if("Pokemon")
usr.client.view=6
new/obj/hudMeters/health_01(usr.client)
usr.updateHealth()
world<<"<font color=white>[usr] has joined!"
usr.pokemon = 1
usr.cansave=1
usr.loc=locate(292,4,1)
switch(input("Wich Type Of Pokemon You wish to be??", "Pokemon") in list ("Fire","Cancel"))
if("Fire")
var/random = rand(1,2)
if(random == 1)
usr<<"<font color=white>You are now a Charmander!"
usr.Clan = "Fire"
usr.icon='charmander.dmi'
usr.icon_state="charm"
if(random == 2)
usr<<"<font color=white>You are now a Growlithe!"
usr.Clan = "Fire"
usr.icon='growlithe.dmi'
usr.icon_state="growl"
if("Cancel")
return
Problem description: When i try to login to my game this login code doesn't work for me. I could use some help with this. (Please don't get angry at me if i am not sure what you are talking about)
Make sure that you have the turf/New placed or better yet assign an icon to it. There is an indention error there in, if("Cancel") it shouldn't be inside if("Fire") so correct that. Also I advice you to put usr.cansave, usr.pokemon, usr.loc etc., after the player chooses what kind of pokemon he wants.