mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user