anchor.diff:  			user.drop_item()
   			powerpack = I
   			I.forceMove(src)
  -			hascell = 1
  -			icon_state = "floodlight[status]_hatchopen[hascell]"
  +			icon_state = "floodlight[status]_hatchopen[(powerpack ? 1 : 0)]"
   			desc = "An industrial floodlight. It has [charge]% charge remaining."
   		else
   			user << "<span class='notice'>There is already a cell in the [src]!</span>"
  
positive.code: 	if(locked)
  		user << "<span class='danger'>The controls are locked!</span>"
  		return
  	if(wiredtoground == 1 && surplus() < 40 && hascell == 0)
  		user << "<span class='danger'>There is no power in the connected powernet and no internal power source!</span>"
  		turnoff()
  		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
  
  