anchor.diff:  
   	if(inputting)
   		. += "smes-oc1"
  -	else
  -		if(input_attempt)
  -			. += "smes-oc0"
  +	else if(input_attempt)
  +		. += "smes-oc0"
   
   	var/clevel = chargedisplay()
   	if(clevel>0)
   		. += "smes-og[clevel]"
  +
   
   /obj/machinery/power/smes/proc/chargedisplay()
   	return clamp(round(5.5*charge/capacity),0,5)
  
positive.code: 		if("input")
  			var/target = params["target"]
  			var/adjust = text2num(params["adjust"])
  			if(target == "input")
  				target = input("New input target (0-[input_level_max]):", name, input_level) as num|null
  				if(!isnull(target) && !..())
  					. = TRUE
  			else if(target == "min")
  				target = 0
  				. = TRUE
  			else if(target == "max")
  
negative.code: 		log_game("[src] has been deconstructed by [key_name(user)] at [AREACOORD(src)]")
  		investigate_log("SMES deconstructed by [key_name(user)] at [AREACOORD(src)]", INVESTIGATE_SINGULO)
  		return
  	else if(panel_open && I.tool_behaviour == TOOL_CROWBAR)
  		return
  
  	return ..()
  
  /obj/machinery/power/smes/wirecutter_act(mob/living/user, obj/item/I)
  	//disassembling the terminal
  	. = ..()
  	if(terminal && panel_open)
  		terminal.dismantle(user, I)
  		return TRUE
  