From 2f4aee202123c59635629c809c7b389414bb6754 Mon Sep 17 00:00:00 2001 From: theo-3 <85434590+theo-3@users.noreply.github.com> Date: Sat, 24 Jul 2021 09:45:35 +0300 Subject: [PATCH] Make variants show up on growns This will make growns with different variants be separate in a plant bag --- code/modules/hydroponics/grown.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/hydroponics/grown.dm b/code/modules/hydroponics/grown.dm index a69e2da495e..1438f70a6d7 100644 --- a/code/modules/hydroponics/grown.dm +++ b/code/modules/hydroponics/grown.dm @@ -42,6 +42,8 @@ seed.prepare_result(src) transform *= TRANSFORM_USING_VARIABLE(seed.potency, 100) + 0.5 //Makes the resulting produce's sprite larger or smaller based on potency! add_juice() + if(seed.variant && seed.variant != "") + name += " \[[seed.variant]]" /obj/item/reagent_containers/food/snacks/grown/Destroy() QDEL_NULL(seed)