From 6b3a0c3531ab817d888a8818ecf683f1407a2928 Mon Sep 17 00:00:00 2001 From: The0bserver Date: Wed, 2 Sep 2020 01:00:49 -0400 Subject: [PATCH] A few changes, new fertilizer obtainable now. --- .../chemistry/reagents/food_reagents.dm | 4 ++++ .../chemistry/reagents/other_reagents.dm | 19 +++++++++++++++++++ .../research/designs/biogenerator_designs.dm | 16 ++++++++++++++++ 3 files changed, 39 insertions(+) diff --git a/code/modules/reagents/chemistry/reagents/food_reagents.dm b/code/modules/reagents/chemistry/reagents/food_reagents.dm index beeb76d1a4..bbbceac6a0 100644 --- a/code/modules/reagents/chemistry/reagents/food_reagents.dm +++ b/code/modules/reagents/chemistry/reagents/food_reagents.dm @@ -174,6 +174,10 @@ ..() . = 1 +/datum/reagent/consumable/sugar/on_hydroponics_apply(obj/item/seeds/myseed, datum/reagents/chems, obj/machinery/hydroponics/mytray) + . = ..() + mytray.adjustWeeds(rand(2,3)) + /datum/reagent/consumable/virus_food name = "Virus Food" description = "A mixture of water and milk. Virus cells can use this mixture to reproduce." diff --git a/code/modules/reagents/chemistry/reagents/other_reagents.dm b/code/modules/reagents/chemistry/reagents/other_reagents.dm index 0bb83a27bf..00f72b3731 100644 --- a/code/modules/reagents/chemistry/reagents/other_reagents.dm +++ b/code/modules/reagents/chemistry/reagents/other_reagents.dm @@ -182,6 +182,10 @@ . = 1 ..() +/datum/reagent/blood/on_hydroponics_apply(obj/item/seeds/myseed, datum/reagents/chems, obj/machinery/hydroponics/mytray) + . = ..() + mytray.adjustPests(rand(2,3)) + /datum/reagent/liquidgibs name = "Liquid gibs" color = BLOOD_COLOR_HUMAN @@ -342,6 +346,14 @@ glass_desc = "A glass of holy water." pH = 7.5 //God is alkaline + // Holy water. Mostly the same as water, it also heals the plant a little with the power of the spirits. Also ALSO increases instability. +/datum/reagent/water/holywater/on_hydroponics_apply(obj/item/seeds/myseed, datum/reagents/chems, obj/machinery/hydroponics/mytray) + if(chems.has_reagent(src.type, 1)) + mytray.adjustWater(round(chems.get_reagent_amount(src.type) * 1)) + mytray.adjustHealth(round(chems.get_reagent_amount(src.type) * 0.1)) + if(myseed) + myseed.adjust_instability(round(chems.get_reagent_amount(src.type) * 0.15)) + /datum/reagent/water/holywater/on_mob_metabolize(mob/living/L) . = ..() ADD_TRAIT(L, TRAIT_HOLY, type) @@ -414,6 +426,13 @@ qdel(R) T.Bless() +/datum/reagent/water/holywater/on_hydroponics_apply(obj/item/seeds/myseed, datum/reagents/chems, obj/machinery/hydroponics/mytray) + . = ..() + mytray.adjustWater(round(chems.get_reagent_amount(src.type) * 1)) + mytray.adjustHealth(round(chems.get_reagent_amount(src.type) * 0.1)) + if(myseed) + myseed.adjust_instability(round(chems.get_reagent_amount(src.type) * 0.15)) + /datum/reagent/fuel/unholywater //if you somehow managed to extract this from someone, dont splash it on yourself and have a smoke name = "Unholy Water" overdose_threshold = 150 //Same as normal water diff --git a/code/modules/research/designs/biogenerator_designs.dm b/code/modules/research/designs/biogenerator_designs.dm index 2cf9df6d50..bdaf39732f 100644 --- a/code/modules/research/designs/biogenerator_designs.dm +++ b/code/modules/research/designs/biogenerator_designs.dm @@ -77,6 +77,22 @@ make_reagents = list(/datum/reagent/plantnutriment/robustharvestnutriment = 10) category = list("initial","Botany Chemicals") +/datum/design/end_gro + name = "30u Enduro Grow" + id = "end_gro" + build_type = BIOGENERATOR + materials = list(/datum/material/biomass= 30) + make_reagents = list(/datum/reagent/plantnutriment/endurogrow = 30) + category = list("initial","Botany Chemicals") + +/datum/design/liq_earth + name = "30u Liquid Earthquake" + id = "liq_earth" + build_type = BIOGENERATOR + materials = list(/datum/material/biomass= 30) + make_reagents = list(/datum/reagent/plantnutriment/liquidearthquake = 30) + category = list("initial","Botany Chemicals") + /datum/design/weed_killer name = "Weed Killer" id = "weed_killer"