anchor.diff:  	for(var/id in args)
   		add_gas(id)
   
  -		//garbage_collect() - removes any gas list which is empty.
  -		//Must be used after subtracting from a gas. Must be used after assert_gas()
  -			//if assert_gas() was called only to read from the gas.
  -		//By removing empty gases, processing speed is increased.
  +//garbage_collect() - removes any gas list which is empty.
  +//Must be used after subtracting from a gas. Must be used after assert_gas()
  +//if assert_gas() was called only to read from the gas.
  +//By removing empty gases, processing speed is increased.
   /datum/gas_mixture/proc/garbage_collect()
   	var/list/cached_gases = gases
   	for(var/id in cached_gases)
   		var/gas = cached_gases[id]
  -		if(QUANTIZE(gas[MOLES]) <= 0 && QUANTIZE(gas[ARCHIVE]) <= 0)
  +		if(gas[MOLES] <= 0 && gas[ARCHIVE] <= 0)
   			cached_gases -= id
   
  -	//PV=nRT - related procedures
  +//PV=nRT - related procedures
   /datum/gas_mixture/proc/heat_capacity()
   	var/list/cached_gases = gases
   	. = 0
   	for(var/id in cached_gases)
  -		. += cached_gases[id][MOLES]*cached_gases[id][GAS_META][META_GAS_SPECIFIC_HEAT]
  +		. += cached_gases[id][MOLES] * cached_gases[id][GAS_META][META_GAS_SPECIFIC_HEAT]
   
   /datum/gas_mixture/proc/heat_capacity_archived()
   	var/list/cached_gases = gases
   	. = 0
   	for(var/id in cached_gases)
  -		. += cached_gases[id][ARCHIVE]*cached_gases[id][GAS_META][META_GAS_SPECIFIC_HEAT]
  +		. += cached_gases[id][ARCHIVE] * cached_gases[id][GAS_META][META_GAS_SPECIFIC_HEAT]
   
   /datum/gas_mixture/proc/total_moles()
   	var/list/cached_gases = gases
  
positive.code: 
  //Procedures used for very specific events
  
  
  /datum/gas_mixture/proc/react(atom/dump_location)
  	var/list/procgases = gases //this speeds things up because >byond
  	var/reacting = 0 //set to 1 if a notable reaction occured (used by pipe_network)
  	if(temperature < TCMB)
  		temperature = TCMB
  	if(procgases["agent_b"] && temperature > 900 && procgases["plasma"] && procgases["co2"])
  		if(procgases["plasma"][MOLES] > MINIMUM_HEAT_CAPACITY && procgases["co2"][MOLES] > MINIMUM_HEAT_CAPACITY)
  			var/reaction_rate = min(procgases["co2"][MOLES]*0.75, procgases["plasma"][MOLES]*0.25, procgases["agent_b"][MOLES]*0.05)
  
  			procgases["co2"][MOLES] -= reaction_rate
  
  			assert_gas("o2") //only need to assert oxygen, as this reaction doesn't occur without the other gases existing
  			procgases["o2"][MOLES] += reaction_rate
  
  			procgases["agent_b"][MOLES] -= reaction_rate*0.05
  
  			temperature -= (reaction_rate*20000)/heat_capacity()
  
  
negative.code: 			temperature_scale = (temperature-PLASMA_MINIMUM_BURN_TEMPERATURE)/(PLASMA_UPPER_TEMPERATURE-PLASMA_MINIMUM_BURN_TEMPERATURE)
  		if(temperature_scale > 0)
  			assert_gas("o2")
  			oxygen_burn_rate = OXYGEN_BURN_RATE_BASE - temperature_scale
  			if(cached_gases["o2"][MOLES] > cached_gases["plasma"][MOLES]*PLASMA_OXYGEN_FULLBURN)
  				plasma_burn_rate = (cached_gases["plasma"][MOLES]*temperature_scale)/PLASMA_BURN_RATE_DELTA
  			else
  				plasma_burn_rate = (temperature_scale*(cached_gases["o2"][MOLES]/PLASMA_OXYGEN_FULLBURN))/PLASMA_BURN_RATE_DELTA
  			if(plasma_burn_rate > MINIMUM_HEAT_CAPACITY)
  				assert_gas("co2")
  				cached_gases["plasma"][MOLES] = QUANTIZE(cached_gases["plasma"][MOLES] - plasma_burn_rate)
  				cached_gases["o2"][MOLES] = QUANTIZE(cached_gases["o2"][MOLES] - (plasma_burn_rate * oxygen_burn_rate))
  				cached_gases["co2"][MOLES] += plasma_burn_rate
  
  				energy_released += FIRE_PLASMA_ENERGY_RELEASED * (plasma_burn_rate)
  
  