Cloning machine now auto process meat (#4137)

* Cloning machine now auto process meat(And meatball and meatpie and meatsteak)

* Prevent chatspam

* Format text
This commit is contained in:
Ansari
2017-10-24 08:34:26 +08:00
committed by Anewbe
parent ca84cd326a
commit 169f2c0e0a

View File

@@ -172,6 +172,15 @@
//Grow clones to maturity then kick them out. FREELOADERS
/obj/machinery/clonepod/process()
var/visible_message = 0
for(var/obj/item/weapon/reagent_containers/food/snacks/meat in range(1, src))
qdel(meat)
biomass += 50
visible_message = 1 // Prevent chatspam when multiple meat are near
if(visible_message)
visible_message("<span class = 'notice'>[src] sucks in and processes the nearby biomass.</span>")
if(stat & NOPOWER) //Autoeject if power is lost
if(occupant)
locked = 0