4 lines
2.1 KiB
HTML
4 lines
2.1 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/uplink - /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/component/uplink.html#var">Var Details</a></header><main><h1>uplink <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/uplink.html">uplink</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/uplink.dm#L11"><img src="git.png" width="16" height="16" title="code/datums/components/uplink.dm 11"></a></h1><p>Uplinks</p>
|
||
<p>All /obj/item(s) have a hidden_uplink var. By default it's null. Give the item one with 'new(src') (it must be in it's contents). Then add 'uses.'
|
||
Use whatever conditionals you want to check that the user has an uplink, and then call interact() on their uplink.
|
||
You might also want the uplink menu to open if active. Check if the uplink is 'active' and then interact() with it.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/uplink.html#var/unlock_text">unlock_text</a></th><td>Instructions on how to access the uplink based on location</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/unlock_text"><aside class="declaration">var </aside>unlock_text <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/uplink.dm#L31"><img src="git.png" width="16" height="16" title="code/datums/components/uplink.dm 31"></a></h3><p>Instructions on how to access the uplink based on location</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> |