Warning: Physical trauma[LAZYLEN(wounded_part.wounds) > 1? "s" : ""] detected in [wounded_part.name]"
for(var/limb_wound in wounded_part.wounds)
var/datum/wound/current_wound = limb_wound
- render_list += "[current_wound.get_scanner_description()]
\n"
+ render_list += "[simple_scan ? current_wound.get_simple_scanner_description() : current_wound.get_scanner_description()]
\n"
if (scanner.give_wound_treatment_bonus)
ADD_TRAIT(current_wound, TRAIT_WOUND_SCANNED, ANALYZER_TRAIT)
if(!advised)
@@ -515,11 +515,9 @@
advised = TRUE
render_list += ""
- var/obj/item/healthanalyzer/simple/simple_scanner
- if(istype(scanner, /obj/item/healthanalyzer/simple))
- simple_scanner = scanner
if(render_list == "")
- if (simple_scanner)
+ if(simple_scan)
+ var/obj/item/healthanalyzer/simple/simple_scanner = scanner
// Only emit the cheerful scanner message if this scan came from a scanner
playsound(simple_scanner, 'sound/machines/ping.ogg', 50, FALSE)
to_chat(user, span_notice("\The [simple_scanner] makes a happy ping and briefly displays a smiley face with several exclamation points! It's really excited to report that [patient] has no wounds!"))
@@ -527,7 +525,8 @@
to_chat(user, "