Adds a medical scan verb for ghosts (#11724)

This commit is contained in:
Jaraci
2021-04-25 13:46:11 -03:00
committed by GitHub
parent 3103c27410
commit b7ca97b407
2 changed files with 55 additions and 0 deletions
@@ -311,6 +311,20 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
medHUD = 1
to_chat(src, "<span class='notice'><B>Medical HUD Enabled</B></span>")
/mob/abstract/observer/verb/scan_target()
set category = "Ghost"
set name = "Medical Scan Target"
set desc = "Analyse the health of whatever you are following."
if(!following)
to_chat(src, SPAN_WARNING("You aren't following anything!"))
return
if(ishuman(following))
health_scan_mob(following, usr, TRUE, TRUE)
else
to_chat(src, SPAN_WARNING("This isn't a scannable target."))
/mob/abstract/observer/verb/toggle_antagHUD()
set category = "Ghost"
set name = "Toggle AntagHUD"