From edbd1bc9659adcea9d537c6464a46edcd8a26b41 Mon Sep 17 00:00:00 2001 From: Razharas Date: Sun, 25 Sep 2016 20:50:53 +0300 Subject: [PATCH] Fixes kudzu loosing mutations on harvest (#20662) * Fixes kudzu loosing mutations on harvest Fixes kudzu loosing mutations on harvest * . = ..() . = ..() --- code/modules/hydroponics/grown/kudzu.dm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/code/modules/hydroponics/grown/kudzu.dm b/code/modules/hydroponics/grown/kudzu.dm index c9f67b39589..8a4eac22d55 100644 --- a/code/modules/hydroponics/grown/kudzu.dm +++ b/code/modules/hydroponics/grown/kudzu.dm @@ -35,6 +35,17 @@ new /obj/effect/spacevine_controller(user.loc, mutations, potency, production) qdel(src) +/obj/item/seeds/kudzu/Copy() + var/obj/item/seeds/kudzu/KZ = ..() + KZ.mutations = mutations.Copy() + . = KZ + +/obj/item/seeds/kudzu/harvest(mob/user = usr) + . = ..() + for(var/A in .) + var/obj/item/weapon/reagent_containers/food/snacks/grown/kudzupod/KP = A + KP.seed = Copy() + /obj/item/seeds/kudzu/attack_self(mob/user) plant(user) user << "You plant the kudzu. You monster."