ID:145712
 
Code:
mob/PC/Stat()
statpanel("Special Items")
stat(/obj/items/statpic/PL)
obj/items/statpic
icon='Important Items.dmi'
PL
name="Pisk's Letter"
icon_state="Pisk's Letter"


Problem description:
The problem is pretty much getting this item to appear. I can't have the stat set to contents, because this panel is for special cases. When not in stat(), the obj can be seen normally, but on the statpanel, there is a blank spot where the object should be appearing, so I believe I am doing something wrong here. Any help?
Need to make the object exist with 'new' first. Best bet is to set a variable to the object and show the variable.
mob
var
obj
myobj

Login()
..()
myobj = new()

Stat()
..()
statpanel("Something")
stat(myobj)