diff --git a/code/modules/hydroponics/hydroponics.dm b/code/modules/hydroponics/hydroponics.dm index e6c37ea39f4..1f63b52ed03 100644 --- a/code/modules/hydroponics/hydroponics.dm +++ b/code/modules/hydroponics/hydroponics.dm @@ -615,11 +615,11 @@ // Saltpetre is used for gardening IRL, to simplify highly, it speeds up growth and strengthens plants if(S.has_reagent("saltpetre", 1)) - adjustHealth(round(S.get_reagent_amount("saltpetre") * 0.25)) - if(myseed) - myseed.adjust_production(-round(S.get_reagent_amount("saltpetre") * 0.01)) - myseed.adjust_potency(round(S.get_reagent_amount("saltpetre") * 0.05)) - + var/salt = S.get_reagent_amount("saltpetre") + adjustHealth(round(salt * 0.25)) + if (myseed) + myseed.adjust_production(-round(salt/100)-prob(salt%100)) + myseed.adjust_potency(round(salt*0.15)) // Ash is also used IRL in gardening, as a fertilizer enhancer and weed killer if(S.has_reagent("ash", 1)) adjustHealth(round(S.get_reagent_amount("ash") * 0.25))