From 0919737c21c72c44983606046a6d765d39038ccd Mon Sep 17 00:00:00 2001 From: Timothy Teakettle <59849408+timothyteakettle@users.noreply.github.com> Date: Fri, 3 Apr 2020 13:23:24 +0100 Subject: [PATCH] fixes shadow emission (#11713) --- code/modules/hydroponics/plant_genes.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/hydroponics/plant_genes.dm b/code/modules/hydroponics/plant_genes.dm index b3ec36e0bb..bf8aa888cc 100644 --- a/code/modules/hydroponics/plant_genes.dm +++ b/code/modules/hydroponics/plant_genes.dm @@ -301,6 +301,9 @@ rate = 0.04 glow_color = "#AAD84B" +/datum/plant_gene/trait/glow/shadow/glow_power(obj/item/seeds/S) + return -max(S.potency*(rate*0.2), 0.2) + /datum/plant_gene/trait/glow/white name = "White Bioluminescence" glow_color = "#FFFFFF"