mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 11:34:19 +01:00
AI eyes with relay speech effects the AI with voice of god if the ai eye has relay speech (#25632)
* AI eyes with relay speech effectt he AI with voice of god * Update vocal_cords.dm
This commit is contained in:
@@ -166,7 +166,12 @@ GLOBAL_DATUM_INIT(multispin_words, /regex, regex("like a record baby"))
|
||||
var/mob/living/carbon/human/H = L
|
||||
if(H.check_ear_prot() >= HEARING_PROTECTION_TOTAL)
|
||||
continue
|
||||
listeners += L
|
||||
if(istype(L, /mob/camera/aiEye))
|
||||
var/mob/camera/aiEye/ai_eye = L
|
||||
if(ai_eye.relay_speech && ai_eye.ai)
|
||||
listeners += ai_eye.ai
|
||||
else
|
||||
listeners += L
|
||||
|
||||
if(!length(listeners))
|
||||
next_command = world.time + cooldown_none
|
||||
|
||||
Reference in New Issue
Block a user