From 0869957caea04937f63a916edb3b80d7745c8b54 Mon Sep 17 00:00:00 2001 From: uporotiy Date: Sat, 30 Apr 2011 19:31:46 +0000 Subject: [PATCH] Hydroponics Hotfix for ckey of ghosting corpses not transferring. Tweaking longevity and growth speed. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1512 316c924e-a436-60f5-8080-3fe189b3f50e --- code/defines/obj/hydro.dm | 6 +++--- code/game/machinery/hydroponics.dm | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/code/defines/obj/hydro.dm b/code/defines/obj/hydro.dm index 6e21fd21a07..53c6818ac87 100644 --- a/code/defines/obj/hydro.dm +++ b/code/defines/obj/hydro.dm @@ -57,10 +57,10 @@ species = "replicapod" plantname = "Replica pod" productname = "/mob/living/carbon/human" //verrry special -- Urist - lifespan = 25 //no idea what those do + lifespan = 50 //no idea what those do endurance = 8 - maturation = 12 - production = 12 + maturation = 10 + production = 10 yield = 1 //seeds if there isn't a dna inside oneharvest = 1 potency = 30 diff --git a/code/game/machinery/hydroponics.dm b/code/game/machinery/hydroponics.dm index dbc24a699b5..81100a2f790 100644 --- a/code/game/machinery/hydroponics.dm +++ b/code/game/machinery/hydroponics.dm @@ -851,7 +851,10 @@ obj/machinery/hydroponics/attackby(var/obj/item/O as obj, var/mob/user as mob) //ui = bloodSample.data["blood_dna"] doesn't work for whatever reason ui = source.dna.uni_identity se = source.dna.struc_enzymes - ckey = source.ckey + if(source.ckey) + ckey = source.ckey + else if(source.mind) + ckey = ckey(source.mind.key) realName = source.real_name gender = source.gender