added sstyping

This commit is contained in:
spookerton
2022-10-02 15:17:50 +01:00
parent 67dee1d311
commit 6385d90efc
9 changed files with 251 additions and 106 deletions

View File

@@ -113,15 +113,3 @@ INITIALIZE_IMMEDIATE(/mob/zshadow)
. = ..()
if(shadow)
shadow.set_dir(new_dir)
/mob/zshadow/set_typing_indicator(var/state)
if(!typing_indicator)
init_typing_indicator("typing")
if(state && !typing)
add_overlay(typing_indicator)
typing = 1
else if(!state && typing)
cut_overlay(typing_indicator)
typing = 0
if(shadow)
shadow.set_typing_indicator(state)