From 69e4fa180122032cb09ba36d19b647c53e6947a3 Mon Sep 17 00:00:00 2001 From: Zuhayr Date: Mon, 12 May 2014 15:00:52 +0930 Subject: [PATCH] Added a cooldown to CLONG CLONG from moving in disposals. --- code/modules/recycling/disposal.dm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/code/modules/recycling/disposal.dm b/code/modules/recycling/disposal.dm index f4a9420cf46..2b5b38328c1 100644 --- a/code/modules/recycling/disposal.dm +++ b/code/modules/recycling/disposal.dm @@ -610,8 +610,17 @@ // called when player tries to move while in a pipe relaymove(mob/user as mob) - if (user.stat) + + if(!istype(user,/mob/living)) return + + var/mob/living/U = user + + if (U.stat || U.last_special <= world.time) + return + + U.last_special = world.time+100 + if (src.loc) for (var/mob/M in hearers(src.loc.loc)) M << "CLONG, clong!"