anchor.diff:  	var/deconwindowdelay = 50
   	var/deconairlockdelay = 50
   
  +	var/no_ammo_message = ""
  +
  +/obj/item/weapon/rcd/New()
  +	..()
  +	no_ammo_message = "<span class='warning'>The \'Low Ammo\' light on \the [src] blinks yellow.</span>"
  +
   /obj/item/weapon/rcd/suicide_act(mob/user)
   	user.visible_message("<span class='suicide'>[user] sets the RCD to 'Wall' and points it down \his throat! It looks like \he's trying to commit suicide..</span>")
   	return (BRUTELOSS)
  
positive.code: 
  /obj/item/weapon/rcd/proc/useResource(amount, mob/user)
  	if(matter < amount)
  		return 0
  	matter -= amount
  	desc = "An RCD. It currently holds [matter]/[max_matter] matter-units."
  	return 1
  
  /obj/item/weapon/rcd/proc/checkResource(amount, mob/user)
  	return matter >= amount
  
  /obj/item/weapon/rcd/proc/detonate_pulse()
  	audible_message("<span class='danger'><b>[src] begins to vibrate and \
  
negative.code: 	qdel(src)
  
  
  /obj/item/weapon/rcd/borg/New()
  	..()
  	no_ammo_message = "<span class='warning'>Insufficient charge.</span>"
  	desc = "A device used to rapidly build walls and floors."
  	canRturf = 1
  
  /obj/item/weapon/rcd/borg/useResource(amount, mob/user)
  	if(!isrobot(user))
  		return 0
  	var/mob/living/silicon/robot/borgy = user
  	if(!borgy.cell)
  		if(user)
  			user << no_ammo_message
  		return 0
  	. = borgy.cell.use(amount * 72) //borgs get 1.3x the use of their RCDs
  	if(!. && user)
  		user << no_ammo_message
  	return .
  
  /obj/item/weapon/rcd/borg/checkResource(amount, mob/user)
  	if(!isrobot(user))
  		return 0
  	var/mob/living/silicon/robot/borgy = user
  	if(!borgy.cell)
  		if(user)
  			user << no_ammo_message
  		return 0
  	. = borgy.cell.charge >= (amount * 72)
  	if(!. && user)
  		user << no_ammo_message
  	return .
  
  /obj/item/weapon/rcd/loaded
  	matter = 160
  