mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
Adds stats to creation/destruction of cleanable decals and trash on station (#44989)
* Adds stat tracking to mess on station * Checks for maint to make sure stats aren't counting maint trash which is irrelevant to the janitor * adds mapload arg to init * asdasd
This commit is contained in:
@@ -25,6 +25,16 @@
|
||||
if(LAZYLEN(diseases_to_add))
|
||||
AddComponent(/datum/component/infective, diseases_to_add)
|
||||
|
||||
var/turf/T = get_turf(src)
|
||||
if(is_station_level(T.z))
|
||||
SSblackbox.record_feedback("tally", "station_mess_created", 1, name)
|
||||
|
||||
/obj/effect/decal/cleanable/Destroy()
|
||||
var/turf/T = get_turf(src)
|
||||
if(is_station_level(T.z))
|
||||
SSblackbox.record_feedback("tally", "station_mess_destroyed", 1, name)
|
||||
return ..()
|
||||
|
||||
/obj/effect/decal/cleanable/proc/replace_decal(obj/effect/decal/cleanable/C) // Returns true if we should give up in favor of the pre-existing decal
|
||||
if(mergeable_decal)
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user