mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
1 line
20 KiB
HTML
1 line
20 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/power/engines/fission/reactor.dm - Space Station 13</title></head><body><header><a href="index.html">Space Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="code/modules/power/engines/fission/reactor.html#define">Define Details</a></header><main><h1>code/modules/power/engines/fission/reactor.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/TOTAL_CONTROL_RODS">TOTAL_CONTROL_RODS</a></th><td>The max number of control rods.</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/MIN_CHAMBERS_TO_OVERLOAD">MIN_CHAMBERS_TO_OVERLOAD</a></th><td>The amount of connected chambers required before the overload is valid</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/EVENT_MODIFIER">EVENT_MODIFIER</a></th><td>Multiplies the commonality of dangerous events.</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/HEAT_CAP">HEAT_CAP</a></th><td>the highest temp before we artificially cap it</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/AVERAGE_HEAT_THRESHOLD">AVERAGE_HEAT_THRESHOLD</a></th><td>The threshold the average heat-per-rod must exceed to generate coefficient.</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/TOTAL_HEAT_THRESHOLD">TOTAL_HEAT_THRESHOLD</a></th><td>The temp (in K) needed to begin generating coefficient.</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/HEAT_CONVERSION_RATIO">HEAT_CONVERSION_RATIO</a></th><td>How much heat over the threshold = an extra coefficient point.</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/REACTIVITY_COEFFICIENT_CAP">REACTIVITY_COEFFICIENT_CAP</a></th><td>The highest that reactivity coefficient can be</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/WARNING_POINT">WARNING_POINT</a></th><td>Begin sending warning messages</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/EMERGENCY_POINT">EMERGENCY_POINT</a></th><td>Begin sending warning messages over common</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/MELTDOWN_POINT">MELTDOWN_POINT</a></th><td>The damage cap where meltdown occurs. higher = longer to meltdown</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/NGCR_COUNTDOWN_TIME">NGCR_COUNTDOWN_TIME</a></th><td>How long the meltdown countdown lasts</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/WARNING_DELAY">WARNING_DELAY</a></th><td>Time in deciseconds between warnings</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/HEAT_DAMAGE_RATE">HEAT_DAMAGE_RATE</a></th><td>The rate at which damage increases due to heat</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/MOL_MINIMUM">MOL_MINIMUM</a></th><td>The amount of mols of gas needed before it begins to take damage while operational</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/PRESSURE_MAXIMUM">PRESSURE_MAXIMUM</a></th><td>The highest safe pressure allowed by the reactor</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/PRESSURE_DAMAGE">PRESSURE_DAMAGE</a></th><td>The minimum damage caused by overpresurization</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/DAMAGE_MINIMUM">DAMAGE_MINIMUM</a></th><td>The minimum amount of damage done when taking any damage</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/DAMAGE_MAXIMUM">DAMAGE_MAXIMUM</a></th><td>The highest amount of damage done when taking damage</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/MOL_DAMAGE_MULTIPLIER">MOL_DAMAGE_MULTIPLIER</a></th><td>An adjuster for damage balance from no gas</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/HEAT_DAMAGE_MULTIPLIER">HEAT_DAMAGE_MULTIPLIER</a></th><td>An adjuster for damage balance from high heat</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/EXPLOSION_MODIFIER">EXPLOSION_MODIFIER</a></th><td>Adjusts the size of the engine explosion</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/MOLE_BONUS_THRESHOLD">MOLE_BONUS_THRESHOLD</a></th><td>The minimum number of moles needed to begin accruing multiplier.</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/MOLE_BONUS_COMPONENT">MOLE_BONUS_COMPONENT</a></th><td>How many moles are required for one "unit" of modifier increase. Used in the math calculation.</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/N2_OVERHEAT_BONUS">N2_OVERHEAT_BONUS</a></th><td>The overheat threshold bonus that N2 coolant provides</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/N2_EVENT_MODIFIER">N2_EVENT_MODIFIER</a></th><td>The negative event chance from N2.</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/N2O_OVERHEAT_BONUS">N2O_OVERHEAT_BONUS</a></th><td>The overheat threshold bonus that N2O coolant provides</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/N2O_EVENT_MODIFIER">N2O_EVENT_MODIFIER</a></th><td>The negative event chance from N2O.</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/CO2_EVENT_MODIFIER">CO2_EVENT_MODIFIER</a></th><td>The negative event chance from CO2.</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/O2_EVENT_MODIFIER">O2_EVENT_MODIFIER</a></th><td>The POSITIVE event chance from O2.</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/O2_REACTIVITY_BONUS">O2_REACTIVITY_BONUS</a></th><td>The highest amount of reactivity that O2 coolant provides</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/PLASMA_REACTIVITY_BONUS">PLASMA_REACTIVITY_BONUS</a></th><td>The highest amount of reactivity that plasma coolant provides</td></tr><tr><th><a href="code/modules/power/engines/fission/reactor.html#define/PLASMA_OVERHEAT_BONUS">PLASMA_OVERHEAT_BONUS</a></th><td>The overheat threshold bonus that plasma coolant provides</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/AVERAGE_HEAT_THRESHOLD"><aside class="declaration">#define </aside>AVERAGE_HEAT_THRESHOLD <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L19"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 19"></a></h3><p>The threshold the average heat-per-rod must exceed to generate coefficient.</p><h3 id="define/CO2_EVENT_MODIFIER"><aside class="declaration">#define </aside>CO2_EVENT_MODIFIER <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L53"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 53"></a></h3><p>The negative event chance from CO2.</p><h3 id="define/DAMAGE_MAXIMUM"><aside class="declaration">#define </aside>DAMAGE_MAXIMUM <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L42"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 42"></a></h3><p>The highest amount of damage done when taking damage</p><h3 id="define/DAMAGE_MINIMUM"><aside class="declaration">#define </aside>DAMAGE_MINIMUM <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L41"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 41"></a></h3><p>The minimum amount of damage done when taking any damage</p><h3 id="define/EMERGENCY_POINT"><aside class="declaration">#define </aside>EMERGENCY_POINT <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L31"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 31"></a></h3><p>Begin sending warning messages over common</p><h3 id="define/EVENT_MODIFIER"><aside class="declaration">#define </aside>EVENT_MODIFIER <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L16"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 16"></a></h3><p>Multiplies the commonality of dangerous events.</p><h3 id="define/EXPLOSION_MODIFIER"><aside class="declaration">#define </aside>EXPLOSION_MODIFIER <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L45"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 45"></a></h3><p>Adjusts the size of the engine explosion</p><h3 id="define/HEAT_CAP"><aside class="declaration">#define </aside>HEAT_CAP <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L18"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 18"></a></h3><p>the highest temp before we artificially cap it</p><h3 id="define/HEAT_CONVERSION_RATIO"><aside class="declaration">#define </aside>HEAT_CONVERSION_RATIO <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L21"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 21"></a></h3><p>How much heat over the threshold = an extra coefficient point.</p><h3 id="define/HEAT_DAMAGE_MULTIPLIER"><aside class="declaration">#define </aside>HEAT_DAMAGE_MULTIPLIER <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L44"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 44"></a></h3><p>An adjuster for damage balance from high heat</p><h3 id="define/HEAT_DAMAGE_RATE"><aside class="declaration">#define </aside>HEAT_DAMAGE_RATE <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L37"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 37"></a></h3><p>The rate at which damage increases due to heat</p><h3 id="define/MELTDOWN_POINT"><aside class="declaration">#define </aside>MELTDOWN_POINT <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L32"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 32"></a></h3><p>The damage cap where meltdown occurs. higher = longer to meltdown</p><h3 id="define/MIN_CHAMBERS_TO_OVERLOAD"><aside class="declaration">#define </aside>MIN_CHAMBERS_TO_OVERLOAD <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L14"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 14"></a></h3><p>The amount of connected chambers required before the overload is valid</p><h3 id="define/MOLE_BONUS_COMPONENT"><aside class="declaration">#define </aside>MOLE_BONUS_COMPONENT <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L48"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 48"></a></h3><p>How many moles are required for one "unit" of modifier increase. Used in the math calculation.</p><h3 id="define/MOLE_BONUS_THRESHOLD"><aside class="declaration">#define </aside>MOLE_BONUS_THRESHOLD <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L47"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 47"></a></h3><p>The minimum number of moles needed to begin accruing multiplier.</p><h3 id="define/MOL_DAMAGE_MULTIPLIER"><aside class="declaration">#define </aside>MOL_DAMAGE_MULTIPLIER <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L43"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 43"></a></h3><p>An adjuster for damage balance from no gas</p><h3 id="define/MOL_MINIMUM"><aside class="declaration">#define </aside>MOL_MINIMUM <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L38"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 38"></a></h3><p>The amount of mols of gas needed before it begins to take damage while operational</p><h3 id="define/N2O_EVENT_MODIFIER"><aside class="declaration">#define </aside>N2O_EVENT_MODIFIER <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L52"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 52"></a></h3><p>The negative event chance from N2O.</p><h3 id="define/N2O_OVERHEAT_BONUS"><aside class="declaration">#define </aside>N2O_OVERHEAT_BONUS <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L51"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 51"></a></h3><p>The overheat threshold bonus that N2O coolant provides</p><h3 id="define/N2_EVENT_MODIFIER"><aside class="declaration">#define </aside>N2_EVENT_MODIFIER <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L50"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 50"></a></h3><p>The negative event chance from N2.</p><h3 id="define/N2_OVERHEAT_BONUS"><aside class="declaration">#define </aside>N2_OVERHEAT_BONUS <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L49"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 49"></a></h3><p>The overheat threshold bonus that N2 coolant provides</p><h3 id="define/NGCR_COUNTDOWN_TIME"><aside class="declaration">#define </aside>NGCR_COUNTDOWN_TIME <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L34"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 34"></a></h3><p>How long the meltdown countdown lasts</p><h3 id="define/O2_EVENT_MODIFIER"><aside class="declaration">#define </aside>O2_EVENT_MODIFIER <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L54"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 54"></a></h3><p>The POSITIVE event chance from O2.</p><h3 id="define/O2_REACTIVITY_BONUS"><aside class="declaration">#define </aside>O2_REACTIVITY_BONUS <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L55"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 55"></a></h3><p>The highest amount of reactivity that O2 coolant provides</p><h3 id="define/PLASMA_OVERHEAT_BONUS"><aside class="declaration">#define </aside>PLASMA_OVERHEAT_BONUS <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L57"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 57"></a></h3><p>The overheat threshold bonus that plasma coolant provides</p><h3 id="define/PLASMA_REACTIVITY_BONUS"><aside class="declaration">#define </aside>PLASMA_REACTIVITY_BONUS <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L56"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 56"></a></h3><p>The highest amount of reactivity that plasma coolant provides</p><h3 id="define/PRESSURE_DAMAGE"><aside class="declaration">#define </aside>PRESSURE_DAMAGE <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L40"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 40"></a></h3><p>The minimum damage caused by overpresurization</p><h3 id="define/PRESSURE_MAXIMUM"><aside class="declaration">#define </aside>PRESSURE_MAXIMUM <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L39"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 39"></a></h3><p>The highest safe pressure allowed by the reactor</p><h3 id="define/REACTIVITY_COEFFICIENT_CAP"><aside class="declaration">#define </aside>REACTIVITY_COEFFICIENT_CAP <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L22"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 22"></a></h3><p>The highest that reactivity coefficient can be</p><h3 id="define/TOTAL_CONTROL_RODS"><aside class="declaration">#define </aside>TOTAL_CONTROL_RODS <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L12"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 12"></a></h3><p>The max number of control rods.</p><h3 id="define/TOTAL_HEAT_THRESHOLD"><aside class="declaration">#define </aside>TOTAL_HEAT_THRESHOLD <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L20"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 20"></a></h3><p>The temp (in K) needed to begin generating coefficient.</p><h3 id="define/WARNING_DELAY"><aside class="declaration">#define </aside>WARNING_DELAY <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L35"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 35"></a></h3><p>Time in deciseconds between warnings</p><h3 id="define/WARNING_POINT"><aside class="declaration">#define </aside>WARNING_POINT <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/modules/power/engines/fission/reactor.dm#L30"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor.dm 30"></a></h3><p>Begin sending warning messages</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/edee60476d21ee840643bd1abe7f6003a8c65773">edee604</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html> |