Skip to content

Commit

Permalink
restoration of after message bubble (#14022)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blundir authored Sep 28, 2023
1 parent 3feacd1 commit 92756e0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/say.dm
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ GLOBAL_LIST_INIT(freqtospan, list(
return "1"
else if (ending == "!")
return "2"
return "0"
return "4"

/atom/movable/proc/GetVoice()
return "[src]" //Returns the atom's name, prepended with 'The' if it's not a proper noun
Expand Down
9 changes: 9 additions & 0 deletions code/modules/mob/living/say.dm
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,15 @@ GLOBAL_LIST_INIT(department_radio_keys_som, list(

INVOKE_ASYNC(SStts, TYPE_PROC_REF(/datum/controller/subsystem/tts, queue_tts_message), src, html_decode(tts_message_to_use), message_language, voice, filter.Join(","), listened, FALSE, message_range, (job?.job_flags & JOB_FLAG_LOUDER_TTS) ? 20 : 0, pitch = pitch, silicon = tts_silicon_voice_effect)

//speech bubble
var/list/speech_bubble_recipients = list()
for(var/mob/M in listening)
if(M.client)
speech_bubble_recipients.Add(M.client)
var/image/I = image('icons/mob/effects/talk.dmi', src, "[bubble_type][say_test(message_raw)]", FLY_LAYER)
I.appearance_flags = APPEARANCE_UI_IGNORE_ALPHA
INVOKE_ASYNC(GLOBAL_PROC, GLOBAL_PROC_REF(flick_overlay), I, speech_bubble_recipients, 30)

/mob/living/GetVoice()
return name

Expand Down
Binary file modified icons/mob/effects/talk.dmi
Binary file not shown.

0 comments on commit 92756e0

Please sign in to comment.