mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 14:31:59 +01:00
Adds a medical scan verb for ghosts (#11724)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user