Files
Paradise/obj/structure/displaycase.html

3 lines
6.5 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/structure/displaycase - 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="obj/structure/displaycase.html#var">Var Details</a></header><main><h1>displaycase <aside>/<a href="obj.html">obj</a>/<a href="obj/structure.html">structure</a>/<a href="obj/structure/displaycase.html">displaycase</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/structures/displaycase.dm#L1"><img src="git.png" width="16" height="16" title="code/game/objects/structures/displaycase.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="obj/structure/displaycase.html#var/alert">alert</a></th><td>If true, this is alarmed and will set off a siren when opened without proper access.</td></tr><tr><th><a href="obj/structure/displaycase.html#var/electronics">electronics</a></th><td>The electronics currently installed in this showpiece.</td></tr><tr><th><a href="obj/structure/displaycase.html#var/force_alarm">force_alarm</a></th><td>Do we want to force alarms even if off station?</td></tr><tr><th><a href="obj/structure/displaycase.html#var/open">open</a></th><td>If this is currently unlocked</td></tr><tr><th><a href="obj/structure/displaycase.html#var/openable">openable</a></th><td>If false, this can never be opened, and the item inside should be inaccessible. Good for showcases.</td></tr><tr><th><a href="obj/structure/displaycase.html#var/showpiece">showpiece</a></th><td>The object stored inside.</td></tr><tr><th><a href="obj/structure/displaycase.html#var/start_showpiece_type">start_showpiece_type</a></th><td>The type that should be instantiated to fill the showpiece.</td></tr><tr><th><a href="obj/structure/displaycase.html#var/start_showpieces">start_showpieces</a></th><td>A list of random items that could possibly fill the case, as well as a flavor message for them.
Takes sublists in the form of list(&quot;type&quot; = /obj/item/bikehorn, &quot;trophy_message&quot; = &quot;henk&quot;)</td></tr><tr><th><a href="obj/structure/displaycase.html#var/trophy_message">trophy_message</a></th><td>A flavor message to show with this item.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/alert"><aside class="declaration">var </aside>alert <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/structures/displaycase.dm#L15"><img src="git.png" width="16" height="16" title="code/game/objects/structures/displaycase.dm 15"></a></h3><p>If true, this is alarmed and will set off a siren when opened without proper access.</p><h3 id="var/electronics"><aside class="declaration">var </aside>electronics <aside> /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/airlock_electronics.html">airlock_electronics</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/structures/displaycase.dm#L21"><img src="git.png" width="16" height="16" title="code/game/objects/structures/displaycase.dm 21"></a></h3><p>The electronics currently installed in this showpiece.</p><h3 id="var/force_alarm"><aside class="declaration">var </aside>force_alarm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/structures/displaycase.dm#L30"><img src="git.png" width="16" height="16" title="code/game/objects/structures/displaycase.dm 30"></a></h3><p>Do we want to force alarms even if off station?</p><h3 id="var/open"><aside class="declaration">var </aside>open <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/structures/displaycase.dm#L17"><img src="git.png" width="16" height="16" title="code/game/objects/structures/displaycase.dm 17"></a></h3><p>If this is currently unlocked</p><h3 id="var/openable"><aside class="declaration">var </aside>openable <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/structures/displaycase.dm#L19"><img src="git.png" width="16" height="16" title="code/game/objects/structures/displaycase.dm 19"></a></h3><p>If false, this can never be opened, and the item inside should be inaccessible. Good for showcases.</p><h3 id="var/showpiece"><aside class="declaration">var </aside>showpiece <aside> /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/structures/displaycase.dm#L13"><img src="git.png" width="16" height="16" title="code/game/objects/structures/displaycase.dm 13"></a></h3><p>The object stored inside.</p><h3 id="var/start_showpiece_type"><aside class="declaration">var </aside>start_showpiece_type <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/structures/displaycase.dm#L23"><img src="git.png" width="16" height="16" title="code/game/objects/structures/displaycase.dm 23"></a></h3><p>The type that should be instantiated to fill the showpiece.</p><h3 id="var/start_showpieces"><aside class="declaration">var </aside>start_showpieces <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/structures/displaycase.dm#L26"><img src="git.png" width="16" height="16" title="code/game/objects/structures/displaycase.dm 26"></a></h3><p>A list of random items that could possibly fill the case, as well as a flavor message for them.
Takes sublists in the form of list(&quot;type&quot; = /obj/item/bikehorn, &quot;trophy_message&quot; = &quot;henk&quot;)</p><h3 id="var/trophy_message"><aside class="declaration">var </aside>trophy_message <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/structures/displaycase.dm#L28"><img src="git.png" width="16" height="16" title="code/game/objects/structures/displaycase.dm 28"></a></h3><p>A flavor message to show with this item.</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>