Readd emote cooldown

This commit is contained in:
Aronai Sieyes
2021-05-15 10:50:30 -04:00
parent 5df769f502
commit 3b8018b4be
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -27,6 +27,7 @@ var/list/_default_mob_emotes = list(
/mob
var/list/usable_emotes
var/nextemote = 1 //VOREStation Add
/mob/proc/update_emotes(var/skip_sort)
usable_emotes = list()
+5
View File
@@ -1,4 +1,9 @@
/mob/proc/can_emote(var/emote_type)
//VOREStation Add
if(src.nextemote >= world.time)
return FALSE
src.nextemote = world.time + 12
//VOREStation Add End
return (stat == CONSCIOUS)
/mob/living/can_emote(var/emote_type)