11 lines
5.0 KiB
HTML
11 lines
5.0 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/obj/item/cardboard_cutout - /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/item/cardboard_cutout.html#var">Var Details</a> - <a href="obj/item/cardboard_cutout.html#proc">Proc Details</a></header><main><h1>cardboard_cutout <aside>/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/cardboard_cutout.html">cardboard_cutout</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/cardboard_cutouts.dm#L2"><img src="git.png" width="16" height="16" title="code/game/objects/items/cardboard_cutouts.dm 2"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="obj/item/cardboard_cutout.html#var/deceptive">deceptive</a></th><td>If the cutout actually appears as what it portray and not a discolored version</td></tr><tr><th><a href="obj/item/cardboard_cutout.html#var/possible_appearances">possible_appearances</a></th><td>Possible restyles for the cutout, add an entry in change_appearance() if you add to here</td></tr><tr><th><a href="obj/item/cardboard_cutout.html#var/pushed_over">pushed_over</a></th><td>If the cutout is pushed over and has to be righted</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="obj/item/cardboard_cutout.html#proc/change_appearance">change_appearance</a></th><td>change_appearance: Changes a skin of the cardboard cutout based on a user's choice</td></tr><tr><th><a href="obj/item/cardboard_cutout.html#proc/check_menu">check_menu</a></th><td>check_menu: Checks if we are allowed to interact with a radial menu</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/deceptive"><aside class="declaration">var </aside>deceptive <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/cardboard_cutouts.dm#L16"><img src="git.png" width="16" height="16" title="code/game/objects/items/cardboard_cutouts.dm 16"></a></h3><p>If the cutout actually appears as what it portray and not a discolored version</p><h3 id="var/possible_appearances"><aside class="declaration">var </aside>possible_appearances <aside>– /static/list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/cardboard_cutouts.dm#L12"><img src="git.png" width="16" height="16" title="code/game/objects/items/cardboard_cutouts.dm 12"></a></h3><p>Possible restyles for the cutout, add an entry in change_appearance() if you add to here</p><h3 id="var/pushed_over"><aside class="declaration">var </aside>pushed_over <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/cardboard_cutouts.dm#L14"><img src="git.png" width="16" height="16" title="code/game/objects/items/cardboard_cutouts.dm 14"></a></h3><p>If the cutout is pushed over and has to be righted</p><h2 id="proc">Proc Details</h2><h3 id="proc/change_appearance"><aside class="declaration">proc </aside>change_appearance<aside>(/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/toy/crayon.html">toy/crayon</a>/crayon, /<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/user) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/cardboard_cutouts.dm#L111"><img src="git.png" width="16" height="16" title="code/game/objects/items/cardboard_cutouts.dm 111"></a></aside></h3><p>change_appearance: Changes a skin of the cardboard cutout based on a user's choice</p>
|
||
<p>Arguments:</p>
|
||
<ul>
|
||
<li>crayon The crayon used to change and recolor the cardboard cutout</li>
|
||
<li>user The mob choosing a skin of the cardboard cutout</li>
|
||
</ul><h3 id="proc/check_menu"><aside class="declaration">proc </aside>check_menu<aside>(/<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/user, /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/toy/crayon.html">toy/crayon</a>/crayon) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/cardboard_cutouts.dm#L234"><img src="git.png" width="16" height="16" title="code/game/objects/items/cardboard_cutouts.dm 234"></a></aside></h3><p>check_menu: Checks if we are allowed to interact with a radial menu</p>
|
||
<p>Arguments:</p>
|
||
<ul>
|
||
<li>user The mob interacting with a menu</li>
|
||
<li>crayon The crayon used to interact with a menu</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> |