anchor.diff:  	// And now, separately for cleanness, the lighting changing
   	if(update_state & UPSTATE_ALLGOOD)
   		switch(charging)
  -			if(0)
  +			if(APC_NOT_CHARGING)
   				light_color = LIGHT_COLOR_RED
  -			if(1)
  +			if(APC_CHARGING)
   				light_color = LIGHT_COLOR_BLUE
  -			if(2)
  +			if(APC_FULLY_CHARGED)
   				light_color = LIGHT_COLOR_GREEN
   		set_light(lon_range)
   	else if(update_state & UPSTATE_BLUESCREEN)
  
positive.code: #define APC_COVER_OPENED 1
  #define APC_COVER_REMOVED 2
  
  // the Area Power Controller (APC), formerly Power Distribution Unit (PDU)
  // one per area, needs wire connection to power network through a terminal
  
  
negative.code: 	var/equipment = 3
  	var/environ = 3
  	var/operating = TRUE
  	var/charging = APC_NOT_CHARGING
  	var/chargemode = 1
  	var/chargecount = 0
  	var/locked = TRUE
  