From 4e35c49b11354448cfe6f37f869e928b7befff75 Mon Sep 17 00:00:00 2001 From: kingofkosmos Date: Fri, 9 Oct 2015 23:38:33 +0300 Subject: [PATCH 1/2] Changes seeing the cloning pod's percentage from attack_hand to examine. --- code/game/machinery/cloning.dm | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/code/game/machinery/cloning.dm b/code/game/machinery/cloning.dm index c2613b9a80c..d7f9edd5656 100644 --- a/code/game/machinery/cloning.dm +++ b/code/game/machinery/cloning.dm @@ -109,11 +109,10 @@ src.healthstring = "ERROR" return src.healthstring -/obj/machinery/clonepod/attack_ai(mob/user) - return attack_hand(user) -/obj/machinery/clonepod/attack_paw(mob/user) - return attack_hand(user) -/obj/machinery/clonepod/attack_hand(mob/user) +//Clonepod + +/obj/machinery/clonepod/examine(mob/user) + ..() if (isnull(src.occupant) || !is_operational()) return if ((!isnull(src.occupant)) && (src.occupant.stat != 2)) @@ -121,9 +120,8 @@ user << "Current clone cycle is [round(completion)]% complete." return -//Clonepod - //Start growing a human clone in the pod! + /obj/machinery/clonepod/proc/growclone(ckey, clonename, ui, se, mindref, datum/species/mrace, list/features, factions) if(panel_open) return 0 From 37a3ba2f8fb640d0b8fa5e354766f1c85ea5d24c Mon Sep 17 00:00:00 2001 From: kingofkosmos Date: Sat, 10 Oct 2015 09:31:35 +0300 Subject: [PATCH 2/2] Enables AI to examine cloning pod. --- code/game/machinery/cloning.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/game/machinery/cloning.dm b/code/game/machinery/cloning.dm index d7f9edd5656..2ef37f81d3e 100644 --- a/code/game/machinery/cloning.dm +++ b/code/game/machinery/cloning.dm @@ -120,8 +120,10 @@ user << "Current clone cycle is [round(completion)]% complete." return -//Start growing a human clone in the pod! +/obj/machinery/clonepod/attack_ai(mob/user) + return examine(user) +//Start growing a human clone in the pod! /obj/machinery/clonepod/proc/growclone(ckey, clonename, ui, se, mindref, datum/species/mrace, list/features, factions) if(panel_open) return 0