Don't persist spitwads and gum

These just always have bothered me. I'd prefer if they didn't hang around.
This commit is contained in:
VerySoft
2022-02-08 22:16:25 -05:00
parent 8aff1e5747
commit 75dfd8291e
@@ -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