Recentry I have been trying to get some
custom objects (derived from /atom) to
be correctly displayed on the stat pane.
Howaver, the more I try the less I get...
I have a /something wich has an icon var
that correctly points to a valid file, so
I did:
/something var name binary/value icon display() var/output = "<SMALL><IMG CLASS=icon SRC=\ref[icon]></SMALL>" output += " [name] " if (value) output += "([value.value()])" return output
By the way, I have pre-defined the <SMALL> tag
in a client script.
When I call world << O.display() I get just what I
want, but when I do it inside a stat all I get is a
bunch of "HTML" code in the stat pane.
like this:
/mob Stat() for(var/something/O in world) stat(O.name, O.display())
Is there a way, or is this a feature sugestion?
Thanks!
Julio
</<>
The stat panels don't support html yet. That's on the List, though!