anchor.diff:  					var/tp = text2num(href_list["tp"])
   					src.time += tp
   					src.time = min(max(round(src.time), 0), 600)
  +					for(var/obj/machinery/door/window/brigdoor/M in world)
  +						if (M.id == src.id)
  +							if(!M.density)
  +								spawn( 0 )
  +									M.close()
   			if (href_list["fc"])
   				if(src.allowed(usr))
   					for (var/obj/machinery/flasher/F in world)
  
positive.code: 			if(M.density)
  				spawn( 0 )
  					M.open()
  			else
  				spawn( 0 )
  					M.close()
  	src.updateUsrDialog()
  	return
  
  /obj/machinery/computer/door_control/attack_ai(var/mob/user as mob)
  	return src.attack_hand(user)
  
  /obj/machinery/computer/door_control/attack_paw(var/mob/user as mob)
  	return src.attack_hand(user)
  
  /obj/machinery/computer/door_control/attack_hand(var/mob/user as mob)
  	if(..())
  		return
  
negative.code: 		src.update_icon()
  	return
  
  //icon update function
  // if NOPOWER, display blank
  // if BROKEN, display blue screen of death icon AI uses
  // if timing=true, run update display function
  /obj/machinery/door_timer/proc/update_icon()
  	var/disp1
  	oview() << id
  	disp1 = "[add_zero(num2text((time / 60) % 60),2)]~[add_zero(num2text(time % 60), 2)]"
  	if(stat & (NOPOWER))
  		icon_state = "frame"
  		return
  	else
  		if(stat & (BROKEN))
  			set_picture("ai_bsod")
  			return
  		else
  			if(src.timing)
  				spawn( 5 )
  					update_display(id, disp1)
  			else
  				spawn( 5 )
  				update_display(id, null)
  
  
  // Adds an icon in case the screen is broken/off, stolen from status_display.dm
  /obj/machinery/door_timer/proc/set_picture(var/state)
  	picture_state = state
  	overlays = null
  	overlays += image('status_display.dmi', icon_state=picture_state)
  
  //Checks to see if there's 1 line or 2, adds text-icons-numbers/letters over display
  // Stolen from status_display
  /obj/machinery/door_timer/proc/update_display(var/line1, var/line2)
  	if(line2 == null)		// single line display
  		overlays = null
  		overlays += texticon(line1, 23, -13)
  	else					// dual line display
  		overlays = null
  		overlays += texticon(line1, 23, -9)
  		overlays += texticon(line2, 23, -17)
  	// return an icon of a time text string (tn)
  	// valid characters are 0-9 and :
  	// px, py are pixel offsets
  
  //Actual string input to icon display for loop, with 5 pixel x offsets for each letter.
  //Stolen from status_display
  /obj/machinery/door_timer/proc/texticon(var/tn, var/px = 0, var/py = 0)
  	var/image/I = image('status_display.dmi', "blank")
  	var/len = lentext(tn)
  
  	for(var/d = 1 to len)
  		var/char = copytext(tn, len-d+1, len-d+2)
  		if(char == " ")
  			continue
  		var/image/ID = image('status_display.dmi', icon_state=char)
  		ID.pixel_x = -(d-1)*5 + px
  		ID.pixel_y = py
  
  		I.overlays += ID
  
  	return I
  
  
  