anchor.diff:  /obj/structure/closet/proc/dive_into(mob/living/user)
   	var/turf/T1 = get_turf(user)
   	var/turf/T2 = get_turf(src)
  -	if(!open() && !opened)
  -		togglelock(user, TRUE)
  -		if(!open())
  +	if(!opened)
  +		if(locked)
  +			togglelock(user, TRUE)
  +		if(!open(user))
   			to_chat(user, "<span class='warning'>It won't budge!</span>")
   			return
   	step_towards(user, T2)
   	T1 = get_turf(user)
   	if(T1 == T2)
   		user.resting = TRUE //so people can jump into crates without slamming the lid on their head
  -		if(!close())
  +		if(!close(user))
   			to_chat(user, "<span class='warning'>You can't get [src] to close!</span>")
   			user.resting = FALSE
   			return
  
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: /obj/structure/closet/proc/bust_open()
  	welded = FALSE //applies to all lockers
  	locked = FALSE //applies to critter crates and secure lockers only
  	broken = TRUE //applies to secure lockers only
  	open()
  
  /obj/structure/closet/AltClick(mob/user)
  