/tg/ Station 13 - Modules - TypesDefine Details

code/modules/atmospherics/machinery/components/fusion/hfr_defines.dm LIGHT_SPEED Speed of light, in m/s Calculation between the plank constant and the lambda of the lightwave Radius of the h2 calculated based on the amount of number of atom in a mole (and some addition for balancing issues) Radius of the trit calculated based on the amount of number of atom in a mole (and some addition for balancing issues) Power conduction in the void, used to calculate the efficiency of the reaction Mole count required (tritium/hydrogen) to start a fusion reaction Used to reduce the gas_power to a more useful amount Used to calculate the toroidal_size for the instability Constant used when calculating the chance of emitting a radioactive particle Conduction of heat inside the fusion reactor Conduction of heat near the external cooling loop Sets the minimum amount of power the machine uses Sets the multiplier for the damage Sets the range of the hallucinations Chance in percentage points per fusion level of iron accumulation when operating at unsafe levels Amount of iron accumulated per second whenever we fail our saving throw, using the chance above Maximum amount of iron that can be healed per second. Calculated to mostly keep up with fusion level 5. Amount of oxygen in moles required to fully remove 100% iron content. Currently about 2409mol. Calculated to consume at most 10mol/s. to prevent accent sounds from layering Start taking overfull damage at this power level Take 0 damage beneath this much fusion mass at 1 degree Kelvin Take 0 damage beneath this much fusion mass at FUSION_TEMPERATURE_MAX degrees Kelvin Every 200 moles, 1 point of damage per second Start healing when fusion mass is below this threshold Heal one point per second per this many moles under the threshold Heal up to this many points of damage per second at 1 degree kelvin Start healing below this temperature Start taking damage over this threshold, up to a maximum of (1 - HYPERTORUS_MAX_SAFE_IRON) per tick at 100% iron Start taking damage over this threshold Take this much damage per mole over the threshold per second Take at most this much damage per second Start spilling superhot moderator gas when over this pressure threshold How much we should spill initially How much of the moderator mix we should spill per second until mended If the moderator gas goes over this threshold, REALLY spill it How much we should spill initially How much of the moderator mix we should spill per second until mended

Define Details

#define CALCULATED_H2RADIUS Radius of the h2 calculated based on the amount of number of atom in a mole (and some addition for balancing issues)

#define CALCULATED_TRITRADIUS Radius of the trit calculated based on the amount of number of atom in a mole (and some addition for balancing issues)

#define DAMAGE_CAP_MULTIPLIER Sets the multiplier for the damage

#define FUSION_MOLE_THRESHOLD Mole count required (tritium/hydrogen) to start a fusion reaction

#define HALLUCINATION_HFR (P) Sets the range of the hallucinations

#define HIGH_EFFICIENCY_CONDUCTIVITY Conduction of heat near the external cooling loop

#define HYPERTORUS_ACCENT_SOUND_MIN_COOLDOWN to prevent accent sounds from layering

#define HYPERTORUS_COLD_COOLANT_MAX_RESTORE Heal up to this many points of damage per second at 1 degree kelvin

#define HYPERTORUS_COLD_COOLANT_THRESHOLD Start healing below this temperature

#define HYPERTORUS_HYPERCRITICAL_MAX_DAMAGE Take at most this much damage per second

#define HYPERTORUS_HYPERCRITICAL_MOLES Start taking damage over this threshold

#define HYPERTORUS_HYPERCRITICAL_SCALE Take this much damage per mole over the threshold per second

#define HYPERTORUS_MAX_SAFE_IRON Start taking damage over this threshold, up to a maximum of (1 - HYPERTORUS_MAX_SAFE_IRON) per tick at 100% iron

#define HYPERTORUS_MEDIUM_SPILL_INITIAL How much we should spill initially

#define HYPERTORUS_MEDIUM_SPILL_PRESSURE Start spilling superhot moderator gas when over this pressure threshold

#define HYPERTORUS_MEDIUM_SPILL_RATE How much of the moderator mix we should spill per second until mended

#define HYPERTORUS_OVERFULL_MAX_SAFE_COLD_FUSION_MOLES Take 0 damage beneath this much fusion mass at 1 degree Kelvin

#define HYPERTORUS_OVERFULL_MAX_SAFE_HOT_FUSION_MOLES Take 0 damage beneath this much fusion mass at FUSION_TEMPERATURE_MAX degrees Kelvin

#define HYPERTORUS_OVERFULL_MIN_POWER_LEVEL Start taking overfull damage at this power level

#define HYPERTORUS_OVERFULL_MOLAR_SLOPE Every 200 moles, 1 point of damage per second

#define HYPERTORUS_STRONG_SPILL_INITIAL How much we should spill initially

#define HYPERTORUS_STRONG_SPILL_PRESSURE If the moderator gas goes over this threshold, REALLY spill it

#define HYPERTORUS_STRONG_SPILL_RATE How much of the moderator mix we should spill per second until mended

#define HYPERTORUS_SUBCRITICAL_MOLES Start healing when fusion mass is below this threshold

#define HYPERTORUS_SUBCRITICAL_SCALE Heal one point per second per this many moles under the threshold

#define INSTABILITY_GAS_POWER_FACTOR Used to reduce the gas_power to a more useful amount

#define IRON_ACCUMULATED_PER_SECOND Amount of iron accumulated per second whenever we fail our saving throw, using the chance above

#define IRON_CHANCE_PER_FUSION_LEVEL Chance in percentage points per fusion level of iron accumulation when operating at unsafe levels

#define IRON_OXYGEN_HEAL_PER_SECOND Maximum amount of iron that can be healed per second. Calculated to mostly keep up with fusion level 5.

#define LIGHT_SPEED Speed of light, in m/s

#define METALLIC_VOID_CONDUCTIVITY Conduction of heat inside the fusion reactor

#define MIN_POWER_USAGE Sets the minimum amount of power the machine uses

#define OXYGEN_MOLES_CONSUMED_PER_IRON_HEAL Amount of oxygen in moles required to fully remove 100% iron content. Currently about 2409mol. Calculated to consume at most 10mol/s.

#define PARTICLE_CHANCE_CONSTANT Constant used when calculating the chance of emitting a radioactive particle

#define PLANCK_LIGHT_CONSTANT Calculation between the plank constant and the lambda of the lightwave

#define TOROID_VOLUME_BREAKEVEN Used to calculate the toroidal_size for the instability

#define VOID_CONDUCTION Power conduction in the void, used to calculate the efficiency of the reaction