From 21d724f5505e46c53605f8963fbf7108fa5d033f Mon Sep 17 00:00:00 2001 From: ArcaneMusic Date: Sun, 12 Jul 2020 18:59:46 -0400 Subject: [PATCH] Work's both ways. --- code/modules/hydroponics/plant_genes.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/modules/hydroponics/plant_genes.dm b/code/modules/hydroponics/plant_genes.dm index 34487fe512e..6726576e918 100644 --- a/code/modules/hydroponics/plant_genes.dm +++ b/code/modules/hydroponics/plant_genes.dm @@ -220,6 +220,11 @@ name = "Liquid Contents" examine_line = "It has a lot of liquid contents inside." +/datum/plant_gene/trait/squash/can_add(obj/item/seeds/S) + if(S.get_gene(/datum/plant_gene/trait/sticky)) + return FALSE + . = ..() + /datum/plant_gene/trait/squash/on_slip(obj/item/reagent_containers/food/snacks/grown/G, mob/living/carbon/C) // Squash the plant on slip. G.squash(C)