anchor.diff:  			return
   		powerpack.loc = get_turf(user)
   		powerpack = null
  -		hascell = 0
   		if(wiredtoground == 0)
   			turnoff()
  -		icon_state = "floodlight[status]_hatchopen[hascell]"
  +		icon_state = "floodlight[status]_hatchopen[(powerpack ? 1 : 0)]"
   		user << "<span class='notice'>You remove the cell from the [src]</span>"
   		return
   	else
  
positive.code: 					user << "<span class='danger'>The [src] has no power source installed!</span>"
  					return
  			else
  				if(surplus() < 40 && hascell == 1)
  					if(powerpack.charge <= 0)
  						user << "<span class='danger'>The powernet is empty and the power source is drained!</span>"
  						return
  				if(surplus() < 40 && hascell == 0)
  					user << "<span class='danger'>The powernet is empty and there is no power source!</span>"
  					return
  
  
negative.code: 			turnon()
  			icon_state = "floodlight[status]_hatchclose"
  			return
  	if(cover == 0 && !powerpack)
  		user << "<span class='danger'>The maintenance hatch is open!</span>"
  		return
  
  