Typing Indicators

This commit is contained in:
Dip
2020-11-10 01:52:06 -03:00
parent 8ee1836b40
commit 6eebc1d649
14 changed files with 140 additions and 26 deletions
+14 -1
View File
@@ -126,4 +126,17 @@
///Whether the mob is updating glide size when movespeed updates or not
var/updating_glide_size = TRUE
var/updating_glide_size = TRUE
var/flavor_text = ""
var/flavor_text_2 = "" //version of the above that only lasts for the current round.
///////TYPING INDICATORS///////
/// Set to true if we want to show typing indicators.
var/typing_indicator_enabled = FALSE
/// Default icon_state of our typing indicator. Currently only supports paths (because anything else is, as of time of typing this, unnecesary.
var/typing_indicator_state = /obj/effect/overlay/typing_indicator
/// The timer that will remove our indicator for early aborts (like when an user finishes their message)
var/typing_indicator_timerid
/// Current state of our typing indicator. Used for cut overlay, DO NOT RUNTIME ASSIGN OTHER THAN FROM SHOW/CLEAR. Used to absolutely ensure we do not get stuck overlays.
var/mutable_appearance/typing_indicator_current