mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-20 14:46:53 +01:00
datumizes and standardizes all emotes because that file is in the fucking way of my saycode rewrite adds vocal cues
23 lines
603 B
Plaintext
23 lines
603 B
Plaintext
/mob/proc/init_typing_indicator(indicator)
|
|
if(!indicator)
|
|
indicator = "[speech_bubble_appearance()]_typing"
|
|
if(typing_indicator)
|
|
cut_overlay(typing_indicator, TRUE)
|
|
typing = FALSE
|
|
typing_indicator = mutable_appearance('icons/mob/talk_vr.dmi', indicator, FLOAT_LAYER)
|
|
typing_indicator.appearance_flags |= RESET_COLOR | PIXEL_SCALE
|
|
|
|
/mob/proc/set_typing_indicator(state)
|
|
if(!state)
|
|
if(!typing)
|
|
return
|
|
cut_overlay(typing_indicator, TRUE)
|
|
typing = FALSE
|
|
else
|
|
if(typing)
|
|
return
|
|
if(!typing_indicator)
|
|
init_typing_indicator()
|
|
add_overlay(typing_indicator, TRUE)
|
|
typing = TRUE
|