anchor.diff:  	else
   		return 0
   
  -/obj/item/device/lightreplacer/cyborg
  +/obj/item/device/lightreplacer/afterattack(atom/T, mob/U, proximity)
  +	if(!proximity)
  +		return
  +	if(!isturf(T))
  +		return
  +
  +	var/used = FALSE
  +	for(var/atom/A in T)
  +		if(!CanUse(U))
  +			break
  +		used = TRUE
  +		if(istype(A, /obj/machinery/light))
  +			ReplaceLight(A, U)
  +
  +	if(!used)
  +		U << failmsg
   
   /obj/item/device/lightreplacer/proc/janicart_insert(mob/user, obj/structure/janitorialcart/J)
   	J.put_in_cart(src, user)
  
positive.code: /obj/item/device/lightreplacer
  
  	name = "light replacer"
  	desc = "A device to automatically replace lights. Refill with working lightbulbs."
  
  	icon = 'icons/obj/janitor.dmi'
  	icon_state = "lightreplacer0"
  
negative.code: 	var/decrement = 1
  	var/charge = 1
  
  	// Eating used bulbs gives us bulb shards
  	var/bulb_shards = 0
  	// when we get this many shards, we get a free bulb.
  	var/shards_required = 4
  
  /obj/item/device/lightreplacer/New()
  	uses = max_uses / 2
  	failmsg = "The [name]'s refill light blinks red."
  