mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 01:57:01 +00:00
Update pai.dm (#22313)
This commit is contained in:
@@ -139,11 +139,13 @@ var/list/obj/item/device/paicard/pai_card_list = list()
|
|||||||
/datum/subsystem/pai/proc/findPAI(obj/item/device/paicard/p, mob/user)
|
/datum/subsystem/pai/proc/findPAI(obj/item/device/paicard/p, mob/user)
|
||||||
if(!ghost_spam)
|
if(!ghost_spam)
|
||||||
ghost_spam = TRUE
|
ghost_spam = TRUE
|
||||||
deadchat_broadcast("<span class='ghostalert'>Someone is requesting a pAI personality! Use the pAI button to submit yourself as one.</span>")
|
|
||||||
for(var/mob/dead/observer/G in player_list)
|
for(var/mob/dead/observer/G in player_list)
|
||||||
if(!G.key || !G.client)
|
if(!G.key || !G.client)
|
||||||
continue
|
continue
|
||||||
|
if(!(ROLE_PAI in G.client.prefs.be_special))
|
||||||
|
continue
|
||||||
G << 'sound/misc/server-ready.ogg' //Alerting them to their consideration
|
G << 'sound/misc/server-ready.ogg' //Alerting them to their consideration
|
||||||
|
G << "<span class='ghostalert'>Someone is requesting a pAI personality! Use the pAI button to submit yourself as one.</span>"
|
||||||
addtimer(src, "spam_again", spam_delay)
|
addtimer(src, "spam_again", spam_delay)
|
||||||
var/list/available = list()
|
var/list/available = list()
|
||||||
for(var/datum/paiCandidate/c in SSpai.candidates)
|
for(var/datum/paiCandidate/c in SSpai.candidates)
|
||||||
|
|||||||
Reference in New Issue
Block a user