From bf378cdc36ea924654ae91722340d308d932b236 Mon Sep 17 00:00:00 2001 From: deathride58 Date: Sun, 17 Jun 2018 04:49:19 -0400 Subject: [PATCH] prevents the vast majority of IC in LOOC cases --- code/modules/client/verbs/looc.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/modules/client/verbs/looc.dm b/code/modules/client/verbs/looc.dm index c6814caab2..4fce3bfcfb 100644 --- a/code/modules/client/verbs/looc.dm +++ b/code/modules/client/verbs/looc.dm @@ -39,6 +39,12 @@ to_chat(src, "Advertising other servers is not allowed.") log_admin("[key_name(src)] has attempted to advertise in LOOC: [msg]") return + if(mob.stat) + to_chat(src, "You cannot salt in LOOC while unconscious or dead.") + return + if(istype(mob, /mob/dead)) + to_chat(src, "You cannot use LOOC while ghosting.") + return log_ooc("(LOCAL) [mob.name]/[key] : [msg]") mob.log_message("(LOCAL): [msg]", INDIVIDUAL_OOC_LOG)