Ports ghost pAI alert

This commit is contained in:
Anewbe
2018-03-11 18:56:54 -05:00
parent b7090d7df2
commit b3d19ff25e
2 changed files with 12 additions and 0 deletions

View File

@@ -790,3 +790,15 @@ mob/observer/dead/MayRespawn(var/feedback = 0)
/mob/observer/dead/is_deaf()
return FALSE
/mob/observer/dead/verb/paialert()
set category = "Ghost"
set name = "Blank pAI alert"
set desc = "Flash an indicator light on available blank pAI devices for a smidgen of hope."
if(usr.client.prefs.be_special & BE_PAI)
for(var/obj/item/device/paicard/p in world)
var/obj/item/device/paicard/PP = p
if(PP.pai == null)
PP.overlays += "pai-ghostalert"
spawn(54)
PP.overlays.Cut()