anchor.diff:  	name = "secure hydroponics crate"
   	icon_crate = "hydrosecurecrate"
   	icon_state = "hydrosecurecrate"
  -
  -/obj/structure/closet/crate/secure/New()
  -	..()
   	
   /obj/structure/closet/crate/secure/update_icon()
   	..()
   	if(locked)
   		overlays += redlight
  +	else if(broken)
  +		overlays += emag
   	else
   		overlays += greenlight
   
  
positive.code: 	if(!broken && !opened  && prob(50/severity))
  		if(!locked)
  			src.locked = 1
  			overlays.Cut()
  			overlays += redlight
  		else
  			overlays.Cut()
  			overlays += emag
  			overlays += sparks
  			spawn(6) overlays -= sparks //Tried lots of stuff but nothing works right. so i have to use this *sadface*
  			playsound(src.loc, 'sound/effects/sparks4.ogg', 75, 1)
  			src.locked = 0
  	if(!opened && prob(20/severity))
  		if(!locked)
  			open()
  
negative.code: 
  /obj/structure/closet/crate/secure/emag_act(mob/user as mob)
  	if(locked && !broken)
  		src.locked = 0
  		src.broken = 1
  		update_icon()
  		overlays += sparks
  		spawn(6) overlays -= sparks //Tried lots of stuff but nothing works right. so i have to use this *sadface*
  		playsound(src.loc, "sparks", 60, 1)
  		user << "<span class='notice'>You unlock \the [src].</span>"
  		add_fingerprint(user)
  
  