mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-31 07:57:47 +01:00
1 line
10 KiB
HTML
1 line
10 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>code/__DEFINES/power_defines.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/__DEFINES/power_defines.html#define">Define Details</a></header><main><h1>code/__DEFINES/power_defines.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb/code/__DEFINES/power_defines.dm"><img src="git.png" width="16" height="16" title="code/__DEFINES/power_defines.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__DEFINES/power_defines.html#define/PW_CHANNEL_EQUIPMENT">PW_CHANNEL_EQUIPMENT</a></th><td>Power Channel for equipment power users</td></tr><tr><th><a href="code/__DEFINES/power_defines.html#define/PW_CHANNEL_LIGHTING">PW_CHANNEL_LIGHTING</a></th><td>Power chanel for lighting power users</td></tr><tr><th><a href="code/__DEFINES/power_defines.html#define/PW_CHANNEL_ENVIRONMENT">PW_CHANNEL_ENVIRONMENT</a></th><td>Power channel for environmental power users</td></tr><tr><th><a href="code/__DEFINES/power_defines.html#define/PW_ALWAYS_UNPOWERED">PW_ALWAYS_UNPOWERED</a></th><td>Local powernet in this area will never be powered, even if its recieving power</td></tr><tr><th><a href="code/__DEFINES/power_defines.html#define/PW_ALWAYS_POWERED">PW_ALWAYS_POWERED</a></th><td>Local powernet in this area will always have power even if its not recieving power</td></tr><tr><th><a href="code/__DEFINES/power_defines.html#define/MACHINE_FLICKER_CHANCE">MACHINE_FLICKER_CHANCE</a></th><td>roughly 1/2000 chance of a machine flickering on any given tick. That means in a two hour round each machine will flicker on average a little less than two times.</td></tr><tr><th><a href="code/__DEFINES/power_defines.html#define/BROKEN">BROKEN</a></th><td>Machine is broken</td></tr><tr><th><a href="code/__DEFINES/power_defines.html#define/NOPOWER">NOPOWER</a></th><td>Machine is not recieving any power from the local powernet</td></tr><tr><th><a href="code/__DEFINES/power_defines.html#define/MAINT">MAINT</a></th><td>machine is currently under maintenance</td></tr><tr><th><a href="code/__DEFINES/power_defines.html#define/EMPED">EMPED</a></th><td>Machine is currently affected by EMP pulse</td></tr><tr><th><a href="code/__DEFINES/power_defines.html#define/NO_POWER_USE">NO_POWER_USE</a></th><td>This machine is not currently consuming any power passively</td></tr><tr><th><a href="code/__DEFINES/power_defines.html#define/IDLE_POWER_USE">IDLE_POWER_USE</a></th><td>This machine is consuming its idle power amount passively</td></tr><tr><th><a href="code/__DEFINES/power_defines.html#define/ACTIVE_POWER_USE">ACTIVE_POWER_USE</a></th><td>This machine is consuming its active power amount passively</td></tr><tr><th><a href="code/__DEFINES/power_defines.html#define/APC_NOT_CHARGING">APC_NOT_CHARGING</a></th><td>APC is not recieving power</td></tr><tr><th><a href="code/__DEFINES/power_defines.html#define/APC_IS_CHARGING">APC_IS_CHARGING</a></th><td>APC is currently recieving power and storing it</td></tr><tr><th><a href="code/__DEFINES/power_defines.html#define/APC_FULLY_CHARGED">APC_FULLY_CHARGED</a></th><td>APC battery is at 100%</td></tr><tr><th><a href="code/__DEFINES/power_defines.html#define/WATT_TICK_TO_JOULE">WATT_TICK_TO_JOULE</a></th><td>Conversion ratio from Watt over a machine process tick time to Joules</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/ACTIVE_POWER_USE"><aside class="declaration">#define </aside>ACTIVE_POWER_USE <a href="https://github.com/ParadiseSS13/Paradise/blob/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb/code/__DEFINES/power_defines.dm#L32"><img src="git.png" width="16" height="16" title="code/__DEFINES/power_defines.dm 32"></a></h3><p>This machine is consuming its active power amount passively</p><h3 id="define/APC_FULLY_CHARGED"><aside class="declaration">#define </aside>APC_FULLY_CHARGED <a href="https://github.com/ParadiseSS13/Paradise/blob/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb/code/__DEFINES/power_defines.dm#L40"><img src="git.png" width="16" height="16" title="code/__DEFINES/power_defines.dm 40"></a></h3><p>APC battery is at 100%</p><h3 id="define/APC_IS_CHARGING"><aside class="declaration">#define </aside>APC_IS_CHARGING <a href="https://github.com/ParadiseSS13/Paradise/blob/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb/code/__DEFINES/power_defines.dm#L38"><img src="git.png" width="16" height="16" title="code/__DEFINES/power_defines.dm 38"></a></h3><p>APC is currently recieving power and storing it</p><h3 id="define/APC_NOT_CHARGING"><aside class="declaration">#define </aside>APC_NOT_CHARGING <a href="https://github.com/ParadiseSS13/Paradise/blob/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb/code/__DEFINES/power_defines.dm#L36"><img src="git.png" width="16" height="16" title="code/__DEFINES/power_defines.dm 36"></a></h3><p>APC is not recieving power</p><h3 id="define/BROKEN"><aside class="declaration">#define </aside>BROKEN <a href="https://github.com/ParadiseSS13/Paradise/blob/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb/code/__DEFINES/power_defines.dm#L18"><img src="git.png" width="16" height="16" title="code/__DEFINES/power_defines.dm 18"></a></h3><p>Machine is broken</p><h3 id="define/EMPED"><aside class="declaration">#define </aside>EMPED <a href="https://github.com/ParadiseSS13/Paradise/blob/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb/code/__DEFINES/power_defines.dm#L24"><img src="git.png" width="16" height="16" title="code/__DEFINES/power_defines.dm 24"></a></h3><p>Machine is currently affected by EMP pulse</p><h3 id="define/IDLE_POWER_USE"><aside class="declaration">#define </aside>IDLE_POWER_USE <a href="https://github.com/ParadiseSS13/Paradise/blob/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb/code/__DEFINES/power_defines.dm#L30"><img src="git.png" width="16" height="16" title="code/__DEFINES/power_defines.dm 30"></a></h3><p>This machine is consuming its idle power amount passively</p><h3 id="define/MACHINE_FLICKER_CHANCE"><aside class="declaration">#define </aside>MACHINE_FLICKER_CHANCE <a href="https://github.com/ParadiseSS13/Paradise/blob/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb/code/__DEFINES/power_defines.dm#L14"><img src="git.png" width="16" height="16" title="code/__DEFINES/power_defines.dm 14"></a></h3><p>roughly 1/2000 chance of a machine flickering on any given tick. That means in a two hour round each machine will flicker on average a little less than two times.</p><h3 id="define/MAINT"><aside class="declaration">#define </aside>MAINT <a href="https://github.com/ParadiseSS13/Paradise/blob/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb/code/__DEFINES/power_defines.dm#L22"><img src="git.png" width="16" height="16" title="code/__DEFINES/power_defines.dm 22"></a></h3><p>machine is currently under maintenance</p><h3 id="define/NOPOWER"><aside class="declaration">#define </aside>NOPOWER <a href="https://github.com/ParadiseSS13/Paradise/blob/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb/code/__DEFINES/power_defines.dm#L20"><img src="git.png" width="16" height="16" title="code/__DEFINES/power_defines.dm 20"></a></h3><p>Machine is not recieving any power from the local powernet</p><h3 id="define/NO_POWER_USE"><aside class="declaration">#define </aside>NO_POWER_USE <a href="https://github.com/ParadiseSS13/Paradise/blob/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb/code/__DEFINES/power_defines.dm#L28"><img src="git.png" width="16" height="16" title="code/__DEFINES/power_defines.dm 28"></a></h3><p>This machine is not currently consuming any power passively</p><h3 id="define/PW_ALWAYS_POWERED"><aside class="declaration">#define </aside>PW_ALWAYS_POWERED <a href="https://github.com/ParadiseSS13/Paradise/blob/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb/code/__DEFINES/power_defines.dm#L11"><img src="git.png" width="16" height="16" title="code/__DEFINES/power_defines.dm 11"></a></h3><p>Local powernet in this area will always have power even if its not recieving power</p><h3 id="define/PW_ALWAYS_UNPOWERED"><aside class="declaration">#define </aside>PW_ALWAYS_UNPOWERED <a href="https://github.com/ParadiseSS13/Paradise/blob/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb/code/__DEFINES/power_defines.dm#L9"><img src="git.png" width="16" height="16" title="code/__DEFINES/power_defines.dm 9"></a></h3><p>Local powernet in this area will never be powered, even if its recieving power</p><h3 id="define/PW_CHANNEL_ENVIRONMENT"><aside class="declaration">#define </aside>PW_CHANNEL_ENVIRONMENT <a href="https://github.com/ParadiseSS13/Paradise/blob/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb/code/__DEFINES/power_defines.dm#L6"><img src="git.png" width="16" height="16" title="code/__DEFINES/power_defines.dm 6"></a></h3><p>Power channel for environmental power users</p><h3 id="define/PW_CHANNEL_EQUIPMENT"><aside class="declaration">#define </aside>PW_CHANNEL_EQUIPMENT <a href="https://github.com/ParadiseSS13/Paradise/blob/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb/code/__DEFINES/power_defines.dm#L2"><img src="git.png" width="16" height="16" title="code/__DEFINES/power_defines.dm 2"></a></h3><p>Power Channel for equipment power users</p><h3 id="define/PW_CHANNEL_LIGHTING"><aside class="declaration">#define </aside>PW_CHANNEL_LIGHTING <a href="https://github.com/ParadiseSS13/Paradise/blob/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb/code/__DEFINES/power_defines.dm#L4"><img src="git.png" width="16" height="16" title="code/__DEFINES/power_defines.dm 4"></a></h3><p>Power chanel for lighting power users</p><h3 id="define/WATT_TICK_TO_JOULE"><aside class="declaration">#define </aside>WATT_TICK_TO_JOULE <a href="https://github.com/ParadiseSS13/Paradise/blob/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb/code/__DEFINES/power_defines.dm#L51"><img src="git.png" width="16" height="16" title="code/__DEFINES/power_defines.dm 51"></a></h3><p>Conversion ratio from Watt over a machine process tick time to Joules</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/ce34e64c211f5983d9ff6b368ef40015ccb6fdbb">ce34e64</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html> |