From 342fd1d7faf8d343b5d25f333bd0eb63d885e201 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Wed, 23 Aug 2017 15:46:54 -0500 Subject: [PATCH] Alternative To Removing Kudzu Manufacturing (#30080) --- code/modules/events/spacevine.dm | 37 ------------------------- code/modules/hydroponics/grown/kudzu.dm | 6 ++-- 2 files changed, 4 insertions(+), 39 deletions(-) diff --git a/code/modules/events/spacevine.dm b/code/modules/events/spacevine.dm index 5fe3d018fb..1feb7aa116 100644 --- a/code/modules/events/spacevine.dm +++ b/code/modules/events/spacevine.dm @@ -69,43 +69,6 @@ return -/datum/spacevine_mutation/space_covering - name = "space protective" - hue = "#aa77aa" - quality = POSITIVE - -/datum/spacevine_mutation/space_covering - var/static/list/coverable_turfs - -/datum/spacevine_mutation/space_covering/New() - . = ..() - if(!coverable_turfs) - coverable_turfs = typecacheof(list(/turf/open/space)) - /turf/open/space/transit - -/datum/spacevine_mutation/space_covering/on_grow(obj/structure/spacevine/holder) - process_mutation(holder) - -/datum/spacevine_mutation/space_covering/process_mutation(obj/structure/spacevine/holder) - var/turf/T = get_turf(holder) - if(is_type_in_typecache(T, coverable_turfs)) - var/currtype = T.type - T.ChangeTurf(/turf/open/floor/vines) - T.baseturf = currtype - -/datum/spacevine_mutation/space_covering/on_death(obj/structure/spacevine/holder) - var/turf/T = get_turf(holder) - if(istype(T, /turf/open/floor/vines)) - T.ChangeTurf(T.baseturf) - -/datum/spacevine_mutation/bluespace - name = "bluespace" - hue = "#3333ff" - quality = MINOR_NEGATIVE - -/datum/spacevine_mutation/bluespace/on_spread(obj/structure/spacevine/holder, turf/target) - if(holder.energy > 1 && !locate(/obj/structure/spacevine) in target) - holder.master.spawn_spacevine_piece(target, holder) - /datum/spacevine_mutation/light name = "light" hue = "#ffff00" diff --git a/code/modules/hydroponics/grown/kudzu.dm b/code/modules/hydroponics/grown/kudzu.dm index ad32be14d5..3667b98792 100644 --- a/code/modules/hydroponics/grown/kudzu.dm +++ b/code/modules/hydroponics/grown/kudzu.dm @@ -42,8 +42,10 @@ qdel(src) /obj/item/seeds/kudzu/attack_self(mob/user) - plant(user) - to_chat(user, "You plant the kudzu. You monster.") + user.visible_message("[user] begins throwing seeds on the ground...") + if(do_after(user, 50, needhand = TRUE, target = user.drop_location(), progress = TRUE)) + plant(user) + to_chat(user, "You plant the kudzu. You monster.") /obj/item/seeds/kudzu/get_analyzer_text() var/text = ..()