\r
vector status_pos;\r
string status_text;\r
- status_text = strcat(ftos(stomach_load), "/", ftos(stomach_maxload), "%");\r
+ if(stomach_load)\r
+ status_text = strcat(ftos(stomach_load), "^8/^7", ftos(stomach_maxload), "%");\r
+ else\r
+ status_text = strcat(ftos(stomach_maxload), "%");\r
status_pos = bottomleft - '-44 168 0';\r
- status_pos -= '1 0 0' * stringwidth(status_text, FALSE, '16 16 0') * 0.5;\r
- drawstring(status_pos, status_text, '16 16 0', '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
+ status_pos -= '1 0 0' * stringwidth(status_text, TRUE, '16 16 0') * 0.5;\r
+ drawcolorcodedstring(status_pos, status_text, '16 16 0', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
\r
if(getstati(STAT_VORE_DIGESTING)) // we are currently digesting\r
drawpic(bottomleft - '-35 149 0', "gfx/hud/sb_digestion", '16 16 0', '0 1 0', sbar_alpha_fg, DRAWFLAG_NORMAL);\r