anchor.diff:  		else
   			to_chat(user, "<span class='warning'>[src] has both electronics and a cell.</span>")
   			return
  -
  -	else if (istype(W, /obj/item/weldingtool) && opened && has_electronics==0 && !terminal)
  -		if(!W.tool_start_check(user, amount=3))
  -			return
  -		user.visible_message("[user.name] welds [src].", \
  -							"<span class='notice'>You start welding the APC frame...</span>", \
  -							"<span class='italics'>You hear welding.</span>")
  -		if(W.use_tool(src, user, 50, volume=50, amount=3))
  -			if ((stat & BROKEN) || opened==2)
  -				new /obj/item/stack/sheet/metal(loc)
  -				user.visible_message(\
  -					"[user.name] has cut [src] apart with [W].",\
  -					"<span class='notice'>You disassembled the broken APC frame.</span>")
  -			else
  -				new /obj/item/wallframe/apc(loc)
  -				user.visible_message(\
  -					"[user.name] has cut [src] from the wall with [W].",\
  -					"<span class='notice'>You cut the APC frame from the wall.</span>")
  -			qdel(src)
  -			return
  -
   	else if (istype(W, /obj/item/wallframe/apc) && opened)
  -		if (!(stat & BROKEN || opened==2 || obj_integrity < max_integrity)) // There is nothing to repair
  +		if (!(stat & BROKEN || opened==APC_COVER_REMOVED || obj_integrity < max_integrity)) // There is nothing to repair
   			to_chat(user, "<span class='warning'>You found no reason for repairing this APC</span>")
   			return
  -		if (!(stat & BROKEN) && opened==2) // Cover is the only thing broken, we do not need to remove elctronicks to replace cover
  +		if (!(stat & BROKEN) && opened==APC_COVER_REMOVED) // Cover is the only thing broken, we do not need to remove elctronicks to replace cover
   			user.visible_message("[user.name] replaces missing APC's cover.",\
   							"<span class='notice'>You begin to replace APC's cover...</span>")
   			if(do_after(user, 20, target = src)) // replacing cover is quicker than replacing whole frame
   				to_chat(user, "<span class='notice'>You replace missing APC's cover.</span>")
   				qdel(W)
  -				opened = 1
  +				opened = APC_COVER_OPENED
   				update_icon()
   			return
   		if (has_electronics)
  
positive.code: 			pixel_x = -25
  	if (building)
  		area = get_area(src)
  		opened = 1
  		operating = FALSE
  		name = "[area.name] APC"
  		stat |= MAINT
  
negative.code: 		if (host_turf.intact)
  			to_chat(user, "<span class='warning'>You must remove the floor plating in front of the APC first!</span>")
  			return
  		else if (terminal)
  			to_chat(user, "<span class='warning'>This APC is already wired!</span>")
  			return
  		else if (!has_electronics)
  			to_chat(user, "<span class='warning'>There is nothing to wire!</span>")
  			return
  
  