From 2b5e958fde09cc1f420faa1a33f24e7a5a512e49 Mon Sep 17 00:00:00 2001 From: datlo Date: Thu, 15 Aug 2019 11:01:16 +0200 Subject: [PATCH] reduce chat spam --- code/modules/mob/living/carbon/human/species/golem.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/species/golem.dm b/code/modules/mob/living/carbon/human/species/golem.dm index 02e0ef7bcca..9d74e7e2130 100644 --- a/code/modules/mob/living/carbon/human/species/golem.dm +++ b/code/modules/mob/living/carbon/human/species/golem.dm @@ -377,7 +377,8 @@ var/mob/living/carbon/human/I = L if(!(RADIMMUNE in I.dna.species.species_traits)) L.apply_effect(10, IRRADIATE) - to_chat(L, "You are enveloped by a soft green glow emanating from [H].") + if(prob(25)) //reduce spam + to_chat(L, "You are enveloped by a soft green glow emanating from [H].") ..() //Ventcrawler