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:
Qwertytoforty
2024-06-12 14:22:24 -04:00
committed by GitHub
parent c84349aab3
commit c4cd57d7c8
+6 -1
View File
@@ -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