From acc55ec478ae2e19523a24ea9f7cd2406ed80344 Mon Sep 17 00:00:00 2001 From: Verkister Date: Tue, 5 Sep 2023 22:07:27 +0300 Subject: [PATCH] Implements BS recycling for the BS compostor (#6925) --- .../code/game/objects/structures/watercloset_ch.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modular_chomp/code/game/objects/structures/watercloset_ch.dm b/modular_chomp/code/game/objects/structures/watercloset_ch.dm index 99503e6d09..6829f461ce 100644 --- a/modular_chomp/code/game/objects/structures/watercloset_ch.dm +++ b/modular_chomp/code/game/objects/structures/watercloset_ch.dm @@ -96,12 +96,14 @@ density = TRUE var/muffin_mode = FALSE var/mob/living/simple_mob/vore/aggressive/corrupthound/muffinmonster + var/obj/machinery/recycling/crusher/crusher //Bluespace connection for recyclables /obj/structure/biowaste_tank/Initialize() muffinmonster = new /mob/living/simple_mob/vore/aggressive/corrupthound/muffinmonster(src) muffinmonster.name = "Activate Muffin Monster" muffinmonster.voremob_loaded = TRUE muffinmonster.init_vore() + crusher = locate(/obj/machinery/recycling/crusher) return ..() /obj/structure/biowaste_tank/AllowDrop() @@ -121,6 +123,9 @@ C.forceMove(src) qdel(thing) return + if(istype(crusher) && istype(thing, /obj/item/debris_pack)) + crusher.take_item(thing) + return if(muffin_mode) if(muffinmonster) thing.forceMove(muffinmonster.vore_selected) @@ -175,3 +180,4 @@ B.desc = "With a resounding CRUNCH, your form has gotten snagged by the Muffin Monster's rotational interlocking cutters indiscriminately crunching away at anything unlucky enough to end up in its hopper, only for the insatiable machine to grind it all down into a slurry mulch fine enough to pass through the narrow sewage lines trouble-free..." B.digest_brute = 20 B.special_entrance_sound = 'sound/machines/blender.ogg' + B.recycling = TRUE