Files
2025-02-05 06:19:18 +00:00

1 line
3.6 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/effect/mapping_helpers/trait_injector - /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="obj/effect/mapping_helpers/trait_injector.html#var">Var Details</a></header><main><h1>trait_injector <aside>/<a href="obj.html">obj</a>/<a href="obj/effect/mapping_helpers/trait_injector.html">effect/mapping_helpers/trait_injector</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mapping/mapping_helpers/_mapping_helpers.dm#L310"><img src="git.png" width="16" height="16" title="code/modules/mapping/mapping_helpers/_mapping_helpers.dm 310"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="obj/effect/mapping_helpers/trait_injector.html#var/first_match_only">first_match_only</a></th><td>Will inject into all fitting the criteria if false, otherwise first found.</td></tr><tr><th><a href="obj/effect/mapping_helpers/trait_injector.html#var/target_name">target_name</a></th><td>Will inject into atoms with this name.</td></tr><tr><th><a href="obj/effect/mapping_helpers/trait_injector.html#var/target_type">target_type</a></th><td>Will inject into atoms of this type.</td></tr><tr><th><a href="obj/effect/mapping_helpers/trait_injector.html#var/trait_name">trait_name</a></th><td>Name of the trait, in the lower-case text (NOT the upper-case define) form.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/first_match_only"><aside class="declaration">var </aside>first_match_only <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mapping/mapping_helpers/_mapping_helpers.dm#L315"><img src="git.png" width="16" height="16" title="code/modules/mapping/mapping_helpers/_mapping_helpers.dm 315"></a></h3><p>Will inject into all fitting the criteria if false, otherwise first found.</p><h3 id="var/target_name"><aside class="declaration">var </aside>target_name <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mapping/mapping_helpers/_mapping_helpers.dm#L319"><img src="git.png" width="16" height="16" title="code/modules/mapping/mapping_helpers/_mapping_helpers.dm 319"></a></h3><p>Will inject into atoms with this name.</p><h3 id="var/target_type"><aside class="declaration">var </aside>target_type <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mapping/mapping_helpers/_mapping_helpers.dm#L317"><img src="git.png" width="16" height="16" title="code/modules/mapping/mapping_helpers/_mapping_helpers.dm 317"></a></h3><p>Will inject into atoms of this type.</p><h3 id="var/trait_name"><aside class="declaration">var </aside>trait_name <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mapping/mapping_helpers/_mapping_helpers.dm#L324"><img src="git.png" width="16" height="16" title="code/modules/mapping/mapping_helpers/_mapping_helpers.dm 324"></a></h3><p>Name of the trait, in the lower-case text (NOT the upper-case define) form.</p></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>