anchor.diff:  
   /obj/structure/closet/CanPass(atom/movable/mover, turf/target)
   	if(wall_mounted)
  -		return 1
  +		return TRUE
   	return !density
   
   /obj/structure/closet/proc/can_open(mob/living/user)
   	if(welded || locked)
  -		return 0
  +		return FALSE
   	var/turf/T = get_turf(src)
   	for(var/mob/living/L in T)
   		if(L.anchored || horizontal && L.mob_size > MOB_SIZE_TINY && L.density)
   			if(user)
   				to_chat(user, "<span class='danger'>There's something large on top of [src], preventing it from opening.</span>" )
  -			return 0
  -	return 1
  +			return FALSE
  +	return TRUE
   
   /obj/structure/closet/proc/can_close(mob/living/user)
   	var/turf/T = get_turf(src)
   	for(var/obj/structure/closet/closet in T)
   		if(closet != src && !closet.wall_mounted)
  -			return 0
  +			return FALSE
   	for(var/mob/living/L in T)
   		if(L.anchored || horizontal && L.mob_size > MOB_SIZE_TINY && L.density)
   			if(user)
   				to_chat(user, "<span class='danger'>There's something too large in [src], preventing it from closing.</span>")
  -			return 0
  -	return 1
  +			return FALSE
  +	return TRUE
   
   /obj/structure/closet/proc/dump_contents()
   	var/atom/L = drop_location()
  
positive.code: 
  /obj/structure/closet/proc/close(mob/living/user)
  	if(!opened || !can_close(user))
  		return 0
  	take_contents()
  	playsound(loc, close_sound, 15, 1, -3)
  	climb_time = initial(climb_time)
  	opened = FALSE
  	density = TRUE
  	update_icon()
  	return 1
  
  /obj/structure/closet/proc/toggle(mob/living/user)
  	if(opened)
  
negative.code: 						"<span class='warning'>You scramble [src]'s lock, breaking it open!</span>",
  						"<span class='italics'>You hear a faint electrical spark.</span>")
  		playsound(src, "sparks", 50, 1)
  		broken = TRUE
  		locked = FALSE
  		update_icon()
  
  