Fixes kudzu loosing mutations on harvest (#20662)

* Fixes kudzu loosing mutations on harvest

Fixes kudzu loosing mutations on harvest

* . = ..()

. = ..()
This commit is contained in:
Razharas
2016-09-25 20:50:53 +03:00
committed by phil235
parent 70ff2a9355
commit edbd1bc965
+11
View File
@@ -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 << "<span class='notice'>You plant the kudzu. You monster.</span>"