anchor.diff:  	icon_state = "shield_gen"
   	var/obj/machinery/atmospherics/components/unary/terminal/atmos_terminal
   	var/obj/machinery/power/terminal/power_terminal
  +
  +	use_power = 0
  +
   	var/plasma_charge = 0
   	var/plasma_charge_max = 40
  +
   	var/power_charge = 90
   	var/power_charge_max = 90
  +
   	var/charging_plasma = 0
   	var/charging_power = 0
   	var/charge_rate = 30000
   	var/plasma_charge_rate = 10
  +
   	var/list/shield_barrier_objs = list()
   	var/on = 1
   	var/do_update = 1
  
positive.code: 	if(SSstarmap.ftl_shieldgen == src)
  		SSstarmap.ftl_shieldgen = null
  	. = ..()
  
  /obj/machinery/ftl_shieldgen/Initialize()
  	if(!istype(get_area(src), /area/shuttle/ftl) || (SSstarmap.ftl_shieldgen && isturf(SSstarmap.ftl_shieldgen.loc)))
  		stat |= BROKEN
  		return
  	SSstarmap.ftl_shieldgen = src
  
  /obj/machinery/ftl_shieldgen/proc/can_terminal_dismantle()
  	return 0
  
  
negative.code: 		power_terminal.master = src
  		power_terminal.connect_to_network()
  	if(GLOB.map_ready)
  		//Initialize()
  		if(!istype(get_area(src), /area/shuttle/ftl) || (SSstarmap.ftl_shieldgen && isturf(SSstarmap.ftl_shieldgen.loc)))
  			stat |= BROKEN
  			return
  		SSstarmap.ftl_shieldgen = src
  
  /obj/machinery/ftl_shieldgen/Destroy()
  	atmos_terminal.master = null
  