ID:178882
 
I am trying to make a new statpanel come up, and that is successful, its just that the things that are suppsoed to be in it, dont come up!

obj/turf/Desk
icon = 'Hero.dmi'
icon_state = "desk"
density = 1
Click()
usr.gettingcostume = 1
usr.getcostumes = deskcostumes

var/list/deskcostumes = list(/obj/overlays/white_gloves,/obj/overlays/white_boots,/obj/overlays/suit) //you dont wanna see the rest :)
mob
var
gettingcostume = 0
getcostumes
mob
Stat()
..()
if(usr.gettingcostume == 1)
statpanel("Costumes",usr.getcostumes)


The panel comes up, but not the clothes that are supposed to be in it. Thanks.

-Sariat
IM innocent god damnit
deskcostumes should be a mob var, and not list(), newlist(). Should should use src in Stat() not usr. You could cut down on size by changing ==1 to umm nothing


if(varname)// if it's on or TRUE