From 14cbe4d2aecbbff96b4a22675e540d3e039f31a1 Mon Sep 17 00:00:00 2001 From: ATH1909 <42606352+ATH1909@users.noreply.github.com> Date: Tue, 9 Jun 2020 19:47:36 -0500 Subject: [PATCH] Corrects a formula in a comment (#51518) --- code/modules/hydroponics/seeds.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/hydroponics/seeds.dm b/code/modules/hydroponics/seeds.dm index cb4d6eead87..0e82618d2bc 100644 --- a/code/modules/hydroponics/seeds.dm +++ b/code/modules/hydroponics/seeds.dm @@ -49,7 +49,7 @@ var/list/reagents_add // Format: "reagent_id" = potency multiplier // Stronger reagents must always come first to avoid being displaced by weaker ones. - // Total amount of any reagent in plant is calculated by formula: 1 + round(potency * multiplier) + // Total amount of any reagent in plant is calculated by formula: max(round(potency * multiplier), 1) ///If the chance below passes, then this many weeds sprout during growth var/weed_rate = 1 ///Percentage chance per tray update to grow weeds