lets ghosts click a pAI device to download into it without a master (#15838)

* yes

* Update pai.dm
This commit is contained in:
Timothy Teakettle
2022-09-13 20:41:36 +01:00
committed by GitHub
parent 33ee9f5a19
commit 3de3dc8e6f
2 changed files with 31 additions and 1 deletions

View File

@@ -1,12 +1,18 @@
SUBSYSTEM_DEF(pai)
name = "pAI"
flags = SS_NO_INIT|SS_NO_FIRE
flags = SS_NO_FIRE
var/list/candidates = list()
var/ghost_spam = FALSE
var/spam_delay = 100
var/list/pai_card_list = list()
var/list/restricted_areas = list()
/datum/controller/subsystem/pai/Initialize(var/time_of_day)
restricted_areas += typesof(/area/command/heads_quarters, /area/ai_monitored) // heads quarters and AI monitored places (like the armory)
initialized = TRUE
return ..()
/datum/controller/subsystem/pai/Topic(href, href_list)
if(href_list["download"])