Files

1 line
4.4 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/obj/singularity/energy_ball - 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="obj/singularity/energy_ball.html#var">Var Details</a> - <a href="obj/singularity/energy_ball.html#proc">Proc Details</a></header><main><h1>energy_ball <aside>/<a href="obj.html">obj</a>/<a href="obj/singularity.html">singularity</a>/<a href="obj/singularity/energy_ball.html">energy_ball</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/tesla/energy_ball.dm#L14"><img src="git.png" width="16" height="16" title="code/modules/power/engines/tesla/energy_ball.dm 14"></a></h1><p>The Tesla engine</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="obj/singularity/energy_ball.html#var/has_close_field">has_close_field</a></th><td>Variable that defines whether it has a field generator close enough</td></tr><tr><th><a href="obj/singularity/energy_ball.html#var/move_target">move_target</a></th><td>The next spot the tesla will zoom to and stop at on its way to movement_goal</td></tr><tr><th><a href="obj/singularity/energy_ball.html#var/movement_goal">movement_goal</a></th><td>Turf where the tesla will move to if it's loose</td></tr><tr><th><a href="obj/singularity/energy_ball.html#var/steps_per_move">steps_per_move</a></th><td>How many tiles do we move per movement step?</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="obj/singularity/energy_ball.html#proc/on_start_orbit">on_start_orbit</a></th><td>When we get orbited, add the orbiter to our tracked balls</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/has_close_field"><aside class="declaration">var </aside>has_close_field <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/tesla/energy_ball.dm#L38"><img src="git.png" width="16" height="16" title="code/modules/power/engines/tesla/energy_ball.dm 38"></a></h3><p>Variable that defines whether it has a field generator close enough</p><h3 id="var/move_target"><aside class="declaration">var </aside>move_target <aside> /<a href="turf.html">turf</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/tesla/energy_ball.dm#L36"><img src="git.png" width="16" height="16" title="code/modules/power/engines/tesla/energy_ball.dm 36"></a></h3><p>The next spot the tesla will zoom to and stop at on its way to movement_goal</p><h3 id="var/movement_goal"><aside class="declaration">var </aside>movement_goal <aside> /<a href="turf.html">turf</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/tesla/energy_ball.dm#L34"><img src="git.png" width="16" height="16" title="code/modules/power/engines/tesla/energy_ball.dm 34"></a></h3><p>Turf where the tesla will move to if it's loose</p><h3 id="var/steps_per_move"><aside class="declaration">var </aside>steps_per_move <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/tesla/energy_ball.dm#L40"><img src="git.png" width="16" height="16" title="code/modules/power/engines/tesla/energy_ball.dm 40"></a></h3><p>How many tiles do we move per movement step?</p><h2 id="proc">Proc Details</h2><h3 id="proc/on_start_orbit"><aside class="declaration">proc </aside>on_start_orbit<aside>(/<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/this, /<a href="atom.html">atom</a>/orbiter) <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/power/engines/tesla/energy_ball.dm#L294"><img src="git.png" width="16" height="16" title="code/modules/power/engines/tesla/energy_ball.dm 294"></a></aside></h3><p>When we get orbited, add the orbiter to our tracked balls</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>