/datum/expansion/multitool/cryo/get_interact_window(var/obj/item/device/multitool/M, var/mob/user)
. += buffer(M)
. += "
Connected Cloning Pods:
"
var/obj/machinery/computer/cloning/C = holder
for(var/atom/cloning_pod in C.pods)
. += "[cloning_pod.name]
"
/datum/expansion/multitool/cryo/receive_buffer(var/obj/item/device/multitool/M, var/atom/buffer, var/mob/user)
var/obj/machinery/clonepod/P = buffer
var/obj/machinery/computer/cloning/C = holder
if(!istype(P))
to_chat(user, "No valid connection data in \the [M] buffer.")
return MT_NOACTION
var/is_connected = (P in C.pods)
if(!is_connected)
if(C.connect_pod(P))
to_chat(user, "You connect \the [P] to \the [C].")
else
to_chat(user, "You failed to connect \the [P] to \the [C].")
return MT_REFRESH
if(C.release_pod(P))
to_chat(user, "You disconnect \the [P] from \the [C].")
else
to_chat(user, "You failed to disconnect \the [P] from \the [C].")
return MT_REFRESH