Changed hydro trays, fertilizer and syringes over to use the reagent procs.

This commit is contained in:
Zuhayr
2014-07-30 12:24:03 +09:30
parent 89be9e5f43
commit 251b44a53c
9 changed files with 244 additions and 304 deletions

View File

@@ -1734,6 +1734,27 @@ datum
..()
return
//Reagents used for plant fertilizers.
toxin/fertilizer
name = "fertilizer"
id = "fertilizer"
description = "A chemical mix good for growing plants with."
reagent_state = LIQUID
toxpwr = 0.2 //It's not THAT poisonous.
color = "#664330" // rgb: 102, 67, 48
toxin/fertilizer/eznutrient
name = "EZ Nutrient"
id = "eznutrient"
toxin/fertilizer/left4zed
name = "Left-4-Zed"
id = "left4zed"
toxin/fertilizer/robustharvest
name = "Robust Harvest"
id = "robustharvest"
toxin/plantbgone
name = "Plant-B-Gone"
id = "plantbgone"

View File

@@ -40,7 +40,6 @@
/obj/machinery/sleeper,
/obj/machinery/smartfridge/,
/obj/machinery/biogenerator,
/obj/machinery/portable_atmospherics/hydroponics,
/obj/machinery/constructable_frame)
New()
@@ -108,6 +107,7 @@
user << "\blue You fill [src] with [trans] units of the contents of [target]."
else if(target.is_open_container() && target.reagents) //Something like a glass. Player probably wants to transfer TO it.
if(!reagents.total_volume)
user << "\red [src] is empty."
return