Ghosts can now scan IPCs/Robots (#15648)

This commit is contained in:
Afya212
2023-01-28 12:13:42 +01:00
committed by GitHub
parent 25b389acba
commit 0841ffd17d
3 changed files with 25 additions and 12 deletions
@@ -337,7 +337,9 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
to_chat(src, SPAN_WARNING("You aren't following anything!"))
return
if(ishuman(following))
if(isipc(following) || isrobot(following))
robotic_analyze_mob(following, usr, TRUE)
else if(ishuman(following))
health_scan_mob(following, usr, TRUE, TRUE)
else
to_chat(src, SPAN_WARNING("This isn't a scannable target."))