mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
Refactored the TTS subsystem to more properly handle message garbling. Added a volume preference for TTS. (#75559)
TTS subsystem refactor. --------- Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com> Co-authored-by: Iamgoofball <iamgoofball@gmail.com> Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
This commit is contained in:
co-authored by
Watermelon914
Iamgoofball
Kyle Spier-Swenson
parent
d8dbd35a25
commit
569d8f5a72
@@ -41,7 +41,7 @@
|
||||
|
||||
/obj/item/circuit_component/hear/Hear(message, atom/movable/speaker, datum/language/message_language, raw_message, radio_freq, list/spans, list/message_mods, message_range)
|
||||
if(speaker == parent?.shell)
|
||||
return
|
||||
return FALSE
|
||||
|
||||
message_port.set_output(raw_message)
|
||||
if(message_language)
|
||||
@@ -49,3 +49,4 @@
|
||||
speaker_port.set_output(speaker)
|
||||
speaker_name.set_output(speaker.GetVoice())
|
||||
trigger_port.set_output(COMPONENT_SIGNAL)
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user