anchor.diff:  			loaded_tank.air_contents.gases[/datum/gas/tritium][MOLES] += gasdrained
   			loaded_tank.air_contents.garbage_collect()
   
  -			var/power_produced = min(last_power, (last_power*RAD_COLLECTOR_STORED_OUT)+1000) //Produces at least 1000 watts if it has more than that stored
  +			var/power_produced = RAD_COLLECTOR_OUTPUT
   			add_avail(power_produced)
  -			last_power-=power_produced
  +			stored_power-=power_produced
   	else if(is_station_level(z) && SSresearch.science_tech)
   		if(!loaded_tank.air_contents.gases[/datum/gas/tritium] || !loaded_tank.air_contents.gases[/datum/gas/oxygen])
   			playsound(src, 'sound/machines/ding.ogg', 50, 1)
  
positive.code: // last_power += (pulse_strength-RAD_COLLECTOR_EFFICIENCY)*RAD_COLLECTOR_COEFFICIENT
  #define RAD_COLLECTOR_EFFICIENCY 80 	// radiation needs to be over this amount to get power
  #define RAD_COLLECTOR_COEFFICIENT 100
  #define RAD_COLLECTOR_STORED_OUT 0.04	// (this*100)% of stored power outputted per tick. Doesn't actualy change output total, lower numbers just means collectors output for longer in absence of a source
  #define RAD_COLLECTOR_MINING_CONVERSION_RATE 0.00001 //This is gonna need a lot of tweaking to get right. This is the number used to calculate the conversion of watts to research points per process()
  
  /obj/machinery/power/rad_collector
  	name = "Radiation Collector Array"
  
negative.code: 	integrity_failure = 80
  	circuit = /obj/item/circuitboard/machine/rad_collector
  	var/obj/item/tank/internals/plasma/loaded_tank = null
  	var/stored_power = 0
  	var/active = 0
  	var/locked = FALSE
  	var/drainratio = 1
  