anchor.diff:  			if(src.check_access(bot.botcard))
   				open_and_close()
   			else
  -				flick(text("[]deny", src.base_state), src)
  +				flick("[src.base_state]deny", src)
   		else if(istype(AM, /obj/mecha))
   			var/obj/mecha/mecha = AM
   			if(mecha.occupant && src.allowed(mecha.occupant))
   				open_and_close()
   			else
  -				flick(text("[]deny", src.base_state), src)
  +				flick("[src.base_state]deny", src)
   		return
   	if (!( ticker ))
   		return
  
positive.code: 	if(allowed(user))
  		open_and_close()
  	else
  		flick(text("[]deny", src.base_state), src)
  	return
  
  /obj/machinery/door/window/CanPass(atom/movable/mover, turf/target, height=0)
  
negative.code: 			return 0
  	if(!src.operating) //in case of emag
  		src.operating = 1
  	flick("[src.base_state]opening", src)
  	playsound(src.loc, 'sound/machines/windowdoor.ogg', 100, 1)
  	src.icon_state ="[src.base_state]open"
  	sleep(10)
  
  	explosion_resistance = 0
  