anchor.diff:  	if(locked)
   		user << "<span class='notice'>The crate is locked with a Deca-code lock.</span>"
   		var/input = input(usr, "Enter [codelen] digits.", "Deca-Code Lock", "") as text
  -		if(in_range(src, user))
  +		if(in_range(src, user) || !user.incapacitated)
   			if (input == code)
   				user << "<span class='notice'>The crate unlocks!</span>"
   				locked = 0
  
positive.code: 		if(57 to 58)
  			new /obj/item/toy/syndicateballoon(src)
  		if(59 to 60)
  			new /obj/item/weapon/bedsheet(src)
  			new /obj/item/weapon/kitchen/knife(src)
  			new /obj/item/weapon/wirecutters(src)
  			new /obj/item/weapon/screwdriver(src)
  			new /obj/item/weapon/weldingtool(src)
  			new /obj/item/weapon/hatchet(src)
  			new /obj/item/weapon/crowbar(src)
  		if(61 to 62)
  			for(var/i = 0, i < 12, ++i)
  				new /obj/item/clothing/head/kitty(src)
  
negative.code: 		code += dig
  		digits -= dig  //Player can enter codes with matching digits, but there are never matching digits in the answer
  
  	var/loot = rand(1,100) //100 different crates with varying chances of spawning
  	switch(loot)
  		if(1 to 5) //5% chance
  			new /obj/item/weapon/reagent_containers/food/drinks/bottle/rum(src)
  