From 47ff98e4c54d59fc9ba3723c95399a89e480ed44 Mon Sep 17 00:00:00 2001 From: The0bserver Date: Fri, 25 Sep 2020 18:12:26 -0400 Subject: [PATCH] Adds examine text, removes old self sustain checks --- code/modules/hydroponics/hydroponics.dm | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/code/modules/hydroponics/hydroponics.dm b/code/modules/hydroponics/hydroponics.dm index 54a44110e3..6226f97b9f 100644 --- a/code/modules/hydroponics/hydroponics.dm +++ b/code/modules/hydroponics/hydroponics.dm @@ -57,9 +57,11 @@ /obj/machinery/hydroponics/constructable/examine(mob/user) . = ..() + . += "Use Ctrl-Click to activate autogrow. Alt-Click to empty the tray's nutrients." if(in_range(user, src) || isobserver(user)) . += "The status display reads: Tray efficiency at [rating*100]%." + /obj/machinery/hydroponics/Destroy() if(myseed) qdel(myseed) @@ -315,19 +317,17 @@ else . += "It's empty." - if(!self_sustaining) - . += "Water: [waterlevel]/[maxwater]." - . += "Nutrient: [reagents.total_volume]/[maxnutri]." - if(self_sufficiency_progress > 0) - var/percent_progress = round(self_sufficiency_progress * 100 / self_sufficiency_req) - . += "Treatment for self-sustenance are [percent_progress]% complete." - else - . += "It doesn't require any water or nutrients." + . += "Water: [waterlevel]/[maxwater].\n"+\ + "Nutrient: [reagents.total_volume]/[maxnutri]." + if(self_sustaining) + . += "The tray's autogrow is active, halving active reagent drain, and actively maintaning the plant." if(weedlevel >= 5) - . += "It's filled with weeds!" + to_chat(user, "It's filled with weeds!") if(pestlevel >= 5) - . += "It's filled with tiny worms!" + to_chat(user, "It's filled with tiny worms!") + to_chat(user, "" ) + /obj/machinery/hydroponics/proc/weedinvasion() // If a weed growth is sufficient, this happens.