Merge pull request #7146 from deathride58/loocdudewtf

Prevents the vast majority of IC in LOOC cases
This commit is contained in:
LetterJay
2018-06-18 10:11:48 -05:00
committed by GitHub
+6
View File
@@ -39,6 +39,12 @@
to_chat(src, "<B>Advertising other servers is not allowed.</B>")
log_admin("[key_name(src)] has attempted to advertise in LOOC: [msg]")
return
if(mob.stat)
to_chat(src, "<span class='danger'>You cannot salt in LOOC while unconscious or dead.</span>")
return
if(istype(mob, /mob/dead))
to_chat(src, "<span class='danger'>You cannot use LOOC while ghosting.</span>")
return
log_ooc("(LOCAL) [mob.name]/[key] : [msg]")
mob.log_message("(LOCAL): [msg]", INDIVIDUAL_OOC_LOG)