Decouples "Is this affected by a mop" from layer var (#88465)

## About The Pull Request

Rather than checking for object layer if we can clean something, has a
trait which accomplishes this

This better allows us to pick and choose what objects we want to clean
when mopping

Note: I didn't apply the trait to everything it previously affected
Currently, it cleans stuff like pipes and plumbing, which I deemed not
necessary to carry over since they can't get dirty anyways
I can re-add this if desired though

Fixes #88445
Fixes #88150

## Changelog

🆑 Melbert
fix: Gibs get bulk cleaned if you clean the turf again
refactor: Changed how things determine "I can be bulk cleaned if I clean
the turf underneath me", let me know if you notice anything not getting
bulk cleaned or weird things getting bulk cleaned
/🆑
This commit is contained in:
MrMelbert
2024-12-18 00:50:08 +01:00
committed by GitHub
parent 3d140ad7f2
commit 4b77c6f7c0
25 changed files with 108 additions and 61 deletions
@@ -21,7 +21,7 @@
icon_state = "brimdust"
icon = 'icons/obj/mining.dmi'
plane = GAME_PLANE
layer = GAME_CLEAN_LAYER
layer = CLEANABLE_OBJECT_LAYER
mergeable_decal = FALSE
/obj/effect/decal/cleanable/brimdust/Initialize(mapload)