anchor.diff:  #define N2O_HEAT_RESISTANCE 6          //Higher == Gas makes the crystal more resistant against heat damage.
   #define HYDROGEN_HEAT_RESISTANCE 2 // just a bit of heat resistance to spice it up
   #define PROTO_NITRATE_HEAT_RESISTANCE 5
  +
  +/// The minimum portion of the miasma in the air that will be consumed. Higher values mean more miasma will be consumed be default.
  +#define MIASMA_CONSUMPTION_RATIO_MIN 0
  +/// The maximum portion of the miasma in the air that will be consumed. Lower values mean the miasma consumption rate caps earlier.
  +#define MIASMA_CONSUMPTION_RATIO_MAX 1
  +/// The minimum pressure for a pure miasma atmosphere to begin being consumed. Higher values mean it takes more miasma pressure to make miasma start being consumed. Should be >= 0
  +#define MIASMA_CONSUMPTION_PP (ONE_ATMOSPHERE*0.01)
  +/// How the amount of miasma consumed per tick scales with partial pressure. Higher values decrease the rate miasma consumption scales with partial pressure. Should be >0
  +#define MIASMA_PRESSURE_SCALING (ONE_ATMOSPHERE*0.5)
  +/// How much the amount of miasma consumed per tick scales with gasmix power ratio. Higher values means gasmix has a greater effect on the miasma consumed.
  +#define MIASMA_GASMIX_SCALING (0.3)
  +/// The amount of matter power generated for every mole of miasma consumed. Higher values mean miasma generates more power.
  +#define MIASMA_POWER_GAIN 10
   
   #define POWERLOSS_INHIBITION_GAS_THRESHOLD 0.20         //Higher == Higher percentage of inhibitor gas needed before the charge inertia chain reaction effect starts.
   #define POWERLOSS_INHIBITION_MOLE_THRESHOLD 20        //Higher == More moles of the gas are needed before the charge inertia chain reaction effect starts.        //Scales powerloss inhibition down until this amount of moles is reached
  
positive.code: 		/datum/gas/healium = 1,
  		/datum/gas/proto_nitrate = 1,
  		/datum/gas/zauker = 1,
  	)
  	///The last air sample's total molar count, will always be above or equal to 0
  	var/combined_gas = 0
  
negative.code: 		for(var/gasID in gas_trans)
  			power_transmission_bonus += gas_comp[gasID] * gas_trans[gasID] * (isnull(transit_mod[gasID]) ? 1 : transit_mod[gasID])
  		power_transmission_bonus *= h2obonus
  
  		//Miasma is really just microscopic particulate. It gets consumed like anything else that touches the crystal.
  		if(gas_comp[/datum/gas/miasma])
  			var/miasma_pp = env.return_pressure() * gas_comp[/datum/gas/miasma]
  			var/consumed_miasma = clamp(((miasma_pp - MIASMA_CONSUMPTION_PP) / (miasma_pp + MIASMA_PRESSURE_SCALING)) * (1 + (gasmix_power_ratio * MIASMA_GASMIX_SCALING)), MIASMA_CONSUMPTION_RATIO_MIN, MIASMA_CONSUMPTION_RATIO_MAX)
  			consumed_miasma *= gas_comp[/datum/gas/miasma] * combined_gas
  			if(consumed_miasma)
  				removed.gases[/datum/gas/miasma][MOLES] -= consumed_miasma
  				matter_power += consumed_miasma * MIASMA_POWER_GAIN
  
  		//more moles of gases are harder to heat than fewer, so let's scale heat damage around them
  		mole_heat_penalty = max(combined_gas / MOLE_HEAT_PENALTY, 0.25)
  