mob
Stat()
if(logged)
statpanel("Inventory")
stat("")
if(contents.len)
stat(contents)
else
stat("Empty")
Problem description: I want the variables for each object in my contents list to be displayed beside it. Currently at the moment, I can only display what is in my contents list animated in the inventory panel.
To display specific data per-item you'd want to loop over the contents list and show each item individually with its own stat() calls.
However, it should be noted that statpanels are pretty obsolete as far as usage goes, it's much more recommended to go with an on-screen approach or even use a grid interface element.
For debugging purposes though, they're fine.