Health Analyzer now lists embeds (#75113)

## About The Pull Request

Health analyzer now shows off any embeds in the limbs, right under their
damage.


![image](https://user-images.githubusercontent.com/53777086/235578742-9ebf71ff-5c8f-44d7-96b0-5784e18ae07b.png)

## Why It's Good For The Game

Currently the only way to tell there's an embed in a bodypart is by
examining them, and Doctors have their health analyzer to examine FOR
them. Knowing embeds is an important part of treatment, so I think it's
justified to have the analyzer show them this info.

## Changelog

🆑
qol: Health Analyzers now show embeds in bodyparts on examine.
/🆑
This commit is contained in:
John Willard
2023-05-02 21:34:07 -06:00
committed by GitHub
parent 3620201574
commit 69ee79c5d7
@@ -253,6 +253,9 @@
dmgreport += "<td><font color='#ff9933'>[(limb.burn_dam > 0) ? "[CEILING(limb.burn_dam,1)]" : "0"]</font></td></tr>"
dmgreport += "</font></table>"
render_list += dmgreport // tables do not need extra linebreak
for(var/obj/item/bodypart/limb as anything in carbontarget.bodyparts)
for(var/obj/item/embed as anything in limb.embedded_objects)
render_list += "<span class='alert ml-1'>Embedded object: [embed] located in \the [limb.plaintext_zone]</span>\n"
if(ishuman(target))
var/mob/living/carbon/human/humantarget = target