Merge pull request #8618 from VOREStation/upstream-merge-7415

[MIRROR] Reduces volume of persistent filth
This commit is contained in:
Novacat
2020-08-07 00:28:32 -04:00
committed by GitHub
2 changed files with 9 additions and 0 deletions
@@ -46,6 +46,8 @@ var/global/list/image/fluidtrack_cache=list()
var/coming_state="blood1"
var/going_state="blood2"
var/updatedtracks=0
persistent = TRUE
generic_filth = FALSE
// dir = id in stack
var/list/setdirs=list(
@@ -1,3 +1,10 @@
/*
USAGE NOTE
For decals, the var Persistent = 'has already been saved', and is primarily used to prevent duplicate savings of generic filth (filth.dm).
This also means 'TRUE' can be used to define a decal as "Do not save at all, even as a generic replacement." if a dirt decal is considered 'too common' to save.
generic_filth = TRUE means when the decal is saved, it will be switched out for a generic green 'filth' decal.
*/
/obj/effect/decal/cleanable
plane = DIRTY_PLANE
var/persistent = FALSE