Warning: Physical trauma[LAZYLEN(wounded_part.wounds) > 1? "s" : ""] detected in [wounded_part.name]"
- for(var/k in wounded_part.wounds)
- var/datum/wound/W = k
- render_list += "[W.get_scanner_description()]
\n"
+ for(var/limb_wound in wounded_part.wounds)
+ var/datum/wound/current_wound = limb_wound
+ render_list += "[current_wound.get_scanner_description()]
\n"
+ ADD_TRAIT(current_wound, TRAIT_WOUND_SCANNED, ANALYZER_TRAIT)
+ if(!advised)
+ to_chat(user, span_notice("You notice how bright holo-images appear over your [(length(wounded_part.wounds) || length(patient.get_wounded_bodyparts()) ) > 1 ? "various wounds" : "wound"]. They seem to be filled with helpful information, this should make treatment easier!"))
+ advised = TRUE
render_list += ""
if(render_list == "")
@@ -511,38 +528,57 @@
// Only emit the cheerful scanner message if this scan came from a scanner
playsound(scanner, 'sound/machines/ping.ogg', 50, FALSE)
to_chat(user, span_notice("\The [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!"))
+ scanner.show_emotion(AID_EMOTION_HAPPY)
else
to_chat(user, "