anchor.diff:  	var/odir = turn(dir,180)
   	var/turf/T = loc
   
  -	assembled = 0
  +	assembled = FALSE
   	critical_machine = FALSE
   
   	var/obj/structure/particle_accelerator/fuel_chamber/F = locate() in orange(1,src)
   	if(!F)
  -		return 0
  +		return FALSE
   
   	setDir(F.dir)
   	connected_parts.Cut()
   
   	T = get_step(T,rdir)
   	if(!check_part(T, /obj/structure/particle_accelerator/fuel_chamber))
  -		return 0
  +		return FALSE
   	T = get_step(T,odir)
   	if(!check_part(T, /obj/structure/particle_accelerator/end_cap))
  -		return 0
  +		return FALSE
   	T = get_step(T,dir)
   	T = get_step(T,dir)
   	if(!check_part(T, /obj/structure/particle_accelerator/power_box))
  -		return 0
  +		return FALSE
   	T = get_step(T,dir)
   	if(!check_part(T, /obj/structure/particle_accelerator/particle_emitter/center))
  -		return 0
  +		return FALSE
   	T = get_step(T,ldir)
   	if(!check_part(T, /obj/structure/particle_accelerator/particle_emitter/left))
  -		return 0
  +		return FALSE
   	T = get_step(T,rdir)
   	T = get_step(T,rdir)
   	if(!check_part(T, /obj/structure/particle_accelerator/particle_emitter/right))
  -		return 0
  -
  -	assembled = 1
  +		return FALSE
  +
  +	assembled = TRUE
   	critical_machine = TRUE	//Only counts if the PA is actually assembled.
  -	return 1
  +	return TRUE
   
   /obj/machinery/particle_accelerator/control_box/proc/check_part(turf/T, type)
   	var/obj/structure/particle_accelerator/PA = locate(/obj/structure/particle_accelerator) in T
   	if(istype(PA, type) && (PA.construction_state == PA_CONSTRUCTION_COMPLETE))
   		if(PA.connect_master(src))
   			connected_parts.Add(PA)
  -			return 1
  -	return 0
  +			return TRUE
  +	return FALSE
   
   
   /obj/machinery/particle_accelerator/control_box/proc/toggle_power()
  
positive.code: 	QDEL_NULL(wires)
  	return ..()
  
  /obj/machinery/particle_accelerator/control_box/attack_hand(mob/user)
  	. = ..()
  	if(.)
  		return
  	if(construction_state == PA_CONSTRUCTION_COMPLETE)
  		interact(user)
  	else if(construction_state == PA_CONSTRUCTION_PANEL_OPEN)
  		wires.interact(user)
  
  /obj/machinery/particle_accelerator/control_box/proc/update_state()
  	if(construction_state < PA_CONSTRUCTION_COMPLETE)
  		use_power = NO_POWER_USE
  		assembled = 0
  		active = 0
  		for(var/CP in connected_parts)
  			var/obj/structure/particle_accelerator/part = CP
  			part.strength = null
  			part.powered = 0
  			part.update_icon()
  		connected_parts.Cut()
  		return
  	if(!part_scan())
  		use_power = IDLE_POWER_USE
  		active = 0
  		connected_parts.Cut()
  
  /obj/machinery/particle_accelerator/control_box/update_icon()
  
negative.code: /obj/machinery/particle_accelerator/control_box/power_change()
  	..()
  	if(stat & NOPOWER)
  		active = FALSE
  		use_power = NO_POWER_USE
  	else if(!stat && construction_state == PA_CONSTRUCTION_COMPLETE)
  		use_power = IDLE_POWER_USE
  