mob/proc/update_descriptor(o as text)
if(src.descriptor)
src.descriptor:overlays=null
var/image/I = new
I.layer=FLY_LAYER
I.maptext_height=224
I.maptext_width=192
I.maptext="<span style='color:white;font-family:arial;font-style:normal;font-size:8pt'> [o] </span>"
src.descriptor:overlays+=I
Problem description:
I am trying to display text in an inventory menu on screen. I have no trouble getting the text to appear, however nomatter what I set font-style to be it always appears to be in italics and looks like this: http://imgur.com/SsoeV
In this instance all I passed to this proc was "TEST" and as you can see it is italic. The most bizarre thing is that maptext appears to change between italic and non-italic between server re-compiles without any change to the above code. It is starting to really drive me crazy.