Files
VOREStation/code/modules/mob/dead/observer/observer_vr.dm
Verkister f47db4995b Adds a ghost verb to alert blank pAI cards.
-The verb causes available empty pAI devices to briefly flash an alert on their screens.
-Didn't add the sound part due to spam protections failing for the sake of annoyance prevention. Just gotta hope someone walks right past when ya do it.
-You can now indicate the things might actually be of use for once without having to resort to metabegging.
2017-09-01 12:52:52 +03:00

12 lines
439 B
Plaintext

/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.icon = 'icons/obj/pda_vr.dmi'
PP.overlays += "pai-ghostalert"
spawn(54)
PP.overlays.Cut()