Skip to content

Commit

Permalink
changes the color of the text of the limb column of health analyzers
Browse files Browse the repository at this point in the history
  • Loading branch information
zimon9 committed Sep 22, 2024
1 parent e03aaab commit 0fe7d0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/game/objects/items/devices/scanners.dm
Original file line number Diff line number Diff line change
Expand Up @@ -226,20 +226,20 @@ GENE SCANNER
if(length(damaged)>0 || oxy_loss>0 || tox_loss>0 || fire_loss>0)
var/dmgreport = "<span class='info ml-1'>General status:</span>\
<table class='ml-2'><tr><font face='Verdana'>\
<td style='width:7em;'><font color='#0000CC'>Damage:</font></td>\
<td style='width:7em;'><font color='#0d5cee'>Damage:</font></td>\
<td style='width:5em;'><font color='red'><b>Brute</b></font></td>\
<td style='width:4em;'><font color='orange'><b>Burn</b></font></td>\
<td style='width:4em;'><font color='green'><b>Toxin</b></font></td>\
<td style='width:8em;'><font color='purple'><b>Suffocation</b></font></td></tr>\
<tr><td><font color='#0000CC'>Overall:</font></td>\
<tr><td><font color='#1d63e6'>Overall:</font></td>\
<td><font color='red'>[CEILING(brute_loss,1)]</font></td>\
<td><font color='orange'>[CEILING(fire_loss,1)]</font></td>\
<td><font color='green'>[CEILING(tox_loss,1)]</font></td>\
<td><font color='blue'>[CEILING(oxy_loss,1)]</font></td></tr>"

for(var/o in damaged)
var/obj/item/bodypart/org = o //head, left arm, right arm, etc.
dmgreport += "<tr><td><font color='#0000CC'>[capitalize(parse_zone(org.body_zone))]:</font></td>\
dmgreport += "<tr><td><font color='#1d63e6'>[capitalize(parse_zone(org.body_zone))]:</font></td>\
<td><font color='red'>[(org.brute_dam > 0) ? "[CEILING(org.brute_dam,1)]" : "0"]</font></td>\
<td><font color='orange'>[(org.burn_dam > 0) ? "[CEILING(org.burn_dam,1)]" : "0"]</font></td></tr>"
dmgreport += "</font></table>"
Expand Down

0 comments on commit 0fe7d0d

Please sign in to comment.