mob
verb
Create_Custom_Character(I as text,Ic as icon)
if(!I||!Ic) return
var/obj/C=new
C.icon=Ic
C.name=I
AllCharacters+= C
ChangeCharacter()
var/obj/I=input("Choose Character")as null| anything in AllCharacters
if(!I) return
src.Character=new I.type
src.icon=I.icon
src<<I.type
src<<I.icon
// my character code
obj
Characters
var//variable
Aura="Blue"//their Aura Colour
Race="Unknown"//their race
NewChar
icon=null
name="NewChar"
//my Change Char code
Problem description:I am trying to code custom character verb where players will be able to create their own characters but when i try to choose player it wont work the icon stays null