Merge pull request #11270 from Very-Soft/simplemobmedicalscans

You can use health analyzers on simplemobs now
This commit is contained in:
Aronai Sieyes
2021-07-27 15:41:54 +00:00
committed by Chompstation Bot
parent 241a0d528f
commit b6ff4dd248
@@ -109,6 +109,9 @@
if(!(L in prey_excludes)) // Unless they're already on it, just to avoid fuckery.
prey_excludes += L
addtimer(CALLBACK(src, .proc/removeMobFromPreyExcludes, weakref(L)), 5 MINUTES)
else if(istype(O, /obj/item/device/healthanalyzer))
var/healthpercent = health/maxHealth*100
to_chat(user, "<span class='notice'>[src] seems to be [healthpercent]% healthy.</span>")
else
..()