Deploy to GitHub pages

This commit is contained in:
github-actions[bot]
2026-08-26 00:26:58 +00:00
committed by GitHub
commit 835dffb4c8
2864 changed files with 11879 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/power/apc/apc.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></header><main><h1>code/modules/power/apc/apc.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/apc/apc.dm"><img src="git.png" width="16" height="16" title="code/modules/power/apc/apc.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="obj/machinery/power/apc/worn_out.html">/obj/machinery/power/apc/worn_out</a></th><td></td></tr><tr><th>/<a href="obj.html">obj</a>/<a href="obj/machinery.html">machinery</a>/<a href="obj/machinery/power.html">power</a>/<a href="obj/machinery/power/apc.html">apc</a>/off_station</th><td>APC type used for when you don't want the power alarm on the APC to show up on AI reports</td></tr><tr><th>/<a href="obj.html">obj</a>/<a href="obj/machinery.html">machinery</a>/<a href="obj/machinery/power.html">power</a>/<a href="obj/machinery/power/apc.html">apc</a>/off_station/empty_charge</th><td>APCs used for ruins, this version also starts devoid of a charge</td></tr><tr><th>/<a href="obj.html">obj</a>/<a href="obj/machinery.html">machinery</a>/<a href="obj/machinery/power.html">power</a>/<a href="obj/machinery/power/apc.html">apc</a>/syndicate</th><td>general syndicate access</td></tr><tr><th>/<a href="obj.html">obj</a>/<a href="obj/machinery.html">machinery</a>/<a href="obj/machinery/power.html">power</a>/<a href="obj/machinery/power/apc.html">apc</a>/reinforced</th><td>Can handle any amount of power. Made with plasteel frames and is found in maints and other high power areas.</td></tr></table></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>
+1
View File
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/power/cables/cable.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></header><main><h1>code/modules/power/cables/cable.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/cables/cable.dm"><img src="git.png" width="16" height="16" title="code/modules/power/cables/cable.dm"></a></h1><table class="summary" cellspacing="0"><tr><th>/<a href="obj.html">obj</a>/<a href="obj/structure.html">structure</a>/<a href="obj/structure/cable.html">cable</a>/extra_insulated</th><td>Variant for high power carrying. insulated by default</td></tr><tr><th>/<a href="obj.html">obj</a>/<a href="obj/structure.html">structure</a>/<a href="obj/structure/cable.html">cable</a>/extra_insulated/pre_connect</th><td>A pre unlocked bridge cable for mapping</td></tr></table></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>
+1
View File
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/power/cell.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></header><main><h1>code/modules/power/cell.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/cell.dm"><img src="git.png" width="16" height="16" title="code/modules/power/cell.dm"></a></h1><table class="summary" cellspacing="0"><tr><th>/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/stock_parts/cell.html">stock_parts/cell</a>/energy_gun/pulse</th><td>200 pulse shots</td></tr><tr><th>/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/stock_parts/cell.html">stock_parts/cell</a>/energy_gun/pulse/carbine</th><td>25 pulse shots</td></tr><tr><th>/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/stock_parts/cell.html">stock_parts/cell</a>/energy_gun/pulse/pistol</th><td>10 pulse shots</td></tr><tr><th>/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/stock_parts/cell.html">stock_parts/cell</a>/emproof/reactive</th><td>EMP proof so emp_act does not double dip.</td></tr></table></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/power/engines/fission/gas_node.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/gas_node.html#define">Define Details</a></header><main><h1>code/modules/power/engines/fission/gas_node.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/fission/gas_node.dm"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/gas_node.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/modules/power/engines/fission/gas_node.html#define/MINIMUM_MOLES">MINIMUM_MOLES</a></th><td>the minimum amount of moles we transfer, regardless of pressure on the other side.</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/MINIMUM_MOLES"><aside class="declaration">#define </aside>MINIMUM_MOLES <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/fission/gas_node.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/gas_node.dm 1"></a></h3><p>the minimum amount of moles we transfer, regardless of pressure on the other side.</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/power/engines/fission/nuclear_rods.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></header><main><h1>code/modules/power/engines/fission/nuclear_rods.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/fission/nuclear_rods.dm"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/nuclear_rods.dm"></a></h1><table class="summary" cellspacing="0"><tr><th>/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/nuclear_rod.html">nuclear_rod</a>/coolant</th><td>MARK: Coolant Rods</td></tr></table></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
<!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_machines.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_machines.html#define">Define Details</a></header><main><h1>code/modules/power/engines/fission/reactor_machines.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/fission/reactor_machines.dm"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor_machines.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/modules/power/engines/fission/reactor_machines.html#define/DEFAULT_OPERATION_TIME">DEFAULT_OPERATION_TIME</a></th><td>The base amount of time needed to craft an item</td></tr><tr><th><a href="obj/machinery/nuclear_centrifuge.html">/obj/machinery/nuclear_centrifuge</a></th><td>MARK: Centrifuge</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/DEFAULT_OPERATION_TIME"><aside class="declaration">#define </aside>DEFAULT_OPERATION_TIME <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/fission/reactor_machines.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/reactor_machines.dm 1"></a></h3><p>The base amount of time needed to craft an item</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/power/engines/fission/rod_chamber.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/rod_chamber.html#define">Define Details</a></header><main><h1>code/modules/power/engines/fission/rod_chamber.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/fission/rod_chamber.dm"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/rod_chamber.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/modules/power/engines/fission/rod_chamber.html#define/CHAMBER_HEAT_DAMAGE">CHAMBER_HEAT_DAMAGE</a></th><td>How much damage reactor chambers do when on.</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/CHAMBER_HEAT_DAMAGE"><aside class="declaration">#define </aside>CHAMBER_HEAT_DAMAGE <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/fission/rod_chamber.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/power/engines/fission/rod_chamber.dm 1"></a></h3><p>How much damage reactor chambers do when on.</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/power/engines/singularity/narsie.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></header><main><h1>code/modules/power/engines/singularity/narsie.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/singularity/narsie.dm"><img src="git.png" width="16" height="16" title="code/modules/power/engines/singularity/narsie.dm"></a></h1><table class="summary" cellspacing="0"><tr><th>/<a href="obj.html">obj</a>/<a href="obj/singularity.html">singularity</a>/narsie</th><td>Moving narsie to a child object of the singularity so it can be made to function differently. --NEO</td></tr></table></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/power/engines/singularity/singulogen.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></header><main><h1>code/modules/power/engines/singularity/singulogen.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/singularity/singulogen.dm"><img src="git.png" width="16" height="16" title="code/modules/power/engines/singularity/singulogen.dm"></a></h1><table class="summary" cellspacing="0"><tr><th>/<a href="obj.html">obj</a>/<a href="obj/machinery.html">machinery</a>/the_singularitygen</th><td>SINGULARITY SPAWNER</td></tr></table></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/power/engines/supermatter/supermatter.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/supermatter/supermatter.html#define">Define Details</a></header><main><h1>code/modules/power/engines/supermatter/supermatter.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/supermatter/supermatter.dm"><img src="git.png" width="16" height="16" title="code/modules/power/engines/supermatter/supermatter.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/modules/power/engines/supermatter/supermatter.html#define/EVENT_POWER_PENALTY_THRESHOLD">EVENT_POWER_PENALTY_THRESHOLD</a></th><td>The cutoff for the minimum amount of power required to trigger the crystal invasion delamination event.</td></tr><tr><th><a href="code/modules/power/engines/supermatter/supermatter.html#define/SUPERMATTER_ACCENT_SOUND_MIN_COOLDOWN">SUPERMATTER_ACCENT_SOUND_MIN_COOLDOWN</a></th><td>to prevent accent sounds from layering</td></tr><tr><th><a href="code/modules/power/engines/supermatter/supermatter.html#define/SUPERMATTER_COLOUR">SUPERMATTER_COLOUR</a></th><td>Colours used for effects.</td></tr><tr><th>/<a href="obj.html">obj</a>/<a href="obj/machinery.html">machinery</a>/<a href="obj/machinery/atmospherics.html">atmospherics</a>/<a href="obj/machinery/atmospherics/supermatter_crystal.html">supermatter_crystal</a>/shard/hugbox/fakecrystal</th><td>Hugbox shard with crystal visuals, used in the Supermatter/Hyperfractal shuttle</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/EVENT_POWER_PENALTY_THRESHOLD"><aside class="declaration">#define </aside>EVENT_POWER_PENALTY_THRESHOLD <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/supermatter/supermatter.dm#L45"><img src="git.png" width="16" height="16" title="code/modules/power/engines/supermatter/supermatter.dm 45"></a></h3><p>The cutoff for the minimum amount of power required to trigger the crystal invasion delamination event.</p><h3 id="define/SUPERMATTER_ACCENT_SOUND_MIN_COOLDOWN"><aside class="declaration">#define </aside>SUPERMATTER_ACCENT_SOUND_MIN_COOLDOWN <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/supermatter/supermatter.dm#L85"><img src="git.png" width="16" height="16" title="code/modules/power/engines/supermatter/supermatter.dm 85"></a></h3><p>to prevent accent sounds from layering</p><h3 id="define/SUPERMATTER_COLOUR"><aside class="declaration">#define </aside>SUPERMATTER_COLOUR <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/supermatter/supermatter.dm#L94"><img src="git.png" width="16" height="16" title="code/modules/power/engines/supermatter/supermatter.dm 94"></a></h3><p>Colours used for effects.</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/power/engines/tesla/energy_ball.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></header><main><h1>code/modules/power/engines/tesla/energy_ball.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/tesla/energy_ball.dm"><img src="git.png" width="16" height="16" title="code/modules/power/engines/tesla/energy_ball.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="obj/singularity/energy_ball.html">/obj/singularity/energy_ball</a></th><td>The Tesla engine</td></tr></table></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>
+4
View File
@@ -0,0 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/power/exterior_lights.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></header><main><h1>code/modules/power/exterior_lights.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/exterior_lights.dm"><img src="git.png" width="16" height="16" title="code/modules/power/exterior_lights.dm"></a></h1><table class="summary" cellspacing="0"><tr><th>/<a href="obj.html">obj</a>/<a href="obj/machinery.html">machinery</a>/<a href="obj/machinery/light.html">light</a>/exterior</th><td>Exterior lights use the powernet of the wall they're installed on,
not the tile they're placed on. This allows them to be in a different
area than the area that powers them, making it possible to have a light
&quot;outside&quot; a structure that shares its power state.</td></tr></table></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/power/lights.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></header><main><h1>code/modules/power/lights.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/lights.dm"><img src="git.png" width="16" height="16" title="code/modules/power/lights.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="obj/machinery/light_construct.html">/obj/machinery/light_construct</a></th><td>Incomplete light tube fixture</td></tr><tr><th><a href="obj/machinery/light_construct/clockwork.html">/obj/machinery/light_construct/clockwork</a></th><td>Incomplete brass light tube fixture</td></tr><tr><th><a href="obj/machinery/light_construct/small.html">/obj/machinery/light_construct/small</a></th><td>Incomplete light bulb fixture</td></tr><tr><th><a href="obj/machinery/light.html">/obj/machinery/light</a></th><td>The standard light tube fixture</td></tr><tr><th>/<a href="obj.html">obj</a>/<a href="obj/machinery.html">machinery</a>/<a href="obj/machinery/light.html">light</a>/small</th><td>The smaller light bulb fixture</td></tr><tr><th><a href="obj/item/light.html">/obj/item/light</a></th><td>MARK: Light item</td></tr><tr><th>/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/light.html">light</a>/tube</th><td>For use in an empty <a href="obj/machinery/light.html" title="/obj/machinery/light">/obj/machinery/light</a></td></tr><tr><th>/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/light.html">light</a>/bulb</th><td>For use in an empty <a href="obj/machinery/light.html" title="/obj/machinery/light">/obj/machinery/light/small</a></td></tr></table></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>
+78
View File
@@ -0,0 +1,78 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/power/powernets/README.md - 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></header><main><h1>Understanding Powernets <aside>code/modules/power/powernets/README.md</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/powernets/README.md"><img src="git.png" width="16" height="16" title="code/modules/power/powernets/README.md"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><p>Much like any other massive numbers system in SS13, the power (or powernet) system is complex and confusing to work with, only being trumped in complexity by atmospherics/LINDA. This README serves as a powernets 101 guide and breaks down how the system works.</p>
<h2 id="two-types-of-powernets">Two Types of Powernets</h2>
<p>There are two types of powernets in our code</p>
<ol>
<li>Regional Powernets</li>
<li>Local Powernets</li>
</ol>
<p>They are two completely different datum types from eachother and serve different completely different purposes. In a nutshell, regional powernets are dynamically sized and deal with physical machinery, cables, and generators whereas local powernets are statically locked into a single area each and work directly with APCs to handle individual machines interactions with the larger regional powernet.</p>
<h2 id="regional-powernet">Regional Powernet</h2>
<p>An inter-area datum which handles 1 continuous set of cables (<code>var/list/cables</code>) and all the connected machinery/nodes on that set of cable (<code>var/list/nodes</code>).</p>
<p>On this datum you'll notice a lot of different vars handling power input, output, consumption, demand, etc</p>
<h3 id="regional-powernet-process-call-stack">Regional Powernet Process Call Stack</h3>
<p>Starting in SSmachines,
<code>/datum/controller/subsystem/machines/fire(resumed = 0)</code>
the <code>fire()</code> proc will call process <code>process_powernets()</code>
<code>/datum/controller/subsystem/machines/proc/process_powernets(resumed = 0)</code>
This proc will then call <code>process_power()</code> on every single registered regional powernet</p>
<h3 id="the-power-variables">The Power Variables</h3>
<p><code>var/available_power</code> - the currently available power in the powernet in watts THIS PROCESS CYCLE
<code>var/power_demand</code> - the power being consumed from available power in watts THIS PROCESS CYCLE</p>
<p><code>var/queued_power_production</code> - the power in watts that will be available to be consumed in the NEXT PROCESS CYCLE
--&gt; All power producing generators dump their production into this variable
<code>var/queued_power_demand</code> - the power in watts that will be guaranteed to be consumed in the NEXT PROCESS CYCLE
--&gt; Anything machine/item that needs to have priority consumption draws from the queue'd cycle first in order to ensure it gets priority power (electrocution, powersinks, etc)</p>
<h2 id="local-powernets">Local Powernets</h2>
<p>This is a power datum that is locked to an area. There is only one local powernet datum per area which handles all power tracking/consumption
in that area. Every area will be initialized with a local powernet datum either by the area itself or if a machine intializes before the area does.</p>
<h3 id="the-static-passive-power-system">The Static/Passive Power System</h3>
<p>Powernets used to iterate through every machine to check power, while this is incredibly accurate and straightforward, we don't really need to
iterate through every machine (there are 1000's) since most of those machines will never change how much power they consume during their entire
lifetime except to maybe change power states. So we made the Static/Passive power system which only tracks machine power on the local powernet
so that we only have to iterate through the powernets instead of their machines.</p>
<pre><code class="language-dm">/* Passive consumption vars, only change when machines are added/removed from the powernet (not if the power channel turns on/off) */
/// The amount of power consumed by equipment in every power cycle
VAR_PRIVATE/passive_equipment_consumption = 0
/// The amount of power consumed by lighting in every power cycle
VAR_PRIVATE/passive_lighting_consumption = 0
/// The amount of power consumed by environment in every power cycle
VAR_PRIVATE/passive_environment_consumption = 0
</code></pre>
<p>Using <code>adjust_static_power()</code>, it's possible to change these variables by inputting a channel and an amount to change the static power by.
Due to the lack of tracking the machines and their current consumption on the local net (by design), we need to be very particular about
how we're changing static power so we're maintaining perfect parity.</p>
<p>On Machine types, we have unsafe private setter procs that faciliate static power changes on machines</p>
<pre><code class="language-dm">/// Helper proc to positively adjust static power tracking on the machine's powernet, not meant for general use!
/obj/machinery/proc/_add_static_power(channel, amount)
PRIVATE_PROC(TRUE)
machine_powernet?.adjust_static_power(channel, amount)
/// Helper proc to negatively adjust static power tracking on the machine's powernet, not meant for general use!
/obj/machinery/proc/_remove_static_power(channel, amount)
PRIVATE_PROC(TRUE)
machine_powernet?.adjust_static_power(channel, -amount)
</code></pre>
<p>These setter procs are called both in Initialize() to set the initial power and by the helper procs we have in machines. <strong>Coders should not be
using <code>_add_static_power</code> or <code>_remove_static_power</code> ever unless they're changing how power functions on the base machine type. Instead you should
be using the safe helper procs below!</strong></p>
<pre><code class="language-dm">/// Safely changes the static power on the local powernet based on an adjustment in idle power
/obj/machinery/proc/update_idle_power_consumption(channel = power_channel, amount)
if(!power_initialized)
return FALSE // we set static power values in Initialize(), do not update static consumption until after initialization or you will get weird values on powernet
if(power_state == IDLE_POWER_USE)
machine_powernet.adjust_static_power(power_channel, amount - idle_power_consumption)
idle_power_consumption = amount
/// Safely changes the static power on the local powernet based on an adjustment in active power
/obj/machinery/proc/update_active_power_consumption(channel = power_channel, amount)
if(!power_initialized)
return FALSE // we set static power values in Initialize(), do not update static consumption until after initialization or you will get weird values on powernet
if(power_state == ACTIVE_POWER_USE)
machine_powernet.adjust_static_power(power_channel, amount - active_power_consumption)
active_power_consumption = amount
</code></pre>
<p>These allow you to safely set how much power a machine will use when it's &quot;Active&quot; or &quot;Idle,&quot; and the procs will handle changing the static
power for you. That way you never have to worry about losing parity when you're just trying to make your new machine consume power.</p>
<p>As a note: you should never be manually setting power consumption variables in code, this is a really quick way to get funky number on your
powernet. So for example don't edit <code>power_state</code>, <code>idle_power_consumption</code>, or <code>active_power_consumption</code>; Use their respective setter procs
that are already defined on <code>/machinery</code>!</p></td></tr></table></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>
@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/power/powernets/local_powernet.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></header><main><h1>code/modules/power/powernets/local_powernet.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/powernets/local_powernet.dm"><img src="git.png" width="16" height="16" title="code/modules/power/powernets/local_powernet.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="datum/local_powernet.html">/datum/local_powernet</a></th><td>Manages all power related mechanics for a single /area
Machines in areas will directly register to this datum in order to receive power</td></tr></table></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/power/powernets/powernet_helpers.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></header><main><h1>code/modules/power/powernets/powernet_helpers.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/powernets/powernet_helpers.dm"><img src="git.png" width="16" height="16" title="code/modules/power/powernets/powernet_helpers.dm"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/propagate_network">propagate_network</a></th><td>remove the old powernet and replace it with a new one throughout the network.</td></tr></table></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>
+1
View File
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/power/smes.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/smes.html#define">Define Details</a></header><main><h1>code/modules/power/smes.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/smes.dm"><img src="git.png" width="16" height="16" title="code/modules/power/smes.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/modules/power/smes.html#define/SMESRATE">SMESRATE</a></th><td>Conversion ratio between a Watt-tick and SMES capacity units (should be the same as power cells)</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/SMESRATE"><aside class="declaration">#define </aside>SMESRATE <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/smes.dm#L4"><img src="git.png" width="16" height="16" title="code/modules/power/smes.dm 4"></a></h3><p>Conversion ratio between a Watt-tick and SMES capacity units (should be the same as power cells)</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>