mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 05:27:01 +01:00
7 lines
3.9 KiB
HTML
7 lines
3.9 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/obj/structure/mirror - 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/mirror.html#var">Var Details</a> - <a href="obj/structure/mirror.html#proc">Proc Details</a></header><main><h1>mirror <aside>/<a href="obj.html">obj</a>/<a href="obj/structure.html">structure</a>/<a href="obj/structure/mirror.html">mirror</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/structures/mirror.dm#L2"><img src="git.png" width="16" height="16" title="code/game/objects/structures/mirror.dm 2"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="obj/structure/mirror.html#var/can_be_spooked">can_be_spooked</a></th><td>Whether a mirror can be Boo!'d or not. Magic mirrors are animated, so this is used to stop them from looking weird</td></tr><tr><th><a href="obj/structure/mirror.html#var/spooked_icon">spooked_icon</a></th><td>what to show when a ghost Boo!'s this mirror</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="obj/structure/mirror.html#proc/flicker_ghost">flicker_ghost</a></th><td>Shows the icon in the mirror with its mask</td></tr><tr><th><a href="obj/structure/mirror.html#proc/update_spooked_icon">update_spooked_icon</a></th><td>This proc sets the icon that will show up in the mirror when spooked</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/can_be_spooked"><aside class="declaration">var </aside>can_be_spooked <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/structures/mirror.dm#L16"><img src="git.png" width="16" height="16" title="code/game/objects/structures/mirror.dm 16"></a></h3><p>Whether a mirror can be Boo!'d or not. Magic mirrors are animated, so this is used to stop them from looking weird</p><h3 id="var/spooked_icon"><aside class="declaration">var </aside>spooked_icon <aside>– /<a href="icon.html">icon</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/structures/mirror.dm#L14"><img src="git.png" width="16" height="16" title="code/game/objects/structures/mirror.dm 14"></a></h3><p>what to show when a ghost Boo!'s this mirror</p><h2 id="proc">Proc Details</h2><h3 id="proc/flicker_ghost"><aside class="declaration">proc </aside>flicker_ghost<aside>(/<a href="icon.html">icon</a>/icon_to_show) <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/structures/mirror.dm#L117"><img src="git.png" width="16" height="16" title="code/game/objects/structures/mirror.dm 117"></a></aside></h3><p>Shows the icon in the mirror with its mask</p><h3 id="proc/update_spooked_icon"><aside class="declaration">proc </aside>update_spooked_icon<aside>(/<a href="icon.html">icon</a>/icon_to_show, offset_dir, offset_pixels, wrap) <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/structures/mirror.dm#L107"><img src="git.png" width="16" height="16" title="code/game/objects/structures/mirror.dm 107"></a></aside></h3><p>This proc sets the icon that will show up in the mirror when spooked</p>
|
||
<ul>
|
||
<li>icon_to_show - which icon</li>
|
||
<li>offset_dir - you might want to move the icon so it appears in the mirror</li>
|
||
<li>offset_pixels - how many pixels you need to move the icon</li>
|
||
<li>wrap - if the icon should wrap around</li>
|
||
</ul></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> |