ID:176596
 
runtime error: Cannot modify null.icon.
proc name: CreateCharacter (/mob/creating_character/proc/CreateCharacter)
usr: Buzzyboy (/mob/creating_character)
src: Buzzyboy (/mob/creating_character)
call stack:
Buzzyboy (/mob/creating_character): CreateCharacter()
Buzzyboy (/mob/creating_character): Login()



This is where I tihnk the problem is

if ("Pie")
new_mob.icon = 'Pie.dmi'
new_mob.Health = rand(40,70)
new_mob.MaxHealth = new_mob.Health
new_mob.Strength = rand(1,2)
if ("Goblin")
new_mob.icon = 'Goblin.dmi'
new_mob.Health = rand(50,60)
new_mob.MaxHealth = new_mob.Health
new_mob.Strength = rand(1,2)
if ("Earthling")
new_mob.icon = 'Earthling.dmi'
new_mob.Health = rand(50,55)
new_mob.MaxHealth = usr.Health
new_mob.Strength = rand(3,5)
You haven't created new_mob, so it's null.
In response to Crispy (#1)
oh