Files
Paradise/code/datums/ai/ai_controller.html

13 lines
3.5 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/datums/ai/ai_controller.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/datums/ai/ai_controller.html#define">Define Details</a></header><main><h1>code/datums/ai/ai_controller.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/ai/ai_controller.dm"><img src="git.png" width="16" height="16" title="code/datums/ai/ai_controller.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="datum/ai_controller.html">/datum/ai_controller</a></th><td>AI controllers are a datumized form of AI that simulates the input a player
would otherwise give to a atom. What this means is that these datums have
ways of interacting with a specific atom and control it. They posses a
&quot;blackboard&quot; with the information the AI knows and has, and will plan actions
it will try to perform through multiple modular subtrees with behaviors.</td></tr><tr><th><a href="code/datums/ai/ai_controller.html#define/TRACK_AI_DATUM_TARGET">TRACK_AI_DATUM_TARGET</a></th><td>Used to manage references to datum by AI controllers</td></tr><tr><th><a href="code/datums/ai/ai_controller.html#define/CLEAR_AI_DATUM_TARGET">CLEAR_AI_DATUM_TARGET</a></th><td>Used to clear previously set reference handing by AI controllers</td></tr><tr><th><a href="code/datums/ai/ai_controller.html#define/TRAIT_AI_TRACKING">TRAIT_AI_TRACKING</a></th><td>Used for above to track all the keys that have registered a signal</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/CLEAR_AI_DATUM_TARGET"><aside class="declaration">#define </aside>CLEAR_AI_DATUM_TARGET<aside>(tracked_datum, key)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/ai/ai_controller.dm#L699"><img src="git.png" width="16" height="16" title="code/datums/ai/ai_controller.dm 699"></a></h3><p>Used to clear previously set reference handing by AI controllers</p>
<ul>
<li>tracked_datum - something being removed from an ai blackboard</li>
<li>key - the associated key</li>
</ul><h3 id="define/TRACK_AI_DATUM_TARGET"><aside class="declaration">#define </aside>TRACK_AI_DATUM_TARGET<aside>(tracked_datum, key)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/ai/ai_controller.dm#L683"><img src="git.png" width="16" height="16" title="code/datums/ai/ai_controller.dm 683"></a></h3><p>Used to manage references to datum by AI controllers</p>
<ul>
<li>tracked_datum - something being added to an ai blackboard</li>
<li>key - the associated key</li>
</ul><h3 id="define/TRAIT_AI_TRACKING"><aside class="declaration">#define </aside>TRAIT_AI_TRACKING <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/ai/ai_controller.dm#L710"><img src="git.png" width="16" height="16" title="code/datums/ai/ai_controller.dm 710"></a></h3><p>Used for above to track all the keys that have registered a signal</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>