mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-08-21 12:18:11 +01:00
push
This commit is contained in:
@@ -51,10 +51,15 @@
|
||||
user.nextsoundemote = world.time + 7
|
||||
playsound(user, 'modular_citadel/sound/voice/peep.ogg', 50, 1, -1)
|
||||
|
||||
/datum/emote/living/carbon/moan/run_emote(mob/living/user, params)
|
||||
if(!(. = ..()))
|
||||
return
|
||||
if(user.nextsoundemote >= world.time)
|
||||
return
|
||||
user.nextsoundemote = world.time + 7
|
||||
/datum/emote/living/carbon/moan
|
||||
emote_type = EMOTE_OMNI
|
||||
stat_allowed = CONSCIOUS
|
||||
|
||||
/datum/emote/living/carbon/moan/run_emote(mob/living/user, params, type_override, intentional)
|
||||
. = TRUE
|
||||
if(!can_run_emote(user, TRUE, intentional))
|
||||
return FALSE
|
||||
if(!COOLDOWN_FINISHED(user, nextsoundemote))
|
||||
return FALSE
|
||||
COOLDOWN_START(user, nextsoundemote, 7)
|
||||
user.moan()
|
||||
|
||||
Reference in New Issue
Block a user