turf
var/icon/currentIcon
New()
..()
//create currentIcon here
proc
Show(mob/M)
M << "\icon[src.currentIcon]" // This works, so the icon is there.
M << browse_rsc(src.currentIcon, "Test")
M << browse("<img src=Test>")
// M << browse_rsc(src.currentIcon, "Test.png")
// M << browse("<img src=Test.png>")
// M << browse_rsc(src.currentIcon, "Test.dmi")
// M << browse("<img src=Test.dmi>")
// M << browse_rsc(src.currentIcon)
// M << browse("<img src=\ref[src.currentIcon]>")
I've tried all kinds of variations on this, and I'm stumped. Suggestions?