Make variants show up on growns

This will make growns with different variants be separate in a plant bag
This commit is contained in:
theo-3
2021-07-24 09:58:18 +03:00
parent c177cd3bf7
commit 2f4aee2021
+2
View File
@@ -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)