This commit is contained in:
SandPoot
2024-05-22 21:08:11 -03:00
14 changed files with 2244 additions and 1960 deletions
@@ -226,15 +226,28 @@
spawn_flags = IC_SPAWN_RESEARCH
/obj/item/integrated_circuit/output/sound/vox
name = "ai vox sound circuit"
name = "Female 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
var/voice_type = "Female"
/obj/item/integrated_circuit/output/sound/vox/Initialize(mapload)
.= ..()
sounds = GLOB.vox_sounds
sounds = GLOB.vox_types[voice_type]
. = ..()
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/sound/vox/male
name = "Male 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
voice_type = "Male"
/obj/item/integrated_circuit/output/sound/vox/military
name = "Military 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
voice_type = "Military"
/obj/item/integrated_circuit/output/text_to_speech
name = "text-to-speech circuit"
desc = "Takes any string as an input and will make the device say the string when pulsed."