Yogstation 13 - Modules - TypesDefine Details

code/modules/atmospherics/machinery/components/fusion/hfr_defines.dm

LIGHT_SPEEDSpeed of light, in m/s
PLANCK_LIGHT_CONSTANTCalculation between the plank constant and the lambda of the lightwave
CALCULATED_H2RADIUSRadius of the h2 calculated based on the amount of number of atom in a mole (and some addition for balancing issues)
CALCULATED_TRITRADIUSRadius of the trit calculated based on the amount of number of atom in a mole (and some addition for balancing issues)
VOID_CONDUCTIONPower conduction in the void, used to calculate the efficiency of the reaction
FUSION_MOLE_THRESHOLD_HFRMole count required (tritium/hydrogen) to start a fusion reaction
INSTABILITY_GAS_POWER_FACTOR_HFRUsed to reduce the gas_power to a more useful amount
TOROID_VOLUME_BREAKEVEN_HFRUsed to calculate the toroidal_size for the instability
METALLIC_VOID_CONDUCTIVITYConduction of heat inside the fusion reactor
HIGH_EFFICIENCY_CONDUCTIVITYConduction of heat near the external cooling loop
MIN_POWER_USAGESets the minimum amount of power the machine uses
DAMAGE_CAP_MULTIPLIERSets the multiplier for the damage
HALLUCINATION_HFRSets the range of the hallucinations
IRON_CHANCE_PER_FUSION_LEVELChance in percentage points per fusion level of iron accumulation when operating at unsafe levels
IRON_ACCUMULATED_PER_SECONDAmount of iron accumulated per second whenever we fail our saving throw, using the chance above
IRON_OXYGEN_HEAL_PER_SECONDMaximum amount of iron that can be healed per second. Calculated to mostly keep up with fusion level 5.
OXYGEN_MOLES_CONSUMED_PER_IRON_HEALAmount of oxygen in moles required to fully remove 100% iron content. Currently about 2409mol. Calculated to consume at most 10mol/s.
HFR_RADIATION_FALLOFFAmount of rads at which it will start to fall off
HYPERTORUS_ACCENT_SOUND_MIN_COOLDOWNto prevent accent sounds from layering
HYPERTORUS_OVERFULL_MIN_POWER_LEVELStart taking overfull damage at this power level
HYPERTORUS_OVERFULL_MAX_SAFE_COLD_FUSION_MOLESTake 0 damage beneath this much fusion mass at 1 degree Kelvin
HYPERTORUS_OVERFULL_MAX_SAFE_HOT_FUSION_MOLESTake 0 damage beneath this much fusion mass at FUSION_TEMPERATURE_MAX degrees Kelvin
HYPERTORUS_OVERFULL_MOLAR_SLOPEEvery 200 moles, 1 point of damage per second
HYPERTORUS_SUBCRITICAL_MOLESStart healing when fusion mass is below this threshold
HYPERTORUS_SUBCRITICAL_SCALEHeal one point per second per this many moles under the threshold
HYPERTORUS_COLD_COOLANT_MAX_RESTOREHeal up to this many points of damage per second at 1 degree kelvin
HYPERTORUS_COLD_COOLANT_THRESHOLDStart healing below this temperature
HYPERTORUS_MAX_SAFE_IRONStart taking damage over this threshold, up to a maximum of (1 - HYPERTORUS_MAX_SAFE_IRON) per tick at 100% iron
HYPERTORUS_WARNING_MOLESStart broadcasting warning over this threshold
HYPERTORUS_HYPERCRITICAL_MOLESStart taking damage over this threshold
HYPERTORUS_HYPERCRITICAL_SCALETake this much damage per mole over the threshold per second
HYPERTORUS_HYPERCRITICAL_MAX_DAMAGETake at most this much damage per second
HYPERTORUS_MEDIUM_SPILL_PRESSUREStart spilling superhot moderator gas when over this pressure threshold
HYPERTORUS_MEDIUM_SPILL_INITIALHow much we should spill initially
HYPERTORUS_MEDIUM_SPILL_RATEHow much of the moderator mix we should spill per second until mended
HYPERTORUS_STRONG_SPILL_PRESSUREIf the moderator gas goes over this threshold, REALLY spill it
HYPERTORUS_STRONG_SPILL_INITIALHow much we should spill initially
HYPERTORUS_STRONG_SPILL_RATEHow much of the moderator mix we should spill per second until mended
HYPERTORUS_FLAG_BASE_EXPLOSIONCauses a light explosion on meltdown
HYPERTORUS_FLAG_MEDIUM_EXPLOSIONCauses a heavy explosion on meltdown
HYPERTORUS_FLAG_DEVASTATING_EXPLOSIONCauses a devastating explosion on meltdown
HYPERTORUS_FLAG_RADIATION_PULSECauses a radiation pulse on meltdown
HYPERTORUS_FLAG_EMPCauses an EMP on meltdown
HYPERTORUS_FLAG_MINIMUM_SPREADSmall radiation/EMP radius
HYPERTORUS_FLAG_MEDIUM_SPREADMedium radiation/EMP radius
HYPERTORUS_FLAG_BIG_SPREADLarge radiation/EMP radius
HYPERTORUS_FLAG_MASSIVE_SPREADVery large radiation/EMP radius
HYPERTORUS_FLAG_CRITICAL_MELTDOWNDoubles explosion size and radiation/EMP radius
HYPERTORUS_FLAG_HIGH_POWER_DAMAGEHigh power damage
HYPERTORUS_FLAG_HIGH_FUEL_MIX_MOLEHigh fuel mix mole
HYPERTORUS_FLAG_IRON_CONTENT_DAMAGEiron content damage
HYPERTORUS_FLAG_IRON_CONTENT_INCREASEIron content increasing
HYPERTORUS_FLAG_EMPEDEmped hypertorus

Define Details

CALCULATED_H2RADIUS

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

CALCULATED_TRITRADIUS

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

DAMAGE_CAP_MULTIPLIER

Sets the multiplier for the damage

FUSION_MOLE_THRESHOLD_HFR

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

HALLUCINATION_HFR

Sets the range of the hallucinations

HFR_RADIATION_FALLOFF

Amount of rads at which it will start to fall off

HIGH_EFFICIENCY_CONDUCTIVITY

Conduction of heat near the external cooling loop

HYPERTORUS_ACCENT_SOUND_MIN_COOLDOWN

to prevent accent sounds from layering

HYPERTORUS_COLD_COOLANT_MAX_RESTORE

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

HYPERTORUS_COLD_COOLANT_THRESHOLD

Start healing below this temperature

HYPERTORUS_FLAG_BASE_EXPLOSION

Causes a light explosion on meltdown

HYPERTORUS_FLAG_BIG_SPREAD

Large radiation/EMP radius

HYPERTORUS_FLAG_CRITICAL_MELTDOWN

Doubles explosion size and radiation/EMP radius

HYPERTORUS_FLAG_DEVASTATING_EXPLOSION

Causes a devastating explosion on meltdown

HYPERTORUS_FLAG_EMP

Causes an EMP on meltdown

HYPERTORUS_FLAG_EMPED

Emped hypertorus

HYPERTORUS_FLAG_HIGH_FUEL_MIX_MOLE

High fuel mix mole

HYPERTORUS_FLAG_HIGH_POWER_DAMAGE

High power damage

HYPERTORUS_FLAG_IRON_CONTENT_DAMAGE

iron content damage

HYPERTORUS_FLAG_IRON_CONTENT_INCREASE

Iron content increasing

HYPERTORUS_FLAG_MASSIVE_SPREAD

Very large radiation/EMP radius

HYPERTORUS_FLAG_MEDIUM_EXPLOSION

Causes a heavy explosion on meltdown

HYPERTORUS_FLAG_MEDIUM_SPREAD

Medium radiation/EMP radius

HYPERTORUS_FLAG_MINIMUM_SPREAD

Small radiation/EMP radius

HYPERTORUS_FLAG_RADIATION_PULSE

Causes a radiation pulse on meltdown

HYPERTORUS_HYPERCRITICAL_MAX_DAMAGE

Take at most this much damage per second

HYPERTORUS_HYPERCRITICAL_MOLES

Start taking damage over this threshold

HYPERTORUS_HYPERCRITICAL_SCALE

Take this much damage per mole over the threshold per second

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

HYPERTORUS_MEDIUM_SPILL_INITIAL

How much we should spill initially

HYPERTORUS_MEDIUM_SPILL_PRESSURE

Start spilling superhot moderator gas when over this pressure threshold

HYPERTORUS_MEDIUM_SPILL_RATE

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

HYPERTORUS_OVERFULL_MAX_SAFE_COLD_FUSION_MOLES

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

HYPERTORUS_OVERFULL_MAX_SAFE_HOT_FUSION_MOLES

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

HYPERTORUS_OVERFULL_MIN_POWER_LEVEL

Start taking overfull damage at this power level

HYPERTORUS_OVERFULL_MOLAR_SLOPE

Every 200 moles, 1 point of damage per second

HYPERTORUS_STRONG_SPILL_INITIAL

How much we should spill initially

HYPERTORUS_STRONG_SPILL_PRESSURE

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

HYPERTORUS_STRONG_SPILL_RATE

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

HYPERTORUS_SUBCRITICAL_MOLES

Start healing when fusion mass is below this threshold

HYPERTORUS_SUBCRITICAL_SCALE

Heal one point per second per this many moles under the threshold

HYPERTORUS_WARNING_MOLES

Start broadcasting warning over this threshold

INSTABILITY_GAS_POWER_FACTOR_HFR

Used to reduce the gas_power to a more useful amount

IRON_ACCUMULATED_PER_SECOND

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

IRON_CHANCE_PER_FUSION_LEVEL

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

IRON_OXYGEN_HEAL_PER_SECOND

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

LIGHT_SPEED

Speed of light, in m/s

METALLIC_VOID_CONDUCTIVITY

Conduction of heat inside the fusion reactor

MIN_POWER_USAGE

Sets the minimum amount of power the machine uses

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.

PLANCK_LIGHT_CONSTANT

Calculation between the plank constant and the lambda of the lightwave

TOROID_VOLUME_BREAKEVEN_HFR

Used to calculate the toroidal_size for the instability

VOID_CONDUCTION

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