Removes shell fake BPM + blood oxygenation. (#9162)

This commit is contained in:
Matt Atlas
2020-06-21 12:25:46 +02:00
committed by GitHub
parent 55d784cf79
commit c9ada1ff1d
4 changed files with 46 additions and 13 deletions

View File

@@ -48,7 +48,7 @@
src.victim = src.table.victim
var/brain_result = victim.get_brain_status()
if(victim.isFBP())
brain_result = "normal"
brain_result = "<span class='danger'>N/A</span>"
dat += {"
<B>Patient Information:</B><BR>
Brain Activity: <b>[brain_result]</b><br>

View File

@@ -113,7 +113,7 @@ BREATH ANALYZER
pulse_result = 0
else
pulse_result = H.get_pulse(GETPULSE_TOOL)
pulse_result = "<span class='scan_green'>[pulse_result]bpm</span>"
pulse_result = "<span class='scan_green'>[pulse_result]</span>"
if(H.pulse() == PULSE_NONE)
pulse_result = "<span class='scan_danger'>[pulse_result]</span>"
else if(H.pulse() < PULSE_NORM)
@@ -121,11 +121,8 @@ BREATH ANALYZER
else if(H.pulse() > PULSE_NORM)
pulse_result = "<span class='scan_warning'>[pulse_result]</span>"
else
if(H.isFBP())
pulse_result = "[rand(70, 85)]bpm"
else
pulse_result = "<span class='scan_danger'>ERROR - Nonstandard biology</span>"
dat += "Pulse rate: [pulse_result]."
pulse_result = "<span class='scan_danger'>0</span>"
dat += "Pulse rate: [pulse_result]bpm."
// Blood pressure. Based on the idea of a normal blood pressure being 120 over 80.
if(H.should_have_organ(BP_HEART))
@@ -152,10 +149,7 @@ BREATH ANALYZER
blood_pressure_string = "<span class='scan_danger'>[H.get_blood_pressure()]</span>"
dat += "[b]Blood pressure:[endb] [blood_pressure_string] ([oxygenation_string])"
else
if(H.isFBP())
dat += "[b]Blood pressure:[endb] [rand(118, 125)]/[rand(77, 85)] (100%)"
else
dat += "[b]Blood pressure:[endb] N/A"
dat += "[b]Blood pressure:[endb] N/A"
// Body temperature.
var/temperature_string

View File

@@ -1160,8 +1160,6 @@
holder.icon_state = "0" // X_X
else if(is_asystole())
holder.icon_state = "flatline"
else if(isFBP(src))
holder.icon_state = "2"
else
holder.icon_state = "[pulse()]"
hud_list[HEALTH_HUD] = holder