From fa32b631894f0335edb1598e78b0b894097dd0f9 Mon Sep 17 00:00:00 2001 From: Ergovisavi Date: Thu, 17 Jul 2014 21:50:47 -0700 Subject: [PATCH] Fixes issue #4185, Killer Tomatos will now spawn on the turf that the Killer Tomato plant exists in after the awakening process, stopping bizarre things like it spawning inside another mob or in a mech or other assorted silliness --- code/modules/hydroponics/grown.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/hydroponics/grown.dm b/code/modules/hydroponics/grown.dm index 8d5b43800b5..ab5112831d6 100644 --- a/code/modules/hydroponics/grown.dm +++ b/code/modules/hydroponics/grown.dm @@ -645,7 +645,7 @@ obj/item/weapon/reagent_containers/food/snacks/grown/shell/eggy/add_juice() return user << "You begin to awaken the Killer Tomato." sleep(30) - var/mob/living/simple_animal/hostile/killertomato/K = new /mob/living/simple_animal/hostile/killertomato(src.loc) + var/mob/living/simple_animal/hostile/killertomato/K = new /mob/living/simple_animal/hostile/killertomato(get_turf(src.loc)) K.maxHealth += round(endurance / 3) K.melee_damage_lower += round(potency / 10) K.melee_damage_upper += round(potency / 10)