"
- var/AN = ""
- var/open = ""
- var/infected = ""
- var/imp = ""
- var/bled = ""
- var/robot = ""
- var/splint = ""
- var/internal_bleeding = ""
- var/lung_ruptured = ""
- for(var/datum/wound/W in e.wounds) if(W.internal)
- internal_bleeding = "
Internal bleeding"
- break
- if(istype(e, /datum/organ/external/chest) && occupant.is_lung_ruptured())
- lung_ruptured = "Lung ruptured:"
- if(e.status & ORGAN_SPLINTED)
- splint = "Splinted:"
- if(e.status & ORGAN_BLEEDING)
- bled = "Bleeding:"
- if(e.status & ORGAN_BROKEN)
- AN = "[e.broken_description]:"
- if(e.status & ORGAN_ROBOT)
- robot = "Prosthetic:"
- if(e.open)
- open = "Open:"
- switch (e.germ_level)
- if (INFECTION_LEVEL_ONE to INFECTION_LEVEL_ONE + 200)
- infected = "Mild Infection:"
- if (INFECTION_LEVEL_ONE + 200 to INFECTION_LEVEL_ONE + 300)
- infected = "Mild Infection+:"
- if (INFECTION_LEVEL_ONE + 300 to INFECTION_LEVEL_ONE + 400)
- infected = "Mild Infection++:"
- if (INFECTION_LEVEL_TWO to INFECTION_LEVEL_TWO + 200)
- infected = "Acute Infection:"
- if (INFECTION_LEVEL_TWO + 200 to INFECTION_LEVEL_TWO + 300)
- infected = "Acute Infection+:"
- if (INFECTION_LEVEL_TWO + 300 to INFECTION_LEVEL_TWO + 400)
- infected = "Acute Infection++:"
- if (INFECTION_LEVEL_THREE to INFINITY)
- infected = "Septic:"
-
- var/unknown_body = 0
- for(var/I in e.implants)
- if(is_type_in_list(I,known_implants))
- imp += "[I] implanted:"
- else
- unknown_body++
-
- if(unknown_body || e.hidden)
- imp += "Unknown body present:"
- if(!AN && !open && !infected & !imp)
- AN = "None:"
- if(!(e.status & ORGAN_DESTROYED))
- dat += "[e.display_name] | [e.burn_dam] | [e.brute_dam] | [robot][bled][AN][splint][open][infected][imp][internal_bleeding][lung_ruptured] | "
- else
- dat += "[e.display_name] | - | - | Not Found | "
- dat += "
"
- for(var/datum/organ/internal/i in occupant.internal_organs)
- var/mech = ""
- if(i.robotic == 1)
- mech = "Assisted:"
- if(i.robotic == 2)
- mech = "Mechanical:"
-
- var/infection = "None"
- switch (i.germ_level)
- if (1 to INFECTION_LEVEL_ONE + 200)
- infection = "Mild Infection:"
- if (INFECTION_LEVEL_ONE + 200 to INFECTION_LEVEL_ONE + 300)
- infection = "Mild Infection+:"
- if (INFECTION_LEVEL_ONE + 300 to INFECTION_LEVEL_ONE + 400)
- infection = "Mild Infection++:"
- if (INFECTION_LEVEL_TWO to INFECTION_LEVEL_TWO + 200)
- infection = "Acute Infection:"
- if (INFECTION_LEVEL_TWO + 200 to INFECTION_LEVEL_TWO + 300)
- infection = "Acute Infection+:"
- if (INFECTION_LEVEL_TWO + 300 to INFINITY)
- infection = "Acute Infection++:"
-
- dat += "