Files
GS13NG/datum/ai_laws.html

7 lines
2.0 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/ai_laws - /tg/ Station 13</title></head><body><header><a href="index.html">/tg/ Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a><a href="datum/ai_laws.html#proc">Proc Details</a></header><main><h1>ai_laws <aside>/<a href="datum.html">datum</a>/<a href="datum/ai_laws.html">ai_laws</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/ai_laws.dm#L9"><img src="git.png" width="16" height="16" title="code/datums/ai_laws.dm 9"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/ai_laws.html#proc/get_law_list">get_law_list</a></th><td>Generates a list of all laws on this datum, including rendered HTML tags if required</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/get_law_list"><aside class="declaration">proc </aside>get_law_list<aside>(include_zeroth, show_numbers, render_html) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/ai_laws.dm#L447"><img src="git.png" width="16" height="16" title="code/datums/ai_laws.dm 447"></a></aside></h3><p>Generates a list of all laws on this datum, including rendered HTML tags if required</p>
<p>Arguments:</p>
<ul>
<li>include_zeroth - Operator that controls if law 0 or law 666 is returned in the set</li>
<li>show_numbers - Operator that controls if law numbers are prepended to the returned laws</li>
<li>render_html - Operator controlling if HTML tags are rendered on the returned laws</li>
</ul></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e">e8e0068</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html>