mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Implements BS recycling for the BS compostor (#6925)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user