From 75dfd8291ec084f2a5e4b0e09247039602a60341 Mon Sep 17 00:00:00 2001 From: VerySoft Date: Tue, 8 Feb 2022 22:16:25 -0500 Subject: [PATCH] Don't persist spitwads and gum These just always have bothered me. I'd prefer if they didn't hang around. --- code/modules/persistence/effects/trash.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/persistence/effects/trash.dm b/code/modules/persistence/effects/trash.dm index 951e9858af..3eaa121711 100644 --- a/code/modules/persistence/effects/trash.dm +++ b/code/modules/persistence/effects/trash.dm @@ -4,6 +4,10 @@ /datum/persistent/filth/trash/CheckTurfContents(var/turf/T, var/list/tokens) var/too_much_trash = 0 for(var/obj/item/trash/trash in T) + //VOREStation Addition Start + if(istype(T, /obj/item/trash/spitwad) || istype(T, /obj/item/trash/spitgum)) + return FALSE + //VOREStation Addition End too_much_trash++ if(too_much_trash >= 5) return FALSE