Files
GS13NG/datum/element/strippable.html
2025-02-05 06:19:18 +00:00

5 lines
3.0 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>/datum/element/strippable - /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/element/strippable.html#var">Var Details</a></header><main><h1>strippable <aside>/<a href="datum.html">datum</a>/<a href="datum/element.html">element</a>/<a href="datum/element/strippable.html">strippable</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/elements/strippable.dm#L2"><img src="git.png" width="16" height="16" title="code/datums/elements/strippable.dm 2"></a></h1><p>An element for atoms that, when dragged and dropped onto a mob, opens a strip panel.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/element/strippable.html#var/items">items</a></th><td>An assoc list of keys to /datum/strippable_item</td></tr><tr><th><a href="datum/element/strippable.html#var/should_strip_proc_path">should_strip_proc_path</a></th><td>A proc path that returns TRUE/FALSE if we should show the strip panel for this entity.
If it does not exist, the strip menu will always show.
Will be called with (mob/user).</td></tr><tr><th><a href="datum/element/strippable.html#var/strip_menus">strip_menus</a></th><td>An existing strip menus</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/items"><aside class="declaration">var </aside>items <aside> /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/elements/strippable.dm#L7"><img src="git.png" width="16" height="16" title="code/datums/elements/strippable.dm 7"></a></h3><p>An assoc list of keys to /datum/strippable_item</p><h3 id="var/should_strip_proc_path"><aside class="declaration">var </aside>should_strip_proc_path <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/elements/strippable.dm#L12"><img src="git.png" width="16" height="16" title="code/datums/elements/strippable.dm 12"></a></h3><p>A proc path that returns TRUE/FALSE if we should show the strip panel for this entity.
If it does not exist, the strip menu will always show.
Will be called with (mob/user).</p><h3 id="var/strip_menus"><aside class="declaration">var </aside>strip_menus <aside> /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/elements/strippable.dm#L17"><img src="git.png" width="16" height="16" title="code/datums/elements/strippable.dm 17"></a></h3><p>An existing strip menus</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>