mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 14:07:51 +01:00
1 line
4.3 KiB
HTML
1 line
4.3 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/controller/subsystem/ai_controllers - 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="datum/controller/subsystem/ai_controllers.html#var">Var Details</a> - <a href="datum/controller/subsystem/ai_controllers.html#proc">Proc Details</a></header><main><h1>ai_controllers <aside>/<a href="datum.html">datum</a>/<a href="datum/controller.html">controller</a>/<a href="datum/controller/subsystem.html">subsystem</a>/<a href="datum/controller/subsystem/ai_controllers.html">ai_controllers</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSai_controllers.dm#L2"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSai_controllers.dm 2"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/controller/subsystem/ai_controllers.html#var/our_cost">our_cost</a></th><td>The tick cost of all active AI, calculated on fire.</td></tr><tr><th><a href="datum/controller/subsystem/ai_controllers.html#var/planning_status">planning_status</a></th><td>Type of status we are interested in running</td></tr><tr><th><a href="datum/controller/subsystem/ai_controllers.html#var/summing_cost">summing_cost</a></th><td>The tick cost of all currently processed AI, being summed together</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/controller/subsystem/ai_controllers.html#proc/on_max_z_changed">on_max_z_changed</a></th><td>Called when the max Z level was changed, updating our coverage.</td></tr><tr><th><a href="datum/controller/subsystem/ai_controllers.html#proc/setup_subtrees">setup_subtrees</a></th><td>Creates all instances of ai_subtrees and assigns them to the ai_subtrees list.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/our_cost"><aside class="declaration">var </aside>our_cost <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSai_controllers.dm#L13"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSai_controllers.dm 13"></a></h3><p>The tick cost of all active AI, calculated on fire.</p><h3 id="var/planning_status"><aside class="declaration">var </aside>planning_status <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSai_controllers.dm#L11"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSai_controllers.dm 11"></a></h3><p>Type of status we are interested in running</p><h3 id="var/summing_cost"><aside class="declaration">var </aside>summing_cost <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSai_controllers.dm#L15"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSai_controllers.dm 15"></a></h3><p>The tick cost of all currently processed AI, being summed together</p><h2 id="proc">Proc Details</h2><h3 id="proc/on_max_z_changed"><aside class="declaration">proc </aside>on_max_z_changed<aside>() <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSai_controllers.dm#L55"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSai_controllers.dm 55"></a></aside></h3><p>Called when the max Z level was changed, updating our coverage.</p><h3 id="proc/setup_subtrees"><aside class="declaration">proc </aside>setup_subtrees<aside>() <a href="https://github.com/ParadiseSS13/Paradise/blob/776b9861f70566b1e6a0763a465ef22f7920a3d6/code/controllers/subsystem/SSai_controllers.dm#L47"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/SSai_controllers.dm 47"></a></aside></h3><p>Creates all instances of ai_subtrees and assigns them to the ai_subtrees list.</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/776b9861f70566b1e6a0763a465ef22f7920a3d6">776b986</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html> |