From d7644adb8c7d851d24371dc885e381f9ff00e27d Mon Sep 17 00:00:00 2001 From: DragonTrance Date: Sun, 21 Feb 2021 21:10:33 -0700 Subject: [PATCH] hopefully fix --- code/modules/hydroponics/hydro_chemreact.dm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/code/modules/hydroponics/hydro_chemreact.dm b/code/modules/hydroponics/hydro_chemreact.dm index 7c89909a..d7b51194 100644 --- a/code/modules/hydroponics/hydro_chemreact.dm +++ b/code/modules/hydroponics/hydro_chemreact.dm @@ -1,4 +1,13 @@ /obj/machinery/hydroponics/proc/applyChemicals(datum/reagents/S, mob/user) + + // Ambrosia Gaia produces earthsblood. + if(S.has_reagent(/datum/reagent/medicine/earthsblood)) + self_sufficiency_progress += S.get_reagent_amount(/datum/reagent/medicine/earthsblood) + if(self_sufficiency_progress >= self_sufficiency_req) + become_self_sufficient() + else if(!self_sustaining) + to_chat(user, "[src] warms as it might on a spring day under a genuine Sun.") + if(!myseed) return myseed.on_chem_reaction(S) //In case seeds have some special interactions with special chems, currently only used by vines @@ -72,14 +81,6 @@ else to_chat(user, "The plants don't seem to react...") - // Ambrosia Gaia produces earthsblood. - if(S.has_reagent(/datum/reagent/medicine/earthsblood)) - self_sufficiency_progress += S.get_reagent_amount(/datum/reagent/medicine/earthsblood) - if(self_sufficiency_progress >= self_sufficiency_req) - become_self_sufficient() - else if(!self_sustaining) - to_chat(user, "[src] warms as it might on a spring day under a genuine Sun.") - // Antitoxin binds shit pretty well. So the tox goes significantly down if(S.has_reagent(/datum/reagent/medicine/charcoal, 1)) adjustToxic(-round(S.get_reagent_amount(/datum/reagent/medicine/charcoal) * 2))