mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 13:39:16 +01:00
Readd emote cooldown
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user