mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Health Analyzer now lists embeds (#75113)
## About The Pull Request Health analyzer now shows off any embeds in the limbs, right under their damage.  ## 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user