From 3de5ed055f239a1bed9d875db3ca374a5a38c292 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Sat, 9 Dec 2017 16:18:00 -0500 Subject: [PATCH 1/2] Merge pull request #33365 from KomradeSpectre/vox_circuit Adds AI Vox Sound Output Circuit --- code/modules/integrated_electronics/subtypes/output.dm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/code/modules/integrated_electronics/subtypes/output.dm b/code/modules/integrated_electronics/subtypes/output.dm index 7f61968c04..a1ddf2eee1 100644 --- a/code/modules/integrated_electronics/subtypes/output.dm +++ b/code/modules/integrated_electronics/subtypes/output.dm @@ -207,6 +207,15 @@ spawn_flags = IC_SPAWN_RESEARCH origin_tech = list(TECH_ENGINEERING = 2, TECH_DATA = 2, TECH_BIO = 1) +/obj/item/integrated_circuit/output/sound/vox + name = "ai vox sound circuit" + desc = "Takes a sound name as an input, and will play said sound when pulsed. This circuit is often found in AI announcement systems." + spawn_flags = IC_SPAWN_RESEARCH + +/obj/item/integrated_circuit/output/sound/vox/Initialize() + .= ..() + sounds = GLOB.vox_sounds + extended_desc = "The first input pin determines which sound is used. It uses the AI Vox Broadcast word list. So either experiment to find words that work, or ask the AI to help in figuring them out. The second pin determines the volume of sound that is played, and the third determines if the frequency of the sound will vary with each activation." /obj/item/integrated_circuit/output/text_to_speech name = "text-to-speech circuit"