anchor.diff:  
   	default_deconstruction_crowbar(I)
   
  -	if(panel_open)
  -		if(istype(I, /obj/item/device/multitool))
  -			var/obj/item/device/multitool/MT = I
  -			MT.buffer = src
  -			user << "<span class='notice'>You download the data from the [name] to [MT.name].</span>"
  -
   /obj/machinery/computer/mech_bay_power_console
   	name = "mech bay power control console"
   	density = 1
  
positive.code: 		return
  	if(!recharging_mech)
  		recharging_mech = locate(/obj/mecha) in recharging_turf
  	if(recharging_mech && recharging_mech.cell)
  		if(recharging_mech.cell.charge < recharging_mech.cell.maxcharge)
  			var/delta = min(max_charge, recharging_mech.cell.maxcharge - recharging_mech.cell.charge)
  			recharging_mech.give_power(delta)
  			use_power(delta*150)
  		if(recharging_mech.loc != recharging_turf)
  			recharging_mech = null
  
  
  /obj/machinery/mech_bay_recharge_port/attackby(obj/item/I, mob/user)
  
negative.code: 	circuit = /obj/item/weapon/circuitboard/mech_bay_power_console
  	var/obj/machinery/mech_bay_recharge_port/recharge_port
  
  /obj/machinery/computer/mech_bay_power_console/attack_ai(mob/user)
  	return interact(user)
  
  /obj/machinery/computer/mech_bay_power_console/attack_hand(mob/user)
  	if(..())
  		return
  	interact(user)
  
  /obj/machinery/computer/mech_bay_power_console/interact(mob/user)
  	var/data
  	if(!recharge_port)
  		data += "<div class='statusDisplay'>No recharging port detected.</div><BR>"
  		data += "<A href='?src=\ref[src];reconnect=1'>Reconnect</A>"
  	else
  		data += "<h3>Mech status</h3>"
  		if(!recharge_port.recharging_mech)
  			data += "<div class='statusDisplay'>No mech detected.</div>"
  		else
  			data += "<div class='statusDisplay'>Integrity: [recharge_port.recharging_mech.health]<BR>"
  			data += "Power: [recharge_port.recharging_mech.cell.charge]/[recharge_port.recharging_mech.cell.maxcharge]</div>"
  
  	var/datum/browser/popup = new(user, "mech recharger", name, 300, 300)
  	popup.set_content(data)
  	popup.open()
  	return
  
  /obj/machinery/computer/mech_bay_power_console/Topic(href, href_list)
  	if(..())
  		return
  	if(href_list["reconnect"])
  		reconnect()
  	updateUsrDialog()
  
  /obj/machinery/computer/mech_bay_power_console/proc/reconnect()
  	if(recharge_port)
  		return
  	recharge_port = locate(/obj/machinery/mech_bay_recharge_port) in range(1)
  	if(!recharge_port )
  		for(var/D in cardinal)
  			var/turf/A = get_step(src, D)
  			A = get_step(A, D)
  			recharge_port = locate(/obj/machinery/mech_bay_recharge_port) in A
  			if(recharge_port)
  				break
  	if(recharge_port)
  		if(!recharge_port.recharge_console)
  			recharge_port.recharge_console = src
  		else
  			recharge_port = null
  
  /obj/machinery/computer/mech_bay_power_console/process()
  	if(recharge_port && recharge_port.recharging_mech && recharge_port.recharging_mech.cell)
  		updateDialog()
  
  
  /obj/machinery/computer/mech_bay_power_console/update_icon()
  	if(!recharge_port || !recharge_port.recharging_mech || !recharge_port.recharging_mech.cell || !(recharge_port.recharging_mech.cell.charge < recharge_port.recharging_mech.cell.maxcharge))
  		icon_state = "recharge_comp"
  	else
  		icon_state = "recharge_comp_on"
  
  /obj/machinery/computer/mech_bay_power_console/initialize()
  	reconnect()