typing indicator (#863)

This commit is contained in:
Azarak
2020-09-18 17:02:36 +01:00
committed by GitHub
parent c9e0356241
commit d3f5d861ef
7 changed files with 76 additions and 1 deletions
+2 -1
View File
@@ -327,7 +327,8 @@ GLOBAL_LIST_INIT(department_radio_keys, list(
speech_bubble_recipients.Add(M.client)
var/image/I = image('icons/mob/talk.dmi', src, "[bubble_type][say_test(message)]", FLY_LAYER)
I.appearance_flags = APPEARANCE_UI_IGNORE_ALPHA
INVOKE_ASYNC(GLOBAL_PROC, /.proc/flick_overlay, I, speech_bubble_recipients, 30)
//INVOKE_ASYNC(GLOBAL_PROC, /.proc/flick_overlay, I, speech_bubble_recipients, 30) - ORIGINAL
INVOKE_ASYNC(GLOBAL_PROC, /.proc/animate_speechbubble, I, speech_bubble_recipients, 30) //SKYRAT EDIT CHANGE - TYPING_INDICATOR
/mob/proc/binarycheck()
return FALSE
+8
View File
@@ -4,6 +4,10 @@
/mob/verb/say_verb(message as text)
set name = "Say"
set category = "IC"
//SKYRAT EDIT ADDITION BEGIN - TYPING_INDICATOR
if(typing_indicator)
set_typing_indicator(FALSE)
//SKYRAT EDIT ADDITION END
if(GLOB.say_disabled) //This is here to try to identify lag problems
to_chat(usr, "<span class='danger'>Speech is currently admin-disabled.</span>")
return
@@ -27,6 +31,10 @@
/mob/verb/me_verb(message as text)
set name = "Me"
set category = "IC"
//SKYRAT EDIT ADDITION BEGIN - TYPING_INDICATOR
if(typing_indicator)
set_typing_indicator(FALSE)
//SKYRAT EDIT ADDITION END
if(GLOB.say_disabled) //This is here to try to identify lag problems
to_chat(usr, "<span class='danger'>Speech is currently admin-disabled.</span>")