Adds weedkiller smoke checks to hydro trays and spreading plants.

This commit is contained in:
Zuhayr
2015-04-01 07:25:09 -07:00
parent 5326abb67d
commit 1070a8f63c
5 changed files with 29 additions and 23 deletions
+2 -5
View File
@@ -1855,12 +1855,9 @@ datum
var/obj/effect/alien/weeds/alien_weeds = O
alien_weeds.health -= rand(15,35) // Kills alien weeds pretty fast
alien_weeds.healthcheck()
else if(istype(O,/obj/effect/plant)) //even a small amount is enough to kill it
del(O)
else if(istype(O,/obj/effect/plant))
if(prob(50))
var/obj/effect/plant/plant = O
plant.die_off()
var/obj/effect/plant/plant = O
plant.die_off()
else if(istype(O,/obj/machinery/portable_atmospherics/hydroponics))
var/obj/machinery/portable_atmospherics/hydroponics/tray = O