Deploying to gh-pages from @ e8e0068531 🚀
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/SDQL2_query - /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/SDQL2_query.html#proc">Proc Details</a></header><main><h1>SDQL2_query <aside>/<a href="datum.html">datum</a>/<a href="datum/SDQL2_query.html">SDQL2_query</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/admin/verbs/SDQL2/SDQL_2.dm#L284"><img src="git.png" width="16" height="16" title="code/modules/admin/verbs/SDQL2/SDQL_2.dm 284"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/SDQL2_query.html#proc/SDQL_print">SDQL_print</a></th><td>Recursively prints out an object to text list for SDQL2 output to admins, with VV links and all.
|
||||
Recursion limit: 50
|
||||
Limit imposed by callers should be around 10000 objects
|
||||
Seriously, if you hit those limits, you're doing something wrong.</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/SDQL_print"><aside class="declaration">proc </aside>SDQL_print<aside>(/<a href="datum.html">datum</a>/object, /list/text_list, print_nulls, recursion, linebreak) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/admin/verbs/SDQL2/SDQL_2.dm#L702"><img src="git.png" width="16" height="16" title="code/modules/admin/verbs/SDQL2/SDQL_2.dm 702"></a></aside></h3><p>Recursively prints out an object to text list for SDQL2 output to admins, with VV links and all.
|
||||
Recursion limit: 50
|
||||
Limit imposed by callers should be around 10000 objects
|
||||
Seriously, if you hit those limits, you're doing something wrong.</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/abductor_gear - /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/abductor_gear.html#var">Var Details</a></header><main><h1>abductor_gear <aside>/<a href="datum.html">datum</a>/<a href="datum/abductor_gear.html">abductor_gear</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/abductor/equipment/orderable_gear.dm#L3"><img src="git.png" width="16" height="16" title="code/modules/antagonists/abductor/equipment/orderable_gear.dm 3"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/abductor_gear.html#var/build_path">build_path</a></th><td>Build path of the gear itself</td></tr><tr><th><a href="datum/abductor_gear.html#var/category">category</a></th><td>Category of the gear</td></tr><tr><th><a href="datum/abductor_gear.html#var/cost">cost</a></th><td>Credit cost of the gear</td></tr><tr><th><a href="datum/abductor_gear.html#var/description">description</a></th><td>Description of the gear</td></tr><tr><th><a href="datum/abductor_gear.html#var/id">id</a></th><td>Unique ID of the gear</td></tr><tr><th><a href="datum/abductor_gear.html#var/name">name</a></th><td>Name of the gear</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/build_path"><aside class="declaration">var </aside>build_path <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/abductor/equipment/orderable_gear.dm#L13"><img src="git.png" width="16" height="16" title="code/modules/antagonists/abductor/equipment/orderable_gear.dm 13"></a></h3><p>Build path of the gear itself</p><h3 id="var/category"><aside class="declaration">var </aside>category <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/abductor/equipment/orderable_gear.dm#L15"><img src="git.png" width="16" height="16" title="code/modules/antagonists/abductor/equipment/orderable_gear.dm 15"></a></h3><p>Category of the gear</p><h3 id="var/cost"><aside class="declaration">var </aside>cost <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/abductor/equipment/orderable_gear.dm#L11"><img src="git.png" width="16" height="16" title="code/modules/antagonists/abductor/equipment/orderable_gear.dm 11"></a></h3><p>Credit cost of the gear</p><h3 id="var/description"><aside class="declaration">var </aside>description <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/abductor/equipment/orderable_gear.dm#L7"><img src="git.png" width="16" height="16" title="code/modules/antagonists/abductor/equipment/orderable_gear.dm 7"></a></h3><p>Description of the gear</p><h3 id="var/id"><aside class="declaration">var </aside>id <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/abductor/equipment/orderable_gear.dm#L9"><img src="git.png" width="16" height="16" title="code/modules/antagonists/abductor/equipment/orderable_gear.dm 9"></a></h3><p>Unique ID of the gear</p><h3 id="var/name"><aside class="declaration">var </aside>name <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/abductor/equipment/orderable_gear.dm#L5"><img src="git.png" width="16" height="16" title="code/modules/antagonists/abductor/equipment/orderable_gear.dm 5"></a></h3><p>Name of the gear</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>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/action - /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/action.html#var">Var Details</a> - <a href="datum/action.html#proc">Proc Details</a></header><main><h1>action <aside>/<a href="datum.html">datum</a>/<a href="datum/action.html">action</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L7"><img src="git.png" width="16" height="16" title="code/datums/action.dm 7"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/action.html#var/background_icon_state">background_icon_state</a></th><td>This is the icon state state for the BACKGROUND underlay icon of the button
|
||||
(If set to ACTION_BUTTON_DEFAULT_BACKGROUND, uses the hud's default background)</td></tr><tr><th><a href="datum/action.html#var/button_icon">button_icon</a></th><td>This is the file for the BACKGROUND underlay icon of the button</td></tr><tr><th><a href="datum/action.html#var/button_icon_state">button_icon_state</a></th><td>This is the icon state for the icon that appears on the button</td></tr><tr><th><a href="datum/action.html#var/buttontooltipstyle">buttontooltipstyle</a></th><td>The style the button's tooltips appear to be</td></tr><tr><th><a href="datum/action.html#var/check_flags">check_flags</a></th><td>Flags that will determine of the owner / user of the action can... use the action</td></tr><tr><th><a href="datum/action.html#var/default_button_position">default_button_position</a></th><td>Where any buttons we create should be by default. Accepts screen_loc and location defines</td></tr><tr><th><a href="datum/action.html#var/desc">desc</a></th><td>The description of what the action does, shown in button tooltips</td></tr><tr><th><a href="datum/action.html#var/icon_icon">icon_icon</a></th><td>This is the file for the icon that appears on the button</td></tr><tr><th><a href="datum/action.html#var/name">name</a></th><td>The name of the action</td></tr><tr><th><a href="datum/action.html#var/owner">owner</a></th><td>This is who currently owns the action, and most often, this is who is using the action if it is triggered
|
||||
This can be the same as "target" but is not ALWAYS the same - this is set and unset with Grant() and Remove()</td></tr><tr><th><a href="datum/action.html#var/target">target</a></th><td>The target the action is attached to. If the target datum is deleted, the action is as well.
|
||||
Set in New() via the proc link_to(). PLEASE set a target if you're making an action</td></tr><tr><th><a href="datum/action.html#var/transparent_when_unavailable">transparent_when_unavailable</a></th><td>Whether the button becomes transparent when it can't be used, or just reddened</td></tr><tr><th><a href="datum/action.html#var/viewers">viewers</a></th><td>List of all mobs that are viewing our action button -> A unique movable for them to view.</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/action.html#proc/GiveAction">GiveAction</a></th><td>Gives our action to the passed viewer.
|
||||
Puts our action in their actions list and shows them the button.</td></tr><tr><th><a href="datum/action.html#proc/HideFrom">HideFrom</a></th><td>Removes our action from the passed viewer.</td></tr><tr><th><a href="datum/action.html#proc/IsAvailable">IsAvailable</a></th><td>Whether our action is currently available to use or not</td></tr><tr><th><a href="datum/action.html#proc/ShowTo">ShowTo</a></th><td>Adds our action button to the screen of the passed viewer.</td></tr><tr><th><a href="datum/action.html#proc/Trigger">Trigger</a></th><td>Actually triggers the effects of the action.
|
||||
Called when the on-screen button is clicked, for example.</td></tr><tr><th><a href="datum/action.html#proc/clear_ref">clear_ref</a></th><td>Signal proc that clears any references based on the owner or target deleting
|
||||
If the owner's deleted, we will simply remove from them, but if the target's deleted, we will self-delete</td></tr><tr><th><a href="datum/action.html#proc/update_status_on_signal">update_status_on_signal</a></th><td>A general use signal proc that reacts to an event and updates JUST our button's status</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/background_icon_state"><aside class="declaration">var </aside>background_icon_state <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L36"><img src="git.png" width="16" height="16" title="code/datums/action.dm 36"></a></h3><p>This is the icon state state for the BACKGROUND underlay icon of the button
|
||||
(If set to ACTION_BUTTON_DEFAULT_BACKGROUND, uses the hud's default background)</p><h3 id="var/button_icon"><aside class="declaration">var </aside>button_icon <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L33"><img src="git.png" width="16" height="16" title="code/datums/action.dm 33"></a></h3><p>This is the file for the BACKGROUND underlay icon of the button</p><h3 id="var/button_icon_state"><aside class="declaration">var </aside>button_icon_state <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L41"><img src="git.png" width="16" height="16" title="code/datums/action.dm 41"></a></h3><p>This is the icon state for the icon that appears on the button</p><h3 id="var/buttontooltipstyle"><aside class="declaration">var </aside>buttontooltipstyle <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L30"><img src="git.png" width="16" height="16" title="code/datums/action.dm 30"></a></h3><p>The style the button's tooltips appear to be</p><h3 id="var/check_flags"><aside class="declaration">var </aside>check_flags <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L21"><img src="git.png" width="16" height="16" title="code/datums/action.dm 21"></a></h3><p>Flags that will determine of the owner / user of the action can... use the action</p><h3 id="var/default_button_position"><aside class="declaration">var </aside>default_button_position <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L16"><img src="git.png" width="16" height="16" title="code/datums/action.dm 16"></a></h3><p>Where any buttons we create should be by default. Accepts screen_loc and location defines</p><h3 id="var/desc"><aside class="declaration">var </aside>desc <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L11"><img src="git.png" width="16" height="16" title="code/datums/action.dm 11"></a></h3><p>The description of what the action does, shown in button tooltips</p><h3 id="var/icon_icon"><aside class="declaration">var </aside>icon_icon <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L39"><img src="git.png" width="16" height="16" title="code/datums/action.dm 39"></a></h3><p>This is the file for the icon that appears on the button</p><h3 id="var/name"><aside class="declaration">var </aside>name <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L9"><img src="git.png" width="16" height="16" title="code/datums/action.dm 9"></a></h3><p>The name of the action</p><h3 id="var/owner"><aside class="declaration">var </aside>owner <aside>– /<a href="mob.html">mob</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L19"><img src="git.png" width="16" height="16" title="code/datums/action.dm 19"></a></h3><p>This is who currently owns the action, and most often, this is who is using the action if it is triggered
|
||||
This can be the same as "target" but is not ALWAYS the same - this is set and unset with Grant() and Remove()</p><h3 id="var/target"><aside class="declaration">var </aside>target <aside>– /<a href="datum.html">datum</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L14"><img src="git.png" width="16" height="16" title="code/datums/action.dm 14"></a></h3><p>The target the action is attached to. If the target datum is deleted, the action is as well.
|
||||
Set in New() via the proc link_to(). PLEASE set a target if you're making an action</p><h3 id="var/transparent_when_unavailable"><aside class="declaration">var </aside>transparent_when_unavailable <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L25"><img src="git.png" width="16" height="16" title="code/datums/action.dm 25"></a></h3><p>Whether the button becomes transparent when it can't be used, or just reddened</p><h3 id="var/viewers"><aside class="declaration">var </aside>viewers <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L27"><img src="git.png" width="16" height="16" title="code/datums/action.dm 27"></a></h3><p>List of all mobs that are viewing our action button -> A unique movable for them to view.</p><h2 id="proc">Proc Details</h2><h3 id="proc/GiveAction"><aside class="declaration">proc </aside>GiveAction<aside>(/<a href="mob.html">mob</a>/viewer) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L210"><img src="git.png" width="16" height="16" title="code/datums/action.dm 210"></a></aside></h3><p>Gives our action to the passed viewer.
|
||||
Puts our action in their actions list and shows them the button.</p><h3 id="proc/HideFrom"><aside class="declaration">proc </aside>HideFrom<aside>(/<a href="mob.html">mob</a>/viewer) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L236"><img src="git.png" width="16" height="16" title="code/datums/action.dm 236"></a></aside></h3><p>Removes our action from the passed viewer.</p><h3 id="proc/IsAvailable"><aside class="declaration">proc </aside>IsAvailable<aside>(silent) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L128"><img src="git.png" width="16" height="16" title="code/datums/action.dm 128"></a></aside></h3><p>Whether our action is currently available to use or not</p>
|
||||
<ul>
|
||||
<li>silent - If false this is being called to check if we have any messages to show to the owner</li>
|
||||
</ul><h3 id="proc/ShowTo"><aside class="declaration">proc </aside>ShowTo<aside>(/<a href="mob.html">mob</a>/viewer) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L219"><img src="git.png" width="16" height="16" title="code/datums/action.dm 219"></a></aside></h3><p>Adds our action button to the screen of the passed viewer.</p><h3 id="proc/Trigger"><aside class="declaration">proc </aside>Trigger<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L114"><img src="git.png" width="16" height="16" title="code/datums/action.dm 114"></a></aside></h3><p>Actually triggers the effects of the action.
|
||||
Called when the on-screen button is clicked, for example.</p><h3 id="proc/clear_ref"><aside class="declaration">proc </aside>clear_ref<aside>(/<a href="datum.html">datum</a>/ref) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L62"><img src="git.png" width="16" height="16" title="code/datums/action.dm 62"></a></aside></h3><p>Signal proc that clears any references based on the owner or target deleting
|
||||
If the owner's deleted, we will simply remove from them, but if the target's deleted, we will self-delete</p><h3 id="proc/update_status_on_signal"><aside class="declaration">proc </aside>update_status_on_signal<aside>(/<a href="datum.html">datum</a>/source, new_stat, old_stat) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L269"><img src="git.png" width="16" height="16" title="code/datums/action.dm 269"></a></aside></h3><p>A general use signal proc that reacts to an event and updates JUST our button's status</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/action/cooldown - /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/action/cooldown.html#proc">Proc Details</a></header><main><h1>cooldown <aside>/<a href="datum.html">datum</a>/<a href="datum/action.html">action</a>/<a href="datum/action/cooldown.html">cooldown</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L824"><img src="git.png" width="16" height="16" title="code/datums/action.dm 824"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/action/cooldown.html#proc/Activate">Activate</a></th><td>To be implemented by subtypes</td></tr><tr><th><a href="datum/action/cooldown.html#proc/InterceptClickOn">InterceptClickOn</a></th><td>Intercepts client owner clicks to activate the ability</td></tr><tr><th><a href="datum/action/cooldown.html#proc/PreActivate">PreActivate</a></th><td>For signal calling</td></tr><tr><th><a href="datum/action/cooldown.html#proc/StartCooldown">StartCooldown</a></th><td>Starts a cooldown time to be shared with similar abilities, will use default cooldown time if an override is not specified</td></tr><tr><th><a href="datum/action/cooldown.html#proc/StartCooldownSelf">StartCooldownSelf</a></th><td>Starts a cooldown time for this ability only, will use default cooldown time if an override is not specified</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/Activate"><aside class="declaration">proc </aside>Activate<aside>(/<a href="atom.html">atom</a>/target) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L907"><img src="git.png" width="16" height="16" title="code/datums/action.dm 907"></a></aside></h3><p>To be implemented by subtypes</p><h3 id="proc/InterceptClickOn"><aside class="declaration">proc </aside>InterceptClickOn<aside>(/<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/caller, params, /<a href="atom.html">atom</a>/target) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L890"><img src="git.png" width="16" height="16" title="code/datums/action.dm 890"></a></aside></h3><p>Intercepts client owner clicks to activate the ability</p><h3 id="proc/PreActivate"><aside class="declaration">proc </aside>PreActivate<aside>(/<a href="atom.html">atom</a>/target) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L900"><img src="git.png" width="16" height="16" title="code/datums/action.dm 900"></a></aside></h3><p>For signal calling</p><h3 id="proc/StartCooldown"><aside class="declaration">proc </aside>StartCooldown<aside>(override_cooldown_time) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L851"><img src="git.png" width="16" height="16" title="code/datums/action.dm 851"></a></aside></h3><p>Starts a cooldown time to be shared with similar abilities, will use default cooldown time if an override is not specified</p><h3 id="proc/StartCooldownSelf"><aside class="declaration">proc </aside>StartCooldownSelf<aside>(override_cooldown_time) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/action.dm#L862"><img src="git.png" width="16" height="16" title="code/datums/action.dm 862"></a></aside></h3><p>Starts a cooldown time for this ability only, will use default cooldown time if an override is not specified</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/action/cooldown/bloodsucker - /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/action/cooldown/bloodsucker.html#var">Var Details</a></header><main><h1>bloodsucker <aside>/<a href="datum.html">datum</a>/<a href="datum/action.html">action</a>/<a href="datum/action/cooldown.html">cooldown</a>/<a href="datum/action/cooldown/bloodsucker.html">bloodsucker</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/bloodsucker/bloodsucker_powers.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/antagonists/bloodsucker/bloodsucker_powers.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/action/cooldown/bloodsucker.html#var/background_icon_state_off">background_icon_state_off</a></th><td>Background icon when the Power is NOT active.</td></tr><tr><th><a href="datum/action/cooldown/bloodsucker.html#var/background_icon_state_on">background_icon_state_on</a></th><td>Background icon when the Power is active.</td></tr><tr><th><a href="datum/action/cooldown/bloodsucker.html#var/cooldown_time">cooldown_time</a></th><td>Cooldown you'll have to wait between each use, decreases depending on level.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/background_icon_state_off"><aside class="declaration">var </aside>background_icon_state_off <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/bloodsucker/bloodsucker_powers.dm#L17"><img src="git.png" width="16" height="16" title="code/modules/antagonists/bloodsucker/bloodsucker_powers.dm 17"></a></h3><p>Background icon when the Power is NOT active.</p><h3 id="var/background_icon_state_on"><aside class="declaration">var </aside>background_icon_state_on <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/bloodsucker/bloodsucker_powers.dm#L15"><img src="git.png" width="16" height="16" title="code/modules/antagonists/bloodsucker/bloodsucker_powers.dm 15"></a></h3><p>Background icon when the Power is active.</p><h3 id="var/cooldown_time">cooldown_time <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/bloodsucker/bloodsucker_powers.dm#L12"><img src="git.png" width="16" height="16" title="code/modules/antagonists/bloodsucker/bloodsucker_powers.dm 12"></a></h3><p>Cooldown you'll have to wait between each use, decreases depending on level.</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/action/cooldown/bloodsucker/targeted/haste - /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/action/cooldown/bloodsucker/targeted/haste.html#var">Var Details</a></header><main><h1>haste <aside>/<a href="datum.html">datum</a>/<a href="datum/action.html">action</a>/<a href="datum/action/cooldown.html">cooldown</a>/<a href="datum/action/cooldown/bloodsucker.html">bloodsucker</a>/<a href="datum/action/cooldown/bloodsucker/targeted/haste.html">targeted/haste</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/bloodsucker/powers/haste.dm#L6"><img src="git.png" width="16" height="16" title="code/modules/antagonists/bloodsucker/powers/haste.dm 6"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/action/cooldown/bloodsucker/targeted/haste.html#var/speed_override">speed_override</a></th><td>If set, uses this speed in deciseconds instead of world.tick_lag</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/speed_override"><aside class="declaration">var </aside>speed_override <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/bloodsucker/powers/haste.dm#L21"><img src="git.png" width="16" height="16" title="code/modules/antagonists/bloodsucker/powers/haste.dm 21"></a></h3><p>If set, uses this speed in deciseconds instead of world.tick_lag</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/action/cooldown/riot - /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/action/cooldown/riot.html#proc">Proc Details</a></header><main><h1>riot <aside>/<a href="datum.html">datum</a>/<a href="datum/action.html">action</a>/<a href="datum/action/cooldown.html">cooldown</a>/<a href="datum/action/cooldown/riot.html">riot</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mob/living/simple_animal/hostile/regalrat.dm#L125"><img src="git.png" width="16" height="16" title="code/modules/mob/living/simple_animal/hostile/regalrat.dm 125"></a></h1><p>This action checks all nearby mice, and converts them into hostile rats. If no mice are nearby, creates a new one.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/action/cooldown/riot.html#proc/Activate">Activate</a></th><td>Checks to see if there are any nearby mice. Does not count Rats.</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/Activate"><aside class="parent"><a title="/datum/action/cooldown" href="datum/action/cooldown.html#proc/Activate">↑</a></aside>Activate<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mob/living/simple_animal/hostile/regalrat.dm#L135"><img src="git.png" width="16" height="16" title="code/modules/mob/living/simple_animal/hostile/regalrat.dm 135"></a></aside></h3><p>Checks to see if there are any nearby mice. Does not count Rats.</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/action/cooldown/spawn_induction_package - /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/action/cooldown/spawn_induction_package.html#var">Var Details</a></header><main><h1>spawn_induction_package <aside>/<a href="datum.html">datum</a>/<a href="datum/action.html">action</a>/<a href="datum/action/cooldown.html">cooldown</a>/<a href="datum/action/cooldown/spawn_induction_package.html">spawn_induction_package</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/gang/gang.dm#L219"><img src="git.png" width="16" height="16" title="code/modules/antagonists/gang/gang.dm 219"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/action/cooldown/spawn_induction_package.html#var/my_gang_datum">my_gang_datum</a></th><td>The family antagonist datum of the "owner" of this action.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/my_gang_datum"><aside class="declaration">var </aside>my_gang_datum <aside>– /<a href="datum.html">datum</a>/<a href="datum/antagonist.html">antagonist</a>/<a href="datum/antagonist/gang.html">gang</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/gang/gang.dm#L229"><img src="git.png" width="16" height="16" title="code/modules/antagonists/gang/gang.dm 229"></a></h3><p>The family antagonist datum of the "owner" of this action.</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>
|
||||
@@ -0,0 +1,5 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/action/innate/ability/humanoid_customization - /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/action/innate/ability/humanoid_customization.html#proc">Proc Details</a></header><main><h1>humanoid_customization <aside>/<a href="datum.html">datum</a>/<a href="datum/action.html">action</a>/<a href="datum/action/innate/ability/humanoid_customization.html">innate/ability/humanoid_customization</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mob/living/carbon/human/innate_abilities/customization.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/mob/living/carbon/human/innate_abilities/customization.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/action/innate/ability/humanoid_customization.html#proc/change_form">change_form</a></th><td>// NOTICE: This currently doens't support skin tone - if anyone wants to add this to non slimes, it's up to YOU to do this.
|
||||
/ (someone should also add genital color switching, more mutant color selection)
|
||||
maybe just make this entire thing tgui based. maybe.</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/change_form"><aside class="declaration">proc </aside>change_form<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mob/living/carbon/human/innate_abilities/customization.dm#L23"><img src="git.png" width="16" height="16" title="code/modules/mob/living/carbon/human/innate_abilities/customization.dm 23"></a></aside></h3><p>// NOTICE: This currently doens't support skin tone - if anyone wants to add this to non slimes, it's up to YOU to do this.
|
||||
/ (someone should also add genital color switching, more mutant color selection)
|
||||
maybe just make this entire thing tgui based. maybe.</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/action/innate/cult/blood_spell - /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/action/innate/cult/blood_spell.html#var">Var Details</a></header><main><h1>blood_spell <aside>/<a href="datum.html">datum</a>/<a href="datum/action.html">action</a>/<a href="datum/action/innate/cult/blood_spell.html">innate/cult/blood_spell</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/cult/blood_magic.dm#L92"><img src="git.png" width="16" height="16" title="code/modules/antagonists/cult/blood_magic.dm 92"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/action/innate/cult/blood_spell.html#var/positioned">positioned</a></th><td>Have we already been positioned into our starting location?</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/positioned"><aside class="declaration">var </aside>positioned <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/cult/blood_magic.dm#L104"><img src="git.png" width="16" height="16" title="code/modules/antagonists/cult/blood_magic.dm 104"></a></h3><p>Have we already been positioned into our starting 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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/action/innate/rune_shatter - /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/action/innate/rune_shatter.html#var">Var Details</a></header><main><h1>rune_shatter <aside>/<a href="datum.html">datum</a>/<a href="datum/action.html">action</a>/<a href="datum/action/innate/rune_shatter.html">innate/rune_shatter</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/eldritch_cult/eldritch_items.dm#L369"><img src="git.png" width="16" height="16" title="code/modules/antagonists/eldritch_cult/eldritch_items.dm 369"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/action/innate/rune_shatter.html#var/sword">sword</a></th><td>Reference to the rune knife it is inside of</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/sword"><aside class="declaration">var </aside>sword <aside>– /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/melee/rune_knife.html">melee/rune_knife</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/eldritch_cult/eldritch_items.dm#L379"><img src="git.png" width="16" height="16" title="code/modules/antagonists/eldritch_cult/eldritch_items.dm 379"></a></h3><p>Reference to the rune knife it is inside of</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/action/item_action/mod - /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/action/item_action/mod.html#var">Var Details</a></header><main><h1>mod <aside>/<a href="datum.html">datum</a>/<a href="datum/action.html">action</a>/<a href="datum/action/item_action/mod.html">item_action/mod</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_actions.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_actions.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/action/item_action/mod.html#var/ai_action">ai_action</a></th><td>Whether this action is intended for the AI. Stuff breaks a lot if this is done differently.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/ai_action"><aside class="declaration">var </aside>ai_action <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mod/mod_actions.dm#L7"><img src="git.png" width="16" height="16" title="code/modules/mod/mod_actions.dm 7"></a></h3><p>Whether this action is intended for the AI. Stuff breaks a lot if this is done differently.</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>
|
||||
@@ -0,0 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/action/item_action/stickmen - /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/action/item_action/stickmen.html#proc">Proc Details</a></header><main><h1>stickmen <aside>/<a href="datum.html">datum</a>/<a href="datum/action.html">action</a>/<a href="datum/action/item_action/stickmen.html">item_action/stickmen</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/clothing/suits/wiz_robe.dm#L175"><img src="git.png" width="16" height="16" title="code/modules/clothing/suits/wiz_robe.dm 175"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/action/item_action/stickmen.html#proc/rally">rally</a></th><td>Rallies your army of stickmen to whichever target the user is pointing.
|
||||
Should the user be on harm intent and the target be a living mob that's not the user or a fellow stickman,
|
||||
said target will be added to a list of foes which the stickmen will gladly dispose regardless of faction.
|
||||
This is designed so stickmen will move toward whatever you point at even when you don't want to, that's the downside.</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/rally"><aside class="declaration">proc </aside>rally<aside>(/<a href="mob.html">mob</a>/source, /<a href="atom.html">atom</a>/A) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/clothing/suits/wiz_robe.dm#L267"><img src="git.png" width="16" height="16" title="code/modules/clothing/suits/wiz_robe.dm 267"></a></aside></h3><p>Rallies your army of stickmen to whichever target the user is pointing.
|
||||
Should the user be on harm intent and the target be a living mob that's not the user or a fellow stickman,
|
||||
said target will be added to a list of foes which the stickmen will gladly dispose regardless of faction.
|
||||
This is designed so stickmen will move toward whatever you point at even when you don't want to, that's the downside.</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/action/vehicle/ridden/scooter/skateboard/ollie - /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/action/vehicle/ridden/scooter/skateboard/ollie.html#var">Var Details</a></header><main><h1>ollie <aside>/<a href="datum.html">datum</a>/<a href="datum/action.html">action</a>/<a href="datum/action/vehicle/ridden/scooter/skateboard/ollie.html">vehicle/ridden/scooter/skateboard/ollie</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/vehicles/vehicle_actions.dm#L194"><img src="git.png" width="16" height="16" title="code/modules/vehicles/vehicle_actions.dm 194"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/action/vehicle/ridden/scooter/skateboard/ollie.html#var/next_ollie">next_ollie</a></th><td>Cooldown to next jump</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/next_ollie"><aside class="declaration">var </aside>next_ollie <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/vehicles/vehicle_actions.dm#L201"><img src="git.png" width="16" height="16" title="code/modules/vehicles/vehicle_actions.dm 201"></a></h3><p>Cooldown to next jump</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>
|
||||
@@ -0,0 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/action_group - /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/action_group.html#var">Var Details</a> - <a href="datum/action_group.html#proc">Proc Details</a></header><main><h1>action_group <aside>/<a href="datum.html">datum</a>/<a href="datum/action_group.html">action_group</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_onclick/hud/hud.dm#L447"><img src="git.png" width="16" height="16" title="code/_onclick/hud/hud.dm 447"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/action_group.html#var/actions">actions</a></th><td>The actions we're managing</td></tr><tr><th><a href="datum/action_group.html#var/column_max">column_max</a></th><td>Max amount of buttons we can have per row
|
||||
Indexes at 1</td></tr><tr><th><a href="datum/action_group.html#var/landing">landing</a></th><td>Our landing screen object</td></tr><tr><th><a href="datum/action_group.html#var/location">location</a></th><td>The screen location we go by</td></tr><tr><th><a href="datum/action_group.html#var/max_rows">max_rows</a></th><td>How many rows of actions we can have at max before we just stop hiding
|
||||
Indexes at 1</td></tr><tr><th><a href="datum/action_group.html#var/north_offset">north_offset</a></th><td>The initial vertical offset of our action buttons</td></tr><tr><th><a href="datum/action_group.html#var/owner">owner</a></th><td>The hud we're owned by</td></tr><tr><th><a href="datum/action_group.html#var/pixel_north_offset">pixel_north_offset</a></th><td>The pixel vertical offset of our action buttons</td></tr><tr><th><a href="datum/action_group.html#var/row_offset">row_offset</a></th><td>How far "ahead" of the first row we start. Lets us "scroll" our rows
|
||||
Indexes at 1</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/action_group.html#proc/ButtonNumberToScreenCoords">ButtonNumberToScreenCoords</a></th><td>Accepts a number represeting our position in the group, indexes at 0 to make the math nicer</td></tr><tr><th><a href="datum/action_group.html#proc/clear_landing">clear_landing</a></th><td>Clears any landing objects we may currently have</td></tr><tr><th><a href="datum/action_group.html#proc/generate_landing">generate_landing</a></th><td>Generates a landing object that can be dropped on to join this group</td></tr><tr><th><a href="datum/action_group.html#proc/size">size</a></th><td>Returns the amount of objects we're storing at the moment</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/actions"><aside class="declaration">var </aside>actions <aside>– /list/atom/movable/screen/movable/action_button</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_onclick/hud/hud.dm#L451"><img src="git.png" width="16" height="16" title="code/_onclick/hud/hud.dm 451"></a></h3><p>The actions we're managing</p><h3 id="var/column_max"><aside class="declaration">var </aside>column_max <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_onclick/hud/hud.dm#L458"><img src="git.png" width="16" height="16" title="code/_onclick/hud/hud.dm 458"></a></h3><p>Max amount of buttons we can have per row
|
||||
Indexes at 1</p><h3 id="var/landing"><aside class="declaration">var </aside>landing <aside>– /<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/<a href="atom/movable/screen.html">screen</a>/<a href="atom/movable/screen/action_landing.html">action_landing</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_onclick/hud/hud.dm#L470"><img src="git.png" width="16" height="16" title="code/_onclick/hud/hud.dm 470"></a></h3><p>Our landing screen object</p><h3 id="var/location"><aside class="declaration">var </aside>location <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_onclick/hud/hud.dm#L466"><img src="git.png" width="16" height="16" title="code/_onclick/hud/hud.dm 466"></a></h3><p>The screen location we go by</p><h3 id="var/max_rows"><aside class="declaration">var </aside>max_rows <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_onclick/hud/hud.dm#L464"><img src="git.png" width="16" height="16" title="code/_onclick/hud/hud.dm 464"></a></h3><p>How many rows of actions we can have at max before we just stop hiding
|
||||
Indexes at 1</p><h3 id="var/north_offset"><aside class="declaration">var </aside>north_offset <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_onclick/hud/hud.dm#L453"><img src="git.png" width="16" height="16" title="code/_onclick/hud/hud.dm 453"></a></h3><p>The initial vertical offset of our action buttons</p><h3 id="var/owner"><aside class="declaration">var </aside>owner <aside>– /<a href="datum.html">datum</a>/<a href="datum/hud.html">hud</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_onclick/hud/hud.dm#L449"><img src="git.png" width="16" height="16" title="code/_onclick/hud/hud.dm 449"></a></h3><p>The hud we're owned by</p><h3 id="var/pixel_north_offset"><aside class="declaration">var </aside>pixel_north_offset <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_onclick/hud/hud.dm#L455"><img src="git.png" width="16" height="16" title="code/_onclick/hud/hud.dm 455"></a></h3><p>The pixel vertical offset of our action buttons</p><h3 id="var/row_offset"><aside class="declaration">var </aside>row_offset <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_onclick/hud/hud.dm#L461"><img src="git.png" width="16" height="16" title="code/_onclick/hud/hud.dm 461"></a></h3><p>How far "ahead" of the first row we start. Lets us "scroll" our rows
|
||||
Indexes at 1</p><h2 id="proc">Proc Details</h2><h3 id="proc/ButtonNumberToScreenCoords"><aside class="declaration">proc </aside>ButtonNumberToScreenCoords<aside>(number, landing) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_onclick/hud/hud.dm#L515"><img src="git.png" width="16" height="16" title="code/_onclick/hud/hud.dm 515"></a></aside></h3><p>Accepts a number represeting our position in the group, indexes at 0 to make the math nicer</p><h3 id="proc/clear_landing"><aside class="declaration">proc </aside>clear_landing<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_onclick/hud/hud.dm#L583"><img src="git.png" width="16" height="16" title="code/_onclick/hud/hud.dm 583"></a></aside></h3><p>Clears any landing objects we may currently have</p><h3 id="proc/generate_landing"><aside class="declaration">proc </aside>generate_landing<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_onclick/hud/hud.dm#L575"><img src="git.png" width="16" height="16" title="code/_onclick/hud/hud.dm 575"></a></aside></h3><p>Generates a landing object that can be dropped on to join this group</p><h3 id="proc/size"><aside class="declaration">proc </aside>size<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_onclick/hud/hud.dm#L565"><img src="git.png" width="16" height="16" title="code/_onclick/hud/hud.dm 565"></a></aside></h3><p>Returns the amount of objects we're storing at the moment</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/actionspeed_modifier - /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/actionspeed_modifier.html#var">Var Details</a></header><main><h1>actionspeed_modifier <aside>/<a href="datum.html">datum</a>/<a href="datum/actionspeed_modifier.html">actionspeed_modifier</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/actionspeed/_actionspeed_modifier.dm#L23"><img src="git.png" width="16" height="16" title="code/modules/actionspeed/_actionspeed_modifier.dm 23"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/actionspeed_modifier.html#var/conflicts_with">conflicts_with</a></th><td>Other modification datums this conflicts with.</td></tr><tr><th><a href="datum/actionspeed_modifier.html#var/id">id</a></th><td>Unique ID. You can never have different modifications with the same ID. By default, this SHOULD NOT be set. Only set it for cases where you're dynamically making modifiers/need to have two types overwrite each other. If unset, uses path (converted to text) as ID.</td></tr><tr><th><a href="datum/actionspeed_modifier.html#var/multiplicative_slowdown">multiplicative_slowdown</a></th><td>Multiplicative slowdown</td></tr><tr><th><a href="datum/actionspeed_modifier.html#var/priority">priority</a></th><td>Higher ones override lower priorities. This is NOT used for ID, ID must be unique, if it isn't unique the newer one overwrites automatically if overriding.</td></tr><tr><th><a href="datum/actionspeed_modifier.html#var/variable">variable</a></th><td>Whether or not this is a variable modifier. Variable modifiers can NOT be ever auto-cached. ONLY CHECKED VIA INITIAL(), EFFECTIVELY READ ONLY (and for very good reason)</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/conflicts_with"><aside class="declaration">var </aside>conflicts_with <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/actionspeed/_actionspeed_modifier.dm#L40"><img src="git.png" width="16" height="16" title="code/modules/actionspeed/_actionspeed_modifier.dm 40"></a></h3><p>Other modification datums this conflicts with.</p><h3 id="var/id"><aside class="declaration">var </aside>id <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/actionspeed/_actionspeed_modifier.dm#L28"><img src="git.png" width="16" height="16" title="code/modules/actionspeed/_actionspeed_modifier.dm 28"></a></h3><p>Unique ID. You can never have different modifications with the same ID. By default, this SHOULD NOT be set. Only set it for cases where you're dynamically making modifiers/need to have two types overwrite each other. If unset, uses path (converted to text) as ID.</p><h3 id="var/multiplicative_slowdown"><aside class="declaration">var </aside>multiplicative_slowdown <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/actionspeed/_actionspeed_modifier.dm#L35"><img src="git.png" width="16" height="16" title="code/modules/actionspeed/_actionspeed_modifier.dm 35"></a></h3><p>Multiplicative slowdown</p><h3 id="var/priority"><aside class="declaration">var </aside>priority <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/actionspeed/_actionspeed_modifier.dm#L31"><img src="git.png" width="16" height="16" title="code/modules/actionspeed/_actionspeed_modifier.dm 31"></a></h3><p>Higher ones override lower priorities. This is NOT used for ID, ID must be unique, if it isn't unique the newer one overwrites automatically if overriding.</p><h3 id="var/variable"><aside class="declaration">var </aside>variable <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/actionspeed/_actionspeed_modifier.dm#L25"><img src="git.png" width="16" height="16" title="code/modules/actionspeed/_actionspeed_modifier.dm 25"></a></h3><p>Whether or not this is a variable modifier. Variable modifiers can NOT be ever auto-cached. ONLY CHECKED VIA INITIAL(), EFFECTIVELY READ ONLY (and for very good reason)</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/admin_help - /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/admin_help.html#var">Var Details</a></header><main><h1>admin_help <aside>/<a href="datum.html">datum</a>/<a href="datum/admin_help.html">admin_help</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/admin/verbs/adminhelp.dm#L153"><img src="git.png" width="16" height="16" title="code/modules/admin/verbs/adminhelp.dm 153"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/admin_help.html#var/answered">answered</a></th><td>did we send "answered" to irc yet</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/answered"><aside class="declaration">var </aside>answered <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/admin/verbs/adminhelp.dm#L171"><img src="git.png" width="16" height="16" title="code/modules/admin/verbs/adminhelp.dm 171"></a></h3><p>did we send "answered" to irc yet</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>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/ai_laws - /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/ai_laws.html#proc">Proc Details</a></header><main><h1>ai_laws <aside>/<a href="datum.html">datum</a>/<a href="datum/ai_laws.html">ai_laws</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/ai_laws.dm#L9"><img src="git.png" width="16" height="16" title="code/datums/ai_laws.dm 9"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/ai_laws.html#proc/get_law_list">get_law_list</a></th><td>Generates a list of all laws on this datum, including rendered HTML tags if required</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/get_law_list"><aside class="declaration">proc </aside>get_law_list<aside>(include_zeroth, show_numbers, render_html) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/ai_laws.dm#L447"><img src="git.png" width="16" height="16" title="code/datums/ai_laws.dm 447"></a></aside></h3><p>Generates a list of all laws on this datum, including rendered HTML tags if required</p>
|
||||
<p>Arguments:</p>
|
||||
<ul>
|
||||
<li>include_zeroth - Operator that controls if law 0 or law 666 is returned in the set</li>
|
||||
<li>show_numbers - Operator that controls if law numbers are prepended to the returned laws</li>
|
||||
<li>render_html - Operator controlling if HTML tags are rendered on the returned laws</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>
|
||||
@@ -0,0 +1,5 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/alarm_handler - /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/alarm_handler.html#var">Var Details</a> - <a href="datum/alarm_handler.html#proc">Proc Details</a></header><main><h1>alarm_handler <aside>/<a href="datum.html">datum</a>/<a href="datum/alarm_handler.html">alarm_handler</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/alarm.dm#L15"><img src="git.png" width="16" height="16" title="code/datums/alarm.dm 15"></a></h1><p>Represents a single source of alarms, one alarm handler will only ever count for one alarm per listener</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/alarm_handler.html#var/sent_alarms">sent_alarms</a></th><td>A list of alarm type -> list of areas we currently have alarms in</td></tr><tr><th><a href="datum/alarm_handler.html#var/source_atom">source_atom</a></th><td>Our source atom</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/alarm_handler.html#proc/clear_alarm">clear_alarm</a></th><td>Clears an alarm from any interested listeners</td></tr><tr><th><a href="datum/alarm_handler.html#proc/clear_alarm_from_area">clear_alarm_from_area</a></th><td>Exists so we can request that the alarms from an area are cleared, even if our source atom is no longer in that area</td></tr><tr><th><a href="datum/alarm_handler.html#proc/send_alarm">send_alarm</a></th><td>Sends an alarm to any interested things, does some checks to prevent unneeded work
|
||||
Important to note is that source_atom is not held as a ref, we're used as a proxy to prevent hard deletes
|
||||
optional_camera should only be used when you have one camera you want to pass along to alarm listeners, most of the time you should have no use for it</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/sent_alarms"><aside class="declaration">var </aside>sent_alarms <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/alarm.dm#L17"><img src="git.png" width="16" height="16" title="code/datums/alarm.dm 17"></a></h3><p>A list of alarm type -> list of areas we currently have alarms in</p><h3 id="var/source_atom"><aside class="declaration">var </aside>source_atom <aside>– /<a href="atom.html">atom</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/alarm.dm#L21"><img src="git.png" width="16" height="16" title="code/datums/alarm.dm 21"></a></h3><p>Our source atom</p><h2 id="proc">Proc Details</h2><h3 id="proc/clear_alarm"><aside class="declaration">proc </aside>clear_alarm<aside>(alarm_type, use_as_source_atom) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/alarm.dm#L69"><img src="git.png" width="16" height="16" title="code/datums/alarm.dm 69"></a></aside></h3><p>Clears an alarm from any interested listeners</p><h3 id="proc/clear_alarm_from_area"><aside class="declaration">proc </aside>clear_alarm_from_area<aside>(alarm_type, /<a href="area.html">area</a>/our_area) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/alarm.dm#L79"><img src="git.png" width="16" height="16" title="code/datums/alarm.dm 79"></a></aside></h3><p>Exists so we can request that the alarms from an area are cleared, even if our source atom is no longer in that area</p><h3 id="proc/send_alarm"><aside class="declaration">proc </aside>send_alarm<aside>(alarm_type, /<a href="atom.html">atom</a>/use_as_source_atom, optional_camera) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/alarm.dm#L40"><img src="git.png" width="16" height="16" title="code/datums/alarm.dm 40"></a></aside></h3><p>Sends an alarm to any interested things, does some checks to prevent unneeded work
|
||||
Important to note is that source_atom is not held as a ref, we're used as a proxy to prevent hard deletes
|
||||
optional_camera should only be used when you have one camera you want to pass along to alarm listeners, most of the time you should have no use for it</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>
|
||||
@@ -0,0 +1,5 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/alarm_listener - /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/alarm_listener.html#var">Var Details</a> - <a href="datum/alarm_listener.html#proc">Proc Details</a></header><main><h1>alarm_listener <aside>/<a href="datum.html">datum</a>/<a href="datum/alarm_listener.html">alarm_listener</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/alarm.dm#L101"><img src="git.png" width="16" height="16" title="code/datums/alarm.dm 101"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/alarm_listener.html#var/accepting_alarm_changes">accepting_alarm_changes</a></th><td>Should we allow alarm changes to go through or not</td></tr><tr><th><a href="datum/alarm_listener.html#var/alarms">alarms</a></th><td>List of alarm type -> list of area name -> list(area, ref to area's cameras, list(sources))</td></tr><tr><th><a href="datum/alarm_listener.html#var/allowed_areas">allowed_areas</a></th><td>List of allowed areas. if this is null it's ignored</td></tr><tr><th><a href="datum/alarm_listener.html#var/allowed_z_levels">allowed_z_levels</a></th><td>List of valid source z levels, ignored if null</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/alarm_listener.html#proc/New">New</a></th><td>Accepts a list of alarm types to pay attention to, a list of valid z levels, and a list of valid areas. areas and zlevels are ignored if null</td></tr><tr><th><a href="datum/alarm_listener.html#proc/add_alarm">add_alarm</a></th><td>Adds an alarm to our alarms list, you shouldn't be calling this manually
|
||||
It should all be handled by the signal listening we do, unless you want to only send an alarm to one listener</td></tr><tr><th><a href="datum/alarm_listener.html#proc/allow_alarm_changes">allow_alarm_changes</a></th><td>Does what it says on the tin, exists for signal hooking</td></tr><tr><th><a href="datum/alarm_listener.html#proc/clear_alarm">clear_alarm</a></th><td>Removes an alarm to our alarms list, you probably shouldn't be calling this manually
|
||||
It should all be handled by the signal listening we do, unless you want to only remove an alarm to one listener</td></tr><tr><th><a href="datum/alarm_listener.html#proc/clear_camera_ref">clear_camera_ref</a></th><td>Used to manually clear camera refs if one is ref'd directly</td></tr><tr><th><a href="datum/alarm_listener.html#proc/prevent_alarm_changes">prevent_alarm_changes</a></th><td>Does what it says on the tin, exists for signal hooking</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/accepting_alarm_changes"><aside class="declaration">var </aside>accepting_alarm_changes <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/alarm.dm#L110"><img src="git.png" width="16" height="16" title="code/datums/alarm.dm 110"></a></h3><p>Should we allow alarm changes to go through or not</p><h3 id="var/alarms"><aside class="declaration">var </aside>alarms <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/alarm.dm#L108"><img src="git.png" width="16" height="16" title="code/datums/alarm.dm 108"></a></h3><p>List of alarm type -> list of area name -> list(area, ref to area's cameras, list(sources))</p><h3 id="var/allowed_areas"><aside class="declaration">var </aside>allowed_areas <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/alarm.dm#L105"><img src="git.png" width="16" height="16" title="code/datums/alarm.dm 105"></a></h3><p>List of allowed areas. if this is null it's ignored</p><h3 id="var/allowed_z_levels"><aside class="declaration">var </aside>allowed_z_levels <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/alarm.dm#L103"><img src="git.png" width="16" height="16" title="code/datums/alarm.dm 103"></a></h3><p>List of valid source z levels, ignored if null</p><h2 id="proc">Proc Details</h2><h3 id="proc/New">New<aside>(alarms_to_listen_for, allowed_z_levels, allowed_areas) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/alarm.dm#L113"><img src="git.png" width="16" height="16" title="code/datums/alarm.dm 113"></a></aside></h3><p>Accepts a list of alarm types to pay attention to, a list of valid z levels, and a list of valid areas. areas and zlevels are ignored if null</p><h3 id="proc/add_alarm"><aside class="declaration">proc </aside>add_alarm<aside>(/<a href="datum.html">datum</a>/source, /<a href="datum.html">datum</a>/<a href="datum/alarm_handler.html">alarm_handler</a>/handler, alarm_type, /<a href="area.html">area</a>/source_area, source_z, optional_camera) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/alarm.dm#L124"><img src="git.png" width="16" height="16" title="code/datums/alarm.dm 124"></a></aside></h3><p>Adds an alarm to our alarms list, you shouldn't be calling this manually
|
||||
It should all be handled by the signal listening we do, unless you want to only send an alarm to one listener</p><h3 id="proc/allow_alarm_changes"><aside class="declaration">proc </aside>allow_alarm_changes<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/alarm.dm#L186"><img src="git.png" width="16" height="16" title="code/datums/alarm.dm 186"></a></aside></h3><p>Does what it says on the tin, exists for signal hooking</p><h3 id="proc/clear_alarm"><aside class="declaration">proc </aside>clear_alarm<aside>(/<a href="datum.html">datum</a>/source, /<a href="datum.html">datum</a>/<a href="datum/alarm_handler.html">alarm_handler</a>/handler, alarm_type, /<a href="area.html">area</a>/source_area) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/alarm.dm#L158"><img src="git.png" width="16" height="16" title="code/datums/alarm.dm 158"></a></aside></h3><p>Removes an alarm to our alarms list, you probably shouldn't be calling this manually
|
||||
It should all be handled by the signal listening we do, unless you want to only remove an alarm to one listener</p><h3 id="proc/clear_camera_ref"><aside class="declaration">proc </aside>clear_camera_ref<aside>(/<a href="obj.html">obj</a>/<a href="obj/machinery.html">machinery</a>/<a href="obj/machinery/camera.html">camera</a>/source) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/alarm.dm#L191"><img src="git.png" width="16" height="16" title="code/datums/alarm.dm 191"></a></aside></h3><p>Used to manually clear camera refs if one is ref'd directly</p><h3 id="proc/prevent_alarm_changes"><aside class="declaration">proc </aside>prevent_alarm_changes<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/alarm.dm#L181"><img src="git.png" width="16" height="16" title="code/datums/alarm.dm 181"></a></aside></h3><p>Does what it says on the tin, exists for signal hooking</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>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,5 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/antagonist/changeling - /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/antagonist/changeling.html#var">Var Details</a> - <a href="datum/antagonist/changeling.html#proc">Proc Details</a></header><main><h1>changeling <aside>/<a href="datum.html">datum</a>/<a href="datum/antagonist.html">antagonist</a>/<a href="datum/antagonist/changeling.html">changeling</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/changeling/changeling.dm#L8"><img src="git.png" width="16" height="16" title="code/modules/antagonists/changeling/changeling.dm 8"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/antagonist/changeling.html#var/hostile_absorbed">hostile_absorbed</a></th><td>did we get succed by another changeling</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/antagonist/changeling.html#proc/check_menu">check_menu</a></th><td>Checks if we are allowed to interact with a radial menu</td></tr><tr><th><a href="datum/antagonist/changeling.html#proc/select_dna">select_dna</a></th><td>Gives a changeling a list of all possible dnas in their profiles to choose from and returns profile containing their chosen dna</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/hostile_absorbed"><aside class="declaration">var </aside>hostile_absorbed <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/changeling/changeling.dm#L26"><img src="git.png" width="16" height="16" title="code/modules/antagonists/changeling/changeling.dm 26"></a></h3><p>did we get succed by another changeling</p><h2 id="proc">Proc Details</h2><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>/<a href="mob/living/carbon.html">carbon</a>/user) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/changeling/powers/transform.dm#L176"><img src="git.png" width="16" height="16" title="code/modules/antagonists/changeling/powers/transform.dm 176"></a></aside></h3><p>Checks if we are allowed to interact with a radial menu</p>
|
||||
<p>Arguments:</p>
|
||||
<ul>
|
||||
<li>user The carbon mob interacting with the menu</li>
|
||||
</ul><h3 id="proc/select_dna"><aside class="declaration">proc </aside>select_dna<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/changeling/powers/transform.dm#L146"><img src="git.png" width="16" height="16" title="code/modules/antagonists/changeling/powers/transform.dm 146"></a></aside></h3><p>Gives a changeling a list of all possible dnas in their profiles to choose from and returns profile containing their chosen dna</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>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/antagonist/heretic - /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/antagonist/heretic.html#proc">Proc Details</a></header><main><h1>heretic <aside>/<a href="datum.html">datum</a>/<a href="datum/antagonist.html">antagonist</a>/<a href="datum/antagonist/heretic.html">heretic</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/eldritch_cult/eldritch_antag.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/antagonists/eldritch_cult/eldritch_antag.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/antagonist/heretic.html#proc/on_death">on_death</a></th><td>What happens to the heretic once he dies, used to remove any custom perks</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/on_death"><aside class="declaration">proc </aside>on_death<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/eldritch_cult/eldritch_antag.dm#L102"><img src="git.png" width="16" height="16" title="code/modules/antagonists/eldritch_cult/eldritch_antag.dm 102"></a></aside></h3><p>What happens to the heretic once he dies, used to remove any custom perks</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>
|
||||
@@ -0,0 +1,9 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/antagonist/ninja - /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/antagonist/ninja.html#var">Var Details</a> - <a href="datum/antagonist/ninja.html#proc">Proc Details</a></header><main><h1>ninja <aside>/<a href="datum.html">datum</a>/<a href="datum/antagonist.html">antagonist</a>/<a href="datum/antagonist/ninja.html">ninja</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/space_ninja/space_ninja.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/antagonists/space_ninja/space_ninja.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/antagonist/ninja.html#var/give_equipment">give_equipment</a></th><td>Whether or not this ninja receives the standard equipment</td></tr><tr><th><a href="datum/antagonist/ninja.html#var/give_objectives">give_objectives</a></th><td>Whether or not this ninja will obtain objectives</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/antagonist/ninja.html#proc/addMemories">addMemories</a></th><td>Proc that adds the proper memories to the antag datum</td></tr><tr><th><a href="datum/antagonist/ninja.html#proc/addObjectives">addObjectives</a></th><td>Proc that adds all the ninja's objectives to the antag datum.</td></tr><tr><th><a href="datum/antagonist/ninja.html#proc/equip_space_ninja">equip_space_ninja</a></th><td>Proc that equips the space ninja outfit on a given individual. By default this is the owner of the antagonist datum.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/give_equipment"><aside class="declaration">var </aside>give_equipment <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/space_ninja/space_ninja.dm#L13"><img src="git.png" width="16" height="16" title="code/modules/antagonists/space_ninja/space_ninja.dm 13"></a></h3><p>Whether or not this ninja receives the standard equipment</p><h3 id="var/give_objectives"><aside class="declaration">var </aside>give_objectives <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/space_ninja/space_ninja.dm#L11"><img src="git.png" width="16" height="16" title="code/modules/antagonists/space_ninja/space_ninja.dm 11"></a></h3><p>Whether or not this ninja will obtain objectives</p><h2 id="proc">Proc Details</h2><h3 id="proc/addMemories"><aside class="declaration">proc </aside>addMemories<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/space_ninja/space_ninja.dm#L42"><img src="git.png" width="16" height="16" title="code/modules/antagonists/space_ninja/space_ninja.dm 42"></a></aside></h3><p>Proc that adds the proper memories to the antag datum</p>
|
||||
<p>Proc that adds the ninja starting memories to the owner of the antagonist datum.</p><h3 id="proc/addObjectives"><aside class="declaration">proc </aside>addObjectives<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/space_ninja/space_ninja.dm#L67"><img src="git.png" width="16" height="16" title="code/modules/antagonists/space_ninja/space_ninja.dm 67"></a></aside></h3><p>Proc that adds all the ninja's objectives to the antag datum.</p>
|
||||
<p>Proc that adds all the ninja's objectives to the antag datum. Called when the datum is gained.</p><h3 id="proc/equip_space_ninja"><aside class="declaration">proc </aside>equip_space_ninja<aside>(/<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/<a href="mob/living/carbon.html">carbon</a>/<a href="mob/living/carbon/human.html">human</a>/ninja) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/space_ninja/space_ninja.dm#L34"><img src="git.png" width="16" height="16" title="code/modules/antagonists/space_ninja/space_ninja.dm 34"></a></aside></h3><p>Proc that equips the space ninja outfit on a given individual. By default this is the owner of the antagonist datum.</p>
|
||||
<p>Proc that equips the space ninja outfit on a given individual. By default this is the owner of the antagonist datum.
|
||||
Arguments:</p>
|
||||
<ul>
|
||||
<li>ninja - The human to receive the gear</li>
|
||||
<li>Returns a proc call on the given human which will equip them with all the gear.</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/antagonist/rev - /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/antagonist/rev.html#var">Var Details</a> - <a href="datum/antagonist/rev.html#proc">Proc Details</a></header><main><h1>rev <aside>/<a href="datum.html">datum</a>/<a href="datum/antagonist.html">antagonist</a>/<a href="datum/antagonist/rev.html">rev</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/revolution/revolution.dm#L6"><img src="git.png" width="16" height="16" title="code/modules/antagonists/revolution/revolution.dm 6"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/antagonist/rev.html#var/deconversion_reason">deconversion_reason</a></th><td>when this antagonist is being de-antagged, this is why</td></tr><tr><th><a href="datum/antagonist/rev.html#var/victory_message">victory_message</a></th><td>What message should the player receive when they are being demoted, and the revolution has won?</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/antagonist/rev.html#proc/announce_victorious">announce_victorious</a></th><td>Checks if the revolution succeeded, and lets them know.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/deconversion_reason"><aside class="declaration">var </aside>deconversion_reason <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/revolution/revolution.dm#L16"><img src="git.png" width="16" height="16" title="code/modules/antagonists/revolution/revolution.dm 16"></a></h3><p>when this antagonist is being de-antagged, this is why</p><h3 id="var/victory_message"><aside class="declaration">var </aside>victory_message <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/revolution/revolution.dm#L19"><img src="git.png" width="16" height="16" title="code/modules/antagonists/revolution/revolution.dm 19"></a></h3><p>What message should the player receive when they are being demoted, and the revolution has won?</p><h2 id="proc">Proc Details</h2><h3 id="proc/announce_victorious"><aside class="declaration">proc </aside>announce_victorious<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/revolution/revolution.dm#L212"><img src="git.png" width="16" height="16" title="code/modules/antagonists/revolution/revolution.dm 212"></a></aside></h3><p>Checks if the revolution succeeded, and lets them know.</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/antagonist/traitor - /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/antagonist/traitor.html#var">Var Details</a> - <a href="datum/antagonist/traitor.html#proc">Proc Details</a></header><main><h1>traitor <aside>/<a href="datum.html">datum</a>/<a href="datum/antagonist.html">antagonist</a>/<a href="datum/antagonist/traitor.html">traitor</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/traitor/datum_traitor.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/antagonists/traitor/datum_traitor.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/antagonist/traitor.html#var/traitor_kind">traitor_kind</a></th><td>special datum about what kind of employer the trator has</td></tr><tr><th><a href="datum/antagonist/traitor.html#var/uplink">uplink</a></th><td>reference to the uplink this traitor was given, if they were.</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/antagonist/traitor.html#proc/contractor_round_end">contractor_round_end</a></th><td>Proc detailing contract kit buys/completed contracts/additional info</td></tr><tr><th><a href="datum/antagonist/traitor.html#proc/forge_traitor_objectives">forge_traitor_objectives</a></th><td>Generates a complete set of traitor objectives up to the traitor objective limit, including non-generic objectives such as martyr and hijack.</td></tr><tr><th><a href="datum/antagonist/traitor.html#proc/give_codewords">give_codewords</a></th><td>Outputs this shift's codewords and responses to the antag's chat and copies them to their memory.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/traitor_kind"><aside class="declaration">var </aside>traitor_kind <aside>– /<a href="datum.html">datum</a>/<a href="datum/traitor_class.html">traitor_class</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/traitor/datum_traitor.dm#L17"><img src="git.png" width="16" height="16" title="code/modules/antagonists/traitor/datum_traitor.dm 17"></a></h3><p>special datum about what kind of employer the trator has</p><h3 id="var/uplink"><aside class="declaration">var </aside>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/modules/antagonists/traitor/datum_traitor.dm#L20"><img src="git.png" width="16" height="16" title="code/modules/antagonists/traitor/datum_traitor.dm 20"></a></h3><p>reference to the uplink this traitor was given, if they were.</p><h2 id="proc">Proc Details</h2><h3 id="proc/contractor_round_end"><aside class="declaration">proc </aside>contractor_round_end<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/traitor/datum_traitor.dm#L311"><img src="git.png" width="16" height="16" title="code/modules/antagonists/traitor/datum_traitor.dm 311"></a></aside></h3><p>Proc detailing contract kit buys/completed contracts/additional info</p><h3 id="proc/forge_traitor_objectives"><aside class="declaration">proc </aside>forge_traitor_objectives<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/traitor/datum_traitor.dm#L106"><img src="git.png" width="16" height="16" title="code/modules/antagonists/traitor/datum_traitor.dm 106"></a></aside></h3><p>Generates a complete set of traitor objectives up to the traitor objective limit, including non-generic objectives such as martyr and hijack.</p><h3 id="proc/give_codewords"><aside class="declaration">proc </aside>give_codewords<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/traitor/datum_traitor.dm#L182"><img src="git.png" width="16" height="16" title="code/modules/antagonists/traitor/datum_traitor.dm 182"></a></aside></h3><p>Outputs this shift's codewords and responses to the antag's chat and copies them to their memory.</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/antagonist/traitor/contractor_support - /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/antagonist/traitor/contractor_support.html#var">Var Details</a></header><main><h1>contractor_support <aside>/<a href="datum.html">datum</a>/<a href="datum/antagonist.html">antagonist</a>/<a href="datum/antagonist/traitor.html">traitor</a>/<a href="datum/antagonist/traitor/contractor_support.html">contractor_support</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/traitor/equipment/contractor.dm#L2"><img src="git.png" width="16" height="16" title="code/modules/antagonists/traitor/equipment/contractor.dm 2"></a></h1><p>Support unit gets it's own very basic antag datum for admin logging.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/antagonist/traitor/contractor_support.html#var/contractor_team">contractor_team</a></th><td>Don't give them an uplink.</td></tr><tr><th><a href="datum/antagonist/traitor/contractor_support.html#var/give_objectives">give_objectives</a></th><td>We're already adding them in to the contractor's roundend.</td></tr><tr><th><a href="datum/antagonist/traitor/contractor_support.html#var/should_equip">should_equip</a></th><td>Not a proper/full antag.</td></tr><tr><th><a href="datum/antagonist/traitor/contractor_support.html#var/show_in_antagpanel">show_in_antagpanel</a></th><td>We give them their own custom objective.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/contractor_team"><aside class="declaration">var </aside>contractor_team <aside>– /<a href="datum.html">datum</a>/team/contractor_team</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/traitor/equipment/contractor.dm#L11"><img src="git.png" width="16" height="16" title="code/modules/antagonists/traitor/equipment/contractor.dm 11"></a></h3><p>Don't give them an uplink.</p><h3 id="var/give_objectives">give_objectives <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/traitor/equipment/contractor.dm#L6"><img src="git.png" width="16" height="16" title="code/modules/antagonists/traitor/equipment/contractor.dm 6"></a></h3><p>We're already adding them in to the contractor's roundend.</p><h3 id="var/should_equip">should_equip <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/traitor/equipment/contractor.dm#L8"><img src="git.png" width="16" height="16" title="code/modules/antagonists/traitor/equipment/contractor.dm 8"></a></h3><p>Not a proper/full antag.</p><h3 id="var/show_in_antagpanel"><aside class="parent"><a title="/datum/antagonist" href="datum/antagonist.html#var/show_in_antagpanel">↑</a></aside>show_in_antagpanel <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/traitor/equipment/contractor.dm#L7"><img src="git.png" width="16" height="16" title="code/modules/antagonists/traitor/equipment/contractor.dm 7"></a></h3><p>We give them their own custom objective.</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/asset - /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/asset.html#proc">Proc Details</a></header><main><h1>asset <aside>/<a href="datum.html">datum</a>/<a href="datum/asset.html">asset</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_list.dm#L12"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_list.dm 12"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/asset.html#proc/get_serialized_url_mappings">get_serialized_url_mappings</a></th><td>Returns a cached tgui message of URL mappings</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/get_serialized_url_mappings"><aside class="declaration">proc </aside>get_serialized_url_mappings<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_list.dm#L24"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_list.dm 24"></a></aside></h3><p>Returns a cached tgui message of URL mappings</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>
|
||||
@@ -0,0 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/asset/simple - /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/asset/simple.html#var">Var Details</a></header><main><h1>simple <aside>/<a href="datum.html">datum</a>/<a href="datum/asset.html">asset</a>/<a href="datum/asset/simple.html">simple</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_list.dm#L38"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_list.dm 38"></a></h1><p>If you don't need anything complicated.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/asset/simple.html#var/assets">assets</a></th><td>list of assets for this datum in the form of:
|
||||
asset_filename = asset_file. At runtime the asset_file will be
|
||||
converted into a asset_cache datum.</td></tr><tr><th><a href="datum/asset/simple.html#var/keep_local_name">keep_local_name</a></th><td>TRUE for keeping local asset names when browse_rsc backend is used</td></tr><tr><th><a href="datum/asset/simple.html#var/legacy">legacy</a></th><td>Set to true to have this asset also be sent via the legacy browse_rsc
|
||||
system when cdn transports are enabled?</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/assets"><aside class="declaration">var </aside>assets <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_list.dm#L43"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_list.dm 43"></a></h3><p>list of assets for this datum in the form of:
|
||||
asset_filename = asset_file. At runtime the asset_file will be
|
||||
converted into a asset_cache datum.</p><h3 id="var/keep_local_name"><aside class="declaration">var </aside>keep_local_name <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_list.dm#L48"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_list.dm 48"></a></h3><p>TRUE for keeping local asset names when browse_rsc backend is used</p><h3 id="var/legacy"><aside class="declaration">var </aside>legacy <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_list.dm#L46"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_list.dm 46"></a></h3><p>Set to true to have this asset also be sent via the legacy browse_rsc
|
||||
system when cdn transports are enabled?</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>
|
||||
@@ -0,0 +1,9 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/asset/simple/namespaced - /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/asset/simple/namespaced.html#var">Var Details</a> - <a href="datum/asset/simple/namespaced.html#proc">Proc Details</a></header><main><h1>namespaced <aside>/<a href="datum.html">datum</a>/<a href="datum/asset.html">asset</a>/<a href="datum/asset/simple.html">simple</a>/<a href="datum/asset/simple/namespaced.html">namespaced</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_list.dm#L324"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_list.dm 324"></a></h1><p>Namespace'ed assets (for static css and html files)
|
||||
When sent over a cdn transport, all assets in the same asset datum will exist in the same folder, as their plain names.
|
||||
Used to ensure css files can reference files by url() without having to generate the css at runtime, both the css file and the files it depends on must exist in the same namespace asset datum. (Also works for html)
|
||||
For example <code>blah.css</code> with asset <code>blah.png</code> will get loaded as <code>namespaces/a3d..14f/f12..d3c.css</code> and <code>namespaces/a3d..14f/blah.png</code>. allowing the css file to load <code>blah.png</code> by a relative url rather then compute the generated url with get_url_mappings().
|
||||
The namespace folder's name will change if any of the assets change. (excluding parent assets)</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/asset/simple/namespaced.html#var/parents">parents</a></th><td>parents - list of the parent asset or assets (in name = file assoicated format) for this namespace.
|
||||
parent assets must be referenced by their generated url, but if an update changes a parent asset, it won't change the namespace's identity.</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/asset/simple/namespaced.html#proc/get_htmlloader">get_htmlloader</a></th><td>Get a html string that will load a html asset.
|
||||
Needed because byond doesn't allow you to browse() to a url.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/parents"><aside class="declaration">var </aside>parents <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_list.dm#L328"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_list.dm 328"></a></h3><p>parents - list of the parent asset or assets (in name = file assoicated format) for this namespace.
|
||||
parent assets must be referenced by their generated url, but if an update changes a parent asset, it won't change the namespace's identity.</p><h2 id="proc">Proc Details</h2><h3 id="proc/get_htmlloader"><aside class="declaration">proc </aside>get_htmlloader<aside>(filename) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_list.dm#L365"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_list.dm 365"></a></aside></h3><p>Get a html string that will load a html asset.
|
||||
Needed because byond doesn't allow you to browse() to a url.</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>
|
||||
@@ -0,0 +1,9 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/asset/spritesheet - /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/asset/spritesheet.html#proc">Proc Details</a></header><main><h1>spritesheet <aside>/<a href="datum.html">datum</a>/<a href="datum/asset.html">asset</a>/<a href="datum/asset/spritesheet.html">spritesheet</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_list.dm#L100"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_list.dm 100"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/asset/spritesheet.html#proc/ModifyInserted">ModifyInserted</a></th><td>A simple proc handing the Icon for you to modify before it gets turned into an asset.</td></tr><tr><th><a href="datum/asset/spritesheet.html#proc/icon_size_id">icon_size_id</a></th><td>Returns the size class (ex design32x32) for a given sprite's icon</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/ModifyInserted"><aside class="declaration">proc </aside>ModifyInserted<aside>(/icon/pre_asset) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_list.dm#L204"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_list.dm 204"></a></aside></h3><p>A simple proc handing the Icon for you to modify before it gets turned into an asset.</p>
|
||||
<p>Arguments:</p>
|
||||
<ul>
|
||||
<li>I: icon being turned into an asset</li>
|
||||
</ul><h3 id="proc/icon_size_id"><aside class="declaration">proc </aside>icon_size_id<aside>(sprite_name) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_list.dm#L245"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_list.dm 245"></a></aside></h3><p>Returns the size class (ex design32x32) for a given sprite's icon</p>
|
||||
<p>Arguments:</p>
|
||||
<ul>
|
||||
<li>sprite_name - The sprite to get the size of</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>
|
||||
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/asset/spritesheet/decals - /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/asset/spritesheet/decals.html#var">Var Details</a> - <a href="datum/asset/spritesheet/decals.html#proc">Proc Details</a></header><main><h1>decals <aside>/<a href="datum.html">datum</a>/<a href="datum/asset.html">asset</a>/<a href="datum/asset/spritesheet.html">spritesheet</a>/<a href="datum/asset/spritesheet/decals.html">decals</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/airlock_painter.dm#L326"><img src="git.png" width="16" height="16" title="code/game/objects/items/airlock_painter.dm 326"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/asset/spritesheet/decals.html#var/painter_type">painter_type</a></th><td>The associated decal painter type to grab decals, colors, etc from.</td></tr><tr><th><a href="datum/asset/spritesheet/decals.html#var/preview_floor_icon">preview_floor_icon</a></th><td>The floor icon used for blend_preview_floor()</td></tr><tr><th><a href="datum/asset/spritesheet/decals.html#var/preview_floor_state">preview_floor_state</a></th><td>The floor icon state used for blend_preview_floor()</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/asset/spritesheet/decals.html#proc/blend_preview_floor">blend_preview_floor</a></th><td>Underlay an example floor for preview purposes, and return the new icon.</td></tr><tr><th><a href="datum/asset/spritesheet/decals.html#proc/insert_state">insert_state</a></th><td>Insert a specific state into the spritesheet.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/painter_type"><aside class="declaration">var </aside>painter_type <aside>– /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/airlock_painter.html">airlock_painter</a>/<a href="obj/item/airlock_painter/decal.html">decal</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/airlock_painter.dm#L335"><img src="git.png" width="16" height="16" title="code/game/objects/items/airlock_painter.dm 335"></a></h3><p>The associated decal painter type to grab decals, colors, etc from.</p><h3 id="var/preview_floor_icon"><aside class="declaration">var </aside>preview_floor_icon <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/airlock_painter.dm#L331"><img src="git.png" width="16" height="16" title="code/game/objects/items/airlock_painter.dm 331"></a></h3><p>The floor icon used for blend_preview_floor()</p><h3 id="var/preview_floor_state"><aside class="declaration">var </aside>preview_floor_state <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/airlock_painter.dm#L333"><img src="git.png" width="16" height="16" title="code/game/objects/items/airlock_painter.dm 333"></a></h3><p>The floor icon state used for blend_preview_floor()</p><h2 id="proc">Proc Details</h2><h3 id="proc/blend_preview_floor"><aside class="declaration">proc </aside>blend_preview_floor<aside>(/icon/decal) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/airlock_painter.dm#L343"><img src="git.png" width="16" height="16" title="code/game/objects/items/airlock_painter.dm 343"></a></aside></h3><p>Underlay an example floor for preview purposes, and return the new icon.</p>
|
||||
<p>Arguments:</p>
|
||||
<ul>
|
||||
<li>decal - the decal to place over the example floor tile</li>
|
||||
</ul><h3 id="proc/insert_state"><aside class="declaration">proc </aside>insert_state<aside>(decal, dir, color) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/objects/items/airlock_painter.dm#L356"><img src="git.png" width="16" height="16" title="code/game/objects/items/airlock_painter.dm 356"></a></aside></h3><p>Insert a specific state into the spritesheet.</p>
|
||||
<p>Arguments:</p>
|
||||
<ul>
|
||||
<li>decal - the given decal base state.</li>
|
||||
<li>dir - the given direction.</li>
|
||||
<li>color - the given color.</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>
|
||||
@@ -0,0 +1,9 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/asset_cache_item - /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/asset_cache_item.html#var">Var Details</a></header><main><h1>asset_cache_item <aside>/<a href="datum.html">datum</a>/<a href="datum/asset_cache_item.html">asset_cache_item</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_cache_item.dm#L6"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_cache_item.dm 6"></a></h1><p>An internal datum containing info on items in the asset cache. Mainly used to cache md5 info for speed.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/asset_cache_item.html#var/keep_local_name">keep_local_name</a></th><td>TRUE for keeping local asset names when browse_rsc backend is used</td></tr><tr><th><a href="datum/asset_cache_item.html#var/legacy">legacy</a></th><td>Should this file also be sent via the legacy browse_rsc system
|
||||
when cdn transports are enabled?</td></tr><tr><th><a href="datum/asset_cache_item.html#var/namespace">namespace</a></th><td>Used by the cdn system to keep legacy css assets with their parent
|
||||
css file. (css files resolve urls relative to the css file, so the
|
||||
legacy system can't be used if the css file itself could go out over
|
||||
the cdn)</td></tr><tr><th><a href="datum/asset_cache_item.html#var/namespace_parent">namespace_parent</a></th><td>True if this is the parent css or html file for an asset's namespace</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/keep_local_name"><aside class="declaration">var </aside>keep_local_name <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_cache_item.dm#L22"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_cache_item.dm 22"></a></h3><p>TRUE for keeping local asset names when browse_rsc backend is used</p><h3 id="var/legacy"><aside class="declaration">var </aside>legacy <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_cache_item.dm#L13"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_cache_item.dm 13"></a></h3><p>Should this file also be sent via the legacy browse_rsc system
|
||||
when cdn transports are enabled?</p><h3 id="var/namespace"><aside class="declaration">var </aside>namespace <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_cache_item.dm#L18"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_cache_item.dm 18"></a></h3><p>Used by the cdn system to keep legacy css assets with their parent
|
||||
css file. (css files resolve urls relative to the css file, so the
|
||||
legacy system can't be used if the css file itself could go out over
|
||||
the cdn)</p><h3 id="var/namespace_parent"><aside class="declaration">var </aside>namespace_parent <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_cache_item.dm#L20"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_cache_item.dm 20"></a></h3><p>True if this is the parent css or html file for an asset's namespace</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>
|
||||
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/asset_transport - /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/asset_transport.html#var">Var Details</a> - <a href="datum/asset_transport.html#proc">Proc Details</a></header><main><h1>asset_transport <aside>/<a href="datum.html">datum</a>/<a href="datum/asset_transport.html">asset_transport</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/transports/asset_transport.dm#L5"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/transports/asset_transport.dm 5"></a></h1><p>Base browse_rsc asset transport</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/asset_transport.html#var/dont_mutate_filenames">dont_mutate_filenames</a></th><td>Don't mutate the filename of assets when sending via browse_rsc.
|
||||
This is to make it easier to debug issues with assets, and allow server operators to bypass issues that make it to production.
|
||||
If turning this on fixes asset issues, something isn't using get_asset_url and the asset isn't marked legacy, fix one of those.</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/asset_transport.html#proc/Initialize">Initialize</a></th><td>Initialize - Called when SSassets initializes.</td></tr><tr><th><a href="datum/asset_transport.html#proc/Load">Load</a></th><td>Called when the transport is loaded by the config controller, not called on the default transport unless it gets loaded by a config change.</td></tr><tr><th><a href="datum/asset_transport.html#proc/get_asset_url">get_asset_url</a></th><td>Returns a url for a given asset.
|
||||
asset_name - Name of the asset.
|
||||
asset_cache_item - asset cache item datum for the asset, optional, overrides asset_name</td></tr><tr><th><a href="datum/asset_transport.html#proc/register_asset">register_asset</a></th><td>Register a browser asset with the asset cache system
|
||||
asset_name - the identifier of the asset
|
||||
asset - the actual asset file (or an asset_cache_item datum)
|
||||
returns a /datum/asset_cache_item.
|
||||
mutiple calls to register the same asset under the same asset_name return the same datum</td></tr><tr><th><a href="datum/asset_transport.html#proc/send_assets">send_assets</a></th><td>Sends a list of browser assets to a client
|
||||
client - a client or mob
|
||||
asset_list - A list of asset filenames to be sent to the client. Can optionally be assoicated with the asset's asset_cache_item datum.
|
||||
Returns TRUE if any assets were sent.</td></tr><tr><th><a href="datum/asset_transport.html#proc/send_assets_slow">send_assets_slow</a></th><td>Precache files without clogging up the browse() queue, used for passively sending files on connection start.</td></tr><tr><th><a href="datum/asset_transport.html#proc/validate_config">validate_config</a></th><td>Check the config is valid to load this transport
|
||||
Returns TRUE or FALSE</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/dont_mutate_filenames"><aside class="declaration">var </aside>dont_mutate_filenames <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/transports/asset_transport.dm#L11"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/transports/asset_transport.dm 11"></a></h3><p>Don't mutate the filename of assets when sending via browse_rsc.
|
||||
This is to make it easier to debug issues with assets, and allow server operators to bypass issues that make it to production.
|
||||
If turning this on fixes asset issues, something isn't using get_asset_url and the asset isn't marked legacy, fix one of those.</p><h2 id="proc">Proc Details</h2><h3 id="proc/Initialize"><aside class="declaration">proc </aside>Initialize<aside>(/list/assets) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/transports/asset_transport.dm#L20"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/transports/asset_transport.dm 20"></a></aside></h3><p>Initialize - Called when SSassets initializes.</p><h3 id="proc/Load"><aside class="declaration">proc </aside>Load<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/transports/asset_transport.dm#L14"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/transports/asset_transport.dm 14"></a></aside></h3><p>Called when the transport is loaded by the config controller, not called on the default transport unless it gets loaded by a config change.</p><h3 id="proc/get_asset_url"><aside class="declaration">proc </aside>get_asset_url<aside>(asset_name, /<a href="datum.html">datum</a>/<a href="datum/asset_cache_item.html">asset_cache_item</a>/asset_cache_item) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/transports/asset_transport.dm#L60"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/transports/asset_transport.dm 60"></a></aside></h3><p>Returns a url for a given asset.
|
||||
asset_name - Name of the asset.
|
||||
asset_cache_item - asset cache item datum for the asset, optional, overrides asset_name</p><h3 id="proc/register_asset"><aside class="declaration">proc </aside>register_asset<aside>(asset_name, asset) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/transports/asset_transport.dm#L33"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/transports/asset_transport.dm 33"></a></aside></h3><p>Register a browser asset with the asset cache system
|
||||
asset_name - the identifier of the asset
|
||||
asset - the actual asset file (or an asset_cache_item datum)
|
||||
returns a /datum/asset_cache_item.
|
||||
mutiple calls to register the same asset under the same asset_name return the same datum</p><h3 id="proc/send_assets"><aside class="declaration">proc </aside>send_assets<aside>(/<a href="client.html">client</a>/client, /list/asset_list) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/transports/asset_transport.dm#L78"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/transports/asset_transport.dm 78"></a></aside></h3><p>Sends a list of browser assets to a client
|
||||
client - a client or mob
|
||||
asset_list - A list of asset filenames to be sent to the client. Can optionally be assoicated with the asset's asset_cache_item datum.
|
||||
Returns TRUE if any assets were sent.</p><h3 id="proc/send_assets_slow"><aside class="declaration">proc </aside>send_assets_slow<aside>(/<a href="client.html">client</a>/client, /list/files, filerate) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/transports/asset_transport.dm#L140"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/transports/asset_transport.dm 140"></a></aside></h3><p>Precache files without clogging up the browse() queue, used for passively sending files on connection start.</p><h3 id="proc/validate_config"><aside class="declaration">proc </aside>validate_config<aside>(log) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/transports/asset_transport.dm#L153"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/transports/asset_transport.dm 153"></a></aside></h3><p>Check the config is valid to load this transport
|
||||
Returns TRUE or FALSE</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>
|
||||
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/asset_transport/webroot - /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/asset_transport/webroot.html#proc">Proc Details</a></header><main><h1>webroot <aside>/<a href="datum.html">datum</a>/<a href="datum/asset_transport.html">asset_transport</a>/<a href="datum/asset_transport/webroot.html">webroot</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/transports/webroot_transport.dm#L2"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/transports/webroot_transport.dm 2"></a></h1><p>CDN Webroot asset transport.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/asset_transport/webroot.html#proc/get_asset_url">get_asset_url</a></th><td>Returns a url for a given asset.
|
||||
asset_name - Name of the asset.
|
||||
asset_cache_item - asset cache item datum for the asset, optional, overrides asset_name</td></tr><tr><th><a href="datum/asset_transport/webroot.html#proc/load_existing_assets">load_existing_assets</a></th><td>Processes thru any assets that were registered before we were loaded as a transport.</td></tr><tr><th><a href="datum/asset_transport/webroot.html#proc/register_asset">register_asset</a></th><td>Register a browser asset with the asset cache system
|
||||
We also save it to the CDN webroot at this step instead of waiting for send_assets()
|
||||
asset_name - the identifier of the asset
|
||||
asset - the actual asset file or an asset_cache_item datum.</td></tr><tr><th><a href="datum/asset_transport/webroot.html#proc/save_asset_to_webroot">save_asset_to_webroot</a></th><td>Saves the asset to the webroot taking into account namespaces and hashes.</td></tr><tr><th><a href="datum/asset_transport/webroot.html#proc/send_assets">send_assets</a></th><td>webroot asset sending - does nothing unless passed legacy assets</td></tr><tr><th><a href="datum/asset_transport/webroot.html#proc/send_assets_slow">send_assets_slow</a></th><td>webroot slow asset sending - does nothing.</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/get_asset_url"><aside class="parent"><a title="/datum/asset_transport" href="datum/asset_transport.html#proc/get_asset_url">↑</a></aside>get_asset_url<aside>(asset_name, /<a href="datum.html">datum</a>/<a href="datum/asset_cache_item.html">asset_cache_item</a>/asset_cache_item) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/transports/webroot_transport.dm#L39"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/transports/webroot_transport.dm 39"></a></aside></h3><p>Returns a url for a given asset.
|
||||
asset_name - Name of the asset.
|
||||
asset_cache_item - asset cache item datum for the asset, optional, overrides asset_name</p><h3 id="proc/load_existing_assets"><aside class="declaration">proc </aside>load_existing_assets<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/transports/webroot_transport.dm#L10"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/transports/webroot_transport.dm 10"></a></aside></h3><p>Processes thru any assets that were registered before we were loaded as a transport.</p><h3 id="proc/register_asset"><aside class="parent"><a title="/datum/asset_transport" href="datum/asset_transport.html#proc/register_asset">↑</a></aside>register_asset<aside>(asset_name, asset) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/transports/webroot_transport.dm#L19"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/transports/webroot_transport.dm 19"></a></aside></h3><p>Register a browser asset with the asset cache system
|
||||
We also save it to the CDN webroot at this step instead of waiting for send_assets()
|
||||
asset_name - the identifier of the asset
|
||||
asset - the actual asset file or an asset_cache_item datum.</p><h3 id="proc/save_asset_to_webroot"><aside class="declaration">proc </aside>save_asset_to_webroot<aside>(/<a href="datum.html">datum</a>/<a href="datum/asset_cache_item.html">asset_cache_item</a>/ACI) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/transports/webroot_transport.dm#L27"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/transports/webroot_transport.dm 27"></a></aside></h3><p>Saves the asset to the webroot taking into account namespaces and hashes.</p><h3 id="proc/send_assets"><aside class="parent"><a title="/datum/asset_transport" href="datum/asset_transport.html#proc/send_assets">↑</a></aside>send_assets<aside>(/<a href="client.html">client</a>/client, /list/asset_list) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/transports/webroot_transport.dm#L56"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/transports/webroot_transport.dm 56"></a></aside></h3><p>webroot asset sending - does nothing unless passed legacy assets</p><h3 id="proc/send_assets_slow"><aside class="parent"><a title="/datum/asset_transport" href="datum/asset_transport.html#proc/send_assets_slow">↑</a></aside>send_assets_slow<aside>(/<a href="client.html">client</a>/client, /list/files, filerate) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/transports/webroot_transport.dm#L75"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/transports/webroot_transport.dm 75"></a></aside></h3><p>webroot slow asset sending - does nothing.</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/award - /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/award.html#var">Var Details</a> - <a href="datum/award.html#proc">Proc Details</a></header><main><h1>award <aside>/<a href="datum.html">datum</a>/<a href="datum/award.html">award</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/achievements/_awards.dm#L1"><img src="git.png" width="16" height="16" title="code/datums/achievements/_awards.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/award.html#var/database_id">database_id</a></th><td>What ID do we use in db, limited to 32 characters</td></tr><tr><th><a href="datum/award.html#var/icon">icon</a></th><td>Found in ui_icons/achievements</td></tr><tr><th><a href="datum/award.html#var/name">name</a></th><td>Name of the achievement, If null it won't show up in the achievement browser. (Handy for inheritance trees)</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/award.html#proc/get_changed_rows">get_changed_rows</a></th><td>This saves the changed data to the hub.</td></tr><tr><th><a href="datum/award.html#proc/get_raw_value">get_raw_value</a></th><td>Get raw numerical achievement value from the database</td></tr><tr><th><a href="datum/award.html#proc/load">load</a></th><td>This proc loads the achievement data from the hub.</td></tr><tr><th><a href="datum/award.html#proc/on_unlock">on_unlock</a></th><td>Can be overriden for achievement specific events</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/database_id"><aside class="declaration">var </aside>database_id <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/achievements/_awards.dm#L10"><img src="git.png" width="16" height="16" title="code/datums/achievements/_awards.dm 10"></a></h3><p>What ID do we use in db, limited to 32 characters</p><h3 id="var/icon"><aside class="declaration">var </aside>icon <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/achievements/_awards.dm#L6"><img src="git.png" width="16" height="16" title="code/datums/achievements/_awards.dm 6"></a></h3><p>Found in ui_icons/achievements</p><h3 id="var/name"><aside class="declaration">var </aside>name <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/achievements/_awards.dm#L3"><img src="git.png" width="16" height="16" title="code/datums/achievements/_awards.dm 3"></a></h3><p>Name of the achievement, If null it won't show up in the achievement browser. (Handy for inheritance trees)</p><h2 id="proc">Proc Details</h2><h3 id="proc/get_changed_rows"><aside class="declaration">proc </aside>get_changed_rows<aside>(key, value) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/achievements/_awards.dm#L27"><img src="git.png" width="16" height="16" title="code/datums/achievements/_awards.dm 27"></a></aside></h3><p>This saves the changed data to the hub.</p><h3 id="proc/get_raw_value"><aside class="declaration">proc </aside>get_raw_value<aside>(key) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/achievements/_awards.dm#L46"><img src="git.png" width="16" height="16" title="code/datums/achievements/_awards.dm 46"></a></aside></h3><p>Get raw numerical achievement value from the database</p><h3 id="proc/load"><aside class="declaration">proc </aside>load<aside>(key) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/achievements/_awards.dm#L18"><img src="git.png" width="16" height="16" title="code/datums/achievements/_awards.dm 18"></a></aside></h3><p>This proc loads the achievement data from the hub.</p><h3 id="proc/on_unlock"><aside class="declaration">proc </aside>on_unlock<aside>(/<a href="mob.html">mob</a>/user) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/achievements/_awards.dm#L65"><img src="git.png" width="16" height="16" title="code/datums/achievements/_awards.dm 65"></a></aside></h3><p>Can be overriden for achievement specific events</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/bank_account - /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/bank_account.html#proc">Proc Details</a></header><main><h1>bank_account <aside>/<a href="datum.html">datum</a>/<a href="datum/bank_account.html">bank_account</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/economy/account.dm#L3"><img src="git.png" width="16" height="16" title="code/modules/economy/account.dm 3"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/bank_account.html#proc/bounty_num">bounty_num</a></th><td>Returns the required item count, or required chemical units required to submit a bounty.</td></tr><tr><th><a href="datum/bank_account.html#proc/bounty_text">bounty_text</a></th><td>Returns a string with the civilian bounty's description on it.</td></tr><tr><th><a href="datum/bank_account.html#proc/bounty_value">bounty_value</a></th><td>Produces the value of the account's civilian bounty reward, if able.</td></tr><tr><th><a href="datum/bank_account.html#proc/reset_bounty">reset_bounty</a></th><td>Performs house-cleaning on variables when a civilian bounty is replaced, or, when a bounty is claimed.</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/bounty_num"><aside class="declaration">proc </aside>bounty_num<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/economy/account.dm#L122"><img src="git.png" width="16" height="16" title="code/modules/economy/account.dm 122"></a></aside></h3><p>Returns the required item count, or required chemical units required to submit a bounty.</p><h3 id="proc/bounty_text"><aside class="declaration">proc </aside>bounty_text<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/economy/account.dm#L109"><img src="git.png" width="16" height="16" title="code/modules/economy/account.dm 109"></a></aside></h3><p>Returns a string with the civilian bounty's description on it.</p><h3 id="proc/bounty_value"><aside class="declaration">proc </aside>bounty_value<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/economy/account.dm#L135"><img src="git.png" width="16" height="16" title="code/modules/economy/account.dm 135"></a></aside></h3><p>Produces the value of the account's civilian bounty reward, if able.</p><h3 id="proc/reset_bounty"><aside class="declaration">proc </aside>reset_bounty<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/economy/account.dm#L143"><img src="git.png" width="16" height="16" title="code/modules/economy/account.dm 143"></a></aside></h3><p>Performs house-cleaning on variables when a civilian bounty is replaced, or, when a bounty is claimed.</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/biome - /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/biome.html#var">Var Details</a> - <a href="datum/biome.html#proc">Proc Details</a></header><main><h1>biome <aside>/<a href="datum.html">datum</a>/<a href="datum/biome.html">biome</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/biomes/_biome.dm#L2"><img src="git.png" width="16" height="16" title="code/datums/mapgen/biomes/_biome.dm 2"></a></h1><p>This datum handles the transitioning from a turf to a specific biome, and handles spawning decorative structures and mobs.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/biome.html#var/fauna_density">fauna_density</a></th><td>Chance of having a mob from the fauna types list spawn</td></tr><tr><th><a href="datum/biome.html#var/fauna_types">fauna_types</a></th><td>list of type paths of mobs that can be spawned when the turf spawns fauna</td></tr><tr><th><a href="datum/biome.html#var/flora_density">flora_density</a></th><td>Chance of having a structure from the flora types list spawn</td></tr><tr><th><a href="datum/biome.html#var/flora_types">flora_types</a></th><td>list of type paths of objects that can be spawned when the turf spawns flora</td></tr><tr><th><a href="datum/biome.html#var/turf_type">turf_type</a></th><td>Type of turf this biome creates</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/biome.html#proc/generate_turf">generate_turf</a></th><td>This proc handles the creation of a turf of a specific biome type</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/fauna_density"><aside class="declaration">var </aside>fauna_density <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/biomes/_biome.dm#L8"><img src="git.png" width="16" height="16" title="code/datums/mapgen/biomes/_biome.dm 8"></a></h3><p>Chance of having a mob from the fauna types list spawn</p><h3 id="var/fauna_types"><aside class="declaration">var </aside>fauna_types <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/biomes/_biome.dm#L12"><img src="git.png" width="16" height="16" title="code/datums/mapgen/biomes/_biome.dm 12"></a></h3><p>list of type paths of mobs that can be spawned when the turf spawns fauna</p><h3 id="var/flora_density"><aside class="declaration">var </aside>flora_density <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/biomes/_biome.dm#L6"><img src="git.png" width="16" height="16" title="code/datums/mapgen/biomes/_biome.dm 6"></a></h3><p>Chance of having a structure from the flora types list spawn</p><h3 id="var/flora_types"><aside class="declaration">var </aside>flora_types <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/biomes/_biome.dm#L10"><img src="git.png" width="16" height="16" title="code/datums/mapgen/biomes/_biome.dm 10"></a></h3><p>list of type paths of objects that can be spawned when the turf spawns flora</p><h3 id="var/turf_type"><aside class="declaration">var </aside>turf_type <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/biomes/_biome.dm#L4"><img src="git.png" width="16" height="16" title="code/datums/mapgen/biomes/_biome.dm 4"></a></h3><p>Type of turf this biome creates</p><h2 id="proc">Proc Details</h2><h3 id="proc/generate_turf"><aside class="declaration">proc </aside>generate_turf<aside>(/<a href="turf.html">turf</a>/gen_turf) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/biomes/_biome.dm#L15"><img src="git.png" width="16" height="16" title="code/datums/mapgen/biomes/_biome.dm 15"></a></aside></h3><p>This proc handles the creation of a turf of a specific biome type</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/bitfield - /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/bitfield.html#var">Var Details</a></header><main><h1>bitfield <aside>/<a href="datum.html">datum</a>/<a href="datum/bitfield.html">bitfield</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_globalvars/bitfields.dm#L4"><img src="git.png" width="16" height="16" title="code/_globalvars/bitfields.dm 4"></a></h1><p>Specifies a bitfield for smarter debugging</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/bitfield.html#var/flags">flags</a></th><td>An associative list of the readable flag and its true value</td></tr><tr><th><a href="datum/bitfield.html#var/variable">variable</a></th><td>The variable name that contains the bitfield</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/flags"><aside class="declaration">var </aside>flags <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_globalvars/bitfields.dm#L11"><img src="git.png" width="16" height="16" title="code/_globalvars/bitfields.dm 11"></a></h3><p>An associative list of the readable flag and its true value</p><h3 id="var/variable"><aside class="declaration">var </aside>variable <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_globalvars/bitfields.dm#L6"><img src="git.png" width="16" height="16" title="code/_globalvars/bitfields.dm 6"></a></h3><p>The variable name that contains the bitfield</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>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/callback - /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/callback.html#var">Var Details</a> - <a href="datum/callback.html#proc">Proc Details</a></header><main><h1>Callback Datums <aside>/<a href="datum.html">datum</a>/<a href="datum/callback.html">callback</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/callback.dm#L43"><img src="git.png" width="16" height="16" title="code/datums/callback.dm 43"></a></h1><p>A datum that holds a proc to be called on another object, used to track proccalls to other objects</p>
|
||||
<h2 id="usage">USAGE</h2>
|
||||
<pre><code>var/datum/callback/C = new(object|null, PROC_REF(procname), arg1, arg2, ... argn)
|
||||
var/timerid = addtimer(C, time, timertype)
|
||||
you can also use the compiler define shorthand
|
||||
var/timerid = addtimer(CALLBACK(object|null, PROC_REF(procname), arg1, arg2, ... argn), time, timertype)
|
||||
</code></pre>
|
||||
<p>Note: proc strings can only be given for datum proc calls, global procs must be proc paths</p>
|
||||
<p>Also proc strings are strongly advised against because they don't compile error if the proc stops existing</p>
|
||||
<p>In some cases you can provide a shortform of the procname, see the proc typepath shortcuts documentation below</p>
|
||||
<h2 id="invoking-the-callback">INVOKING THE CALLBACK</h2>
|
||||
<p><code>var/result = C.Invoke(args, to, add)</code> additional args are added after the ones given when the callback was created</p>
|
||||
<p><code>var/result = C.InvokeAsync(args, to, add)</code> Asyncronous - returns . on the first sleep then continues on in the background
|
||||
after the sleep/block ends, otherwise operates normally.</p>
|
||||
<h2 id="proc-typepath-shortcuts">PROC TYPEPATH SHORTCUTS</h2>
|
||||
<p>(these operate on paths, not types, so to these shortcuts, datum is NOT a parent of atom, etc...)</p>
|
||||
<h3 id="proc-defined-on-current-src-object-or-overridden-at-src-or-any-of-its-parents">proc defined on current(src) object OR overridden at src or any of it's parents:</h3>
|
||||
<p>PROC_REF(procname)</p>
|
||||
<p><code>CALLBACK(src, PROC_REF(some_proc_here))</code></p>
|
||||
<h3 id="global-proc">global proc</h3>
|
||||
<p>GLOBAL_PROC_REF(procname)</p>
|
||||
<p><code>CALLBACK(src, GLOBAL_PROC_REF(some_proc_here))</code></p>
|
||||
<h3 id="proc-defined-on-some-type">proc defined on some type</h3>
|
||||
<p>TYPE_PROC_REF(/some/type, some_proc_here)</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/callback.html#var/arguments">arguments</a></th><td>A list of arguments to pass into the proc</td></tr><tr><th><a href="datum/callback.html#var/delegate">delegate</a></th><td>The proc we will be calling on the object</td></tr><tr><th><a href="datum/callback.html#var/object">object</a></th><td>The object we will be calling the proc on</td></tr><tr><th><a href="datum/callback.html#var/user">user</a></th><td>A weak reference to the user who triggered this callback</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/callback.html#proc/Invoke">Invoke</a></th><td>Invoke this callback</td></tr><tr><th><a href="datum/callback.html#proc/InvokeAsync">InvokeAsync</a></th><td>Invoke this callback async (waitfor=false)</td></tr><tr><th><a href="datum/callback.html#proc/New">New</a></th><td>Create a new callback datum</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/arguments"><aside class="declaration">var </aside>arguments <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/callback.dm#L50"><img src="git.png" width="16" height="16" title="code/datums/callback.dm 50"></a></h3><p>A list of arguments to pass into the proc</p><h3 id="var/delegate"><aside class="declaration">var </aside>delegate <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/callback.dm#L48"><img src="git.png" width="16" height="16" title="code/datums/callback.dm 48"></a></h3><p>The proc we will be calling on the object</p><h3 id="var/object"><aside class="declaration">var </aside>object <aside>– /<a href="datum.html">datum</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/callback.dm#L46"><img src="git.png" width="16" height="16" title="code/datums/callback.dm 46"></a></h3><p>The object we will be calling the proc on</p><h3 id="var/user"><aside class="declaration">var </aside>user <aside>– /<a href="datum.html">datum</a>/weakref</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/callback.dm#L54"><img src="git.png" width="16" height="16" title="code/datums/callback.dm 54"></a></h3><p>A weak reference to the user who triggered this callback</p><h2 id="proc">Proc Details</h2><h3 id="proc/Invoke"><aside class="declaration">proc </aside>Invoke<aside>(...) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/callback.dm#L99"><img src="git.png" width="16" height="16" title="code/datums/callback.dm 99"></a></aside></h3><p>Invoke this callback</p>
|
||||
<p>Calls the registered proc on the registered object, if the user ref
|
||||
can be resolved it also inclues that as an arg</p>
|
||||
<p>If the datum being called on is varedited, the call is wrapped via <a href="global.html#proc/WrapAdminProcCall" title="/global">WrapAdminProcCall</a></p><h3 id="proc/InvokeAsync"><aside class="declaration">proc </aside>InvokeAsync<aside>(...) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/callback.dm#L132"><img src="git.png" width="16" height="16" title="code/datums/callback.dm 132"></a></aside></h3><p>Invoke this callback async (waitfor=false)</p>
|
||||
<p>Calls the registered proc on the registered object, if the user ref
|
||||
can be resolved it also inclues that as an arg</p>
|
||||
<p>If the datum being called on is varedited, the call is wrapped via WrapAdminProcCall</p><h3 id="proc/New">New<aside>(thingtocall, proctocall, ...) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/callback.dm#L62"><img src="git.png" width="16" height="16" title="code/datums/callback.dm 62"></a></aside></h3><p>Create a new callback datum</p>
|
||||
<p>Arguments</p>
|
||||
<ul>
|
||||
<li>thingtocall the object to call the proc on</li>
|
||||
<li>proctocall the proc to call on the target object</li>
|
||||
<li>... an optional list of extra arguments to pass to the proc</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/centcom_announcer - /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/centcom_announcer.html#var">Var Details</a></header><main><h1>centcom_announcer <aside>/<a href="datum.html">datum</a>/<a href="datum/centcom_announcer.html">centcom_announcer</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/announcers/_announcer.dm#L2"><img src="git.png" width="16" height="16" title="code/datums/announcers/_announcer.dm 2"></a></h1><p>Data holder for the announcers that can be used in a game, this can be used to have alternative announcements outside of the default e.g.the intern</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/centcom_announcer.html#var/alert_sounds">alert_sounds</a></th><td>Sounds made when announcement is receivedc</td></tr><tr><th><a href="datum/centcom_announcer.html#var/command_report_sounds">command_report_sounds</a></th><td>Sounds made when command report is received</td></tr><tr><th><a href="datum/centcom_announcer.html#var/custom_alert_message">custom_alert_message</a></th><td>Override this to have a custom message to show instead of the normal priority announcement</td></tr><tr><th><a href="datum/centcom_announcer.html#var/event_sounds">event_sounds</a></th><td>Event audio, can be used for specific event announcements and is assoc key - sound. If no sound is found the default is used.area</td></tr><tr><th><a href="datum/centcom_announcer.html#var/welcome_sounds">welcome_sounds</a></th><td>Roundshift start audio</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/alert_sounds"><aside class="declaration">var </aside>alert_sounds <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/announcers/_announcer.dm#L6"><img src="git.png" width="16" height="16" title="code/datums/announcers/_announcer.dm 6"></a></h3><p>Sounds made when announcement is receivedc</p><h3 id="var/command_report_sounds"><aside class="declaration">var </aside>command_report_sounds <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/announcers/_announcer.dm#L8"><img src="git.png" width="16" height="16" title="code/datums/announcers/_announcer.dm 8"></a></h3><p>Sounds made when command report is received</p><h3 id="var/custom_alert_message"><aside class="declaration">var </aside>custom_alert_message <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/announcers/_announcer.dm#L15"><img src="git.png" width="16" height="16" title="code/datums/announcers/_announcer.dm 15"></a></h3><p>Override this to have a custom message to show instead of the normal priority announcement</p><h3 id="var/event_sounds"><aside class="declaration">var </aside>event_sounds <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/announcers/_announcer.dm#L10"><img src="git.png" width="16" height="16" title="code/datums/announcers/_announcer.dm 10"></a></h3><p>Event audio, can be used for specific event announcements and is assoc key - sound. If no sound is found the default is used.area</p><h3 id="var/welcome_sounds"><aside class="declaration">var </aside>welcome_sounds <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/announcers/_announcer.dm#L4"><img src="git.png" width="16" height="16" title="code/datums/announcers/_announcer.dm 4"></a></h3><p>Roundshift start audio</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/changelingprofile - /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/changelingprofile.html#var">Var Details</a></header><main><h1>changelingprofile <aside>/<a href="datum.html">datum</a>/<a href="datum/changelingprofile.html">changelingprofile</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/changeling/changeling.dm#L516"><img src="git.png" width="16" height="16" title="code/modules/antagonists/changeling/changeling.dm 516"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/changelingprofile.html#var/profile_snapshot">profile_snapshot</a></th><td>Icon snapshot of the profile</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/profile_snapshot"><aside class="declaration">var </aside>profile_snapshot <aside>– /<a href="datum.html">datum</a>/icon_snapshot</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/changeling/changeling.dm#L538"><img src="git.png" width="16" height="16" title="code/modules/antagonists/changeling/changeling.dm 538"></a></h3><p>Icon snapshot of the profile</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>
|
||||
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/chatmessage - /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/chatmessage.html#var">Var Details</a> - <a href="datum/chatmessage.html#proc">Proc Details</a></header><main><h1>Chat Message Overlay <aside>/<a href="datum.html">datum</a>/<a href="datum/chatmessage.html">chatmessage</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/chatmessage.dm#L27"><img src="git.png" width="16" height="16" title="code/datums/chatmessage.dm 27"></a></h1><p>Datum for generating a message overlay on the map</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/chatmessage.html#var/approx_lines">approx_lines</a></th><td>Contains the approximate amount of lines for height decay</td></tr><tr><th><a href="datum/chatmessage.html#var/current_z_idx">current_z_idx</a></th><td>The current index used for adjusting the layer of each sequential chat message such that recent messages will overlay older ones</td></tr><tr><th><a href="datum/chatmessage.html#var/eol_complete">eol_complete</a></th><td>Contains the time that the EOL for the message will be complete, used for qdel scheduling</td></tr><tr><th><a href="datum/chatmessage.html#var/message">message</a></th><td>The visual element of the chat messsage</td></tr><tr><th><a href="datum/chatmessage.html#var/message_loc">message_loc</a></th><td>The location in which the message is appearing</td></tr><tr><th><a href="datum/chatmessage.html#var/next">next</a></th><td>Contains the reference to the next chatmessage in the bucket, used by runechat subsystem</td></tr><tr><th><a href="datum/chatmessage.html#var/owned_by">owned_by</a></th><td>The client who heard this message</td></tr><tr><th><a href="datum/chatmessage.html#var/prev">prev</a></th><td>Contains the reference to the previous chatmessage in the bucket, used by runechat subsystem</td></tr><tr><th><a href="datum/chatmessage.html#var/scheduled_destruction">scheduled_destruction</a></th><td>Contains the scheduled destruction time, used for scheduling EOL</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/chatmessage.html#proc/New">New</a></th><td>Constructs a chat message overlay</td></tr><tr><th><a href="datum/chatmessage.html#proc/colorize_string">colorize_string</a></th><td>Gets a color for a name, will return the same color for a given string consistently within a round.atom</td></tr><tr><th><a href="datum/chatmessage.html#proc/end_of_life">end_of_life</a></th><td>Applies final animations to overlay CHAT_MESSAGE_EOL_FADE deciseconds prior to message deletion
|
||||
Arguments:</td></tr><tr><th><a href="datum/chatmessage.html#proc/enter_subsystem">enter_subsystem</a></th><td>Enters the runechat subsystem with this chatmessage, inserting it into the end-of-life queue</td></tr><tr><th><a href="datum/chatmessage.html#proc/generate_image">generate_image</a></th><td>Generates a chat message image representation</td></tr><tr><th><a href="datum/chatmessage.html#proc/leave_subsystem">leave_subsystem</a></th><td>Removes this chatmessage datum from the runechat subsystem</td></tr><tr><th><a href="datum/chatmessage.html#proc/on_parent_qdel">on_parent_qdel</a></th><td>Calls qdel on the chatmessage when its parent is deleted, used to register qdel signal</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/approx_lines"><aside class="declaration">var </aside>approx_lines <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/chatmessage.dm#L39"><img src="git.png" width="16" height="16" title="code/datums/chatmessage.dm 39"></a></h3><p>Contains the approximate amount of lines for height decay</p><h3 id="var/current_z_idx"><aside class="declaration">var </aside>current_z_idx <aside>– /static</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/chatmessage.dm#L45"><img src="git.png" width="16" height="16" title="code/datums/chatmessage.dm 45"></a></h3><p>The current index used for adjusting the layer of each sequential chat message such that recent messages will overlay older ones</p><h3 id="var/eol_complete"><aside class="declaration">var </aside>eol_complete <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/chatmessage.dm#L37"><img src="git.png" width="16" height="16" title="code/datums/chatmessage.dm 37"></a></h3><p>Contains the time that the EOL for the message will be complete, used for qdel scheduling</p><h3 id="var/message"><aside class="declaration">var </aside>message <aside>– /<a href="image.html">image</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/chatmessage.dm#L29"><img src="git.png" width="16" height="16" title="code/datums/chatmessage.dm 29"></a></h3><p>The visual element of the chat messsage</p><h3 id="var/message_loc"><aside class="declaration">var </aside>message_loc <aside>– /<a href="atom.html">atom</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/chatmessage.dm#L31"><img src="git.png" width="16" height="16" title="code/datums/chatmessage.dm 31"></a></h3><p>The location in which the message is appearing</p><h3 id="var/next"><aside class="declaration">var </aside>next <aside>– /<a href="datum.html">datum</a>/<a href="datum/chatmessage.html">chatmessage</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/chatmessage.dm#L41"><img src="git.png" width="16" height="16" title="code/datums/chatmessage.dm 41"></a></h3><p>Contains the reference to the next chatmessage in the bucket, used by runechat subsystem</p><h3 id="var/owned_by"><aside class="declaration">var </aside>owned_by <aside>– /<a href="client.html">client</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/chatmessage.dm#L33"><img src="git.png" width="16" height="16" title="code/datums/chatmessage.dm 33"></a></h3><p>The client who heard this message</p><h3 id="var/prev"><aside class="declaration">var </aside>prev <aside>– /<a href="datum.html">datum</a>/<a href="datum/chatmessage.html">chatmessage</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/chatmessage.dm#L43"><img src="git.png" width="16" height="16" title="code/datums/chatmessage.dm 43"></a></h3><p>Contains the reference to the previous chatmessage in the bucket, used by runechat subsystem</p><h3 id="var/scheduled_destruction"><aside class="declaration">var </aside>scheduled_destruction <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/chatmessage.dm#L35"><img src="git.png" width="16" height="16" title="code/datums/chatmessage.dm 35"></a></h3><p>Contains the scheduled destruction time, used for scheduling EOL</p><h2 id="proc">Proc Details</h2><h3 id="proc/New">New<aside>(text, /<a href="atom.html">atom</a>/target, /<a href="mob.html">mob</a>/owner, /list/extra_classes, lifespan) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/chatmessage.dm#L57"><img src="git.png" width="16" height="16" title="code/datums/chatmessage.dm 57"></a></aside></h3><p>Constructs a chat message overlay</p>
|
||||
<p>Arguments:</p>
|
||||
<ul>
|
||||
<li>text - The text content of the overlay</li>
|
||||
<li>target - The target atom to display the overlay at</li>
|
||||
<li>owner - The mob that owns this overlay, only this mob will be able to view it</li>
|
||||
<li>extra_classes - Extra classes to apply to the span that holds the text</li>
|
||||
<li>lifespan - The lifespan of the message in deciseconds</li>
|
||||
</ul><h3 id="proc/colorize_string"><aside class="declaration">proc </aside>colorize_string<aside>(name, sat_shift, lum_shift) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/chatmessage.dm#L235"><img src="git.png" width="16" height="16" title="code/datums/chatmessage.dm 235"></a></aside></h3><p>Gets a color for a name, will return the same color for a given string consistently within a round.atom</p>
|
||||
<p>Note that this proc aims to produce pastel-ish colors using the HSL colorspace. These seem to be favorable for displaying on the map.</p>
|
||||
<p>Arguments:</p>
|
||||
<ul>
|
||||
<li>name - The name to generate a color for</li>
|
||||
<li>sat_shift - A value between 0 and 1 that will be multiplied against the saturation</li>
|
||||
<li>lum_shift - A value between 0 and 1 that will be multiplied against the luminescence</li>
|
||||
</ul><h3 id="proc/end_of_life"><aside class="declaration">proc </aside>end_of_life<aside>(fadetime) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/chatmessage.dm#L185"><img src="git.png" width="16" height="16" title="code/datums/chatmessage.dm 185"></a></aside></h3><p>Applies final animations to overlay CHAT_MESSAGE_EOL_FADE deciseconds prior to message deletion
|
||||
Arguments:</p>
|
||||
<ul>
|
||||
<li>fadetime - The amount of time to animate the message's fadeout for</li>
|
||||
</ul><h3 id="proc/enter_subsystem"><aside class="declaration">proc </aside>enter_subsystem<aside>(new_sched_destruction) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/runechat.dm#L142"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/runechat.dm 142"></a></aside></h3><p>Enters the runechat subsystem with this chatmessage, inserting it into the end-of-life queue</p>
|
||||
<p>This will also account for a chatmessage already being registered, and in which case
|
||||
the position will be updated to remove it from the previous location if necessary</p>
|
||||
<p>Arguments:</p>
|
||||
<ul>
|
||||
<li>new_sched_destruction Optional, when provided is used to update an existing message with the new specified time</li>
|
||||
</ul><h3 id="proc/generate_image"><aside class="declaration">proc </aside>generate_image<aside>(text, /<a href="atom.html">atom</a>/target, /<a href="mob.html">mob</a>/owner, /list/extra_classes, lifespan) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/chatmessage.dm#L94"><img src="git.png" width="16" height="16" title="code/datums/chatmessage.dm 94"></a></aside></h3><p>Generates a chat message image representation</p>
|
||||
<p>Arguments:</p>
|
||||
<ul>
|
||||
<li>text - The text content of the overlay</li>
|
||||
<li>target - The target atom to display the overlay at</li>
|
||||
<li>owner - The mob that owns this overlay, only this mob will be able to view it</li>
|
||||
<li>extra_classes - Extra classes to apply to the span that holds the text</li>
|
||||
<li>lifespan - The lifespan of the message in deciseconds</li>
|
||||
</ul><h3 id="proc/leave_subsystem"><aside class="declaration">proc </aside>leave_subsystem<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/runechat.dm#L199"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/runechat.dm 199"></a></aside></h3><p>Removes this chatmessage datum from the runechat subsystem</p><h3 id="proc/on_parent_qdel"><aside class="declaration">proc </aside>on_parent_qdel<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/chatmessage.dm#L81"><img src="git.png" width="16" height="16" title="code/datums/chatmessage.dm 81"></a></aside></h3><p>Calls qdel on the chatmessage when its parent is deleted, used to register qdel signal</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/chemical_reaction - /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/chemical_reaction.html#var">Var Details</a></header><main><h1>chemical_reaction <aside>/<a href="datum.html">datum</a>/<a href="datum/chemical_reaction.html">chemical_reaction</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/reagents/chemistry/recipes.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/reagents/chemistry/recipes.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/chemical_reaction.html#var/priority">priority</a></th><td>Higher is higher priority, determines which order reactions are checked.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/priority"><aside class="declaration">var </aside>priority <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/reagents/chemistry/recipes.dm#L9"><img src="git.png" width="16" height="16" title="code/modules/reagents/chemistry/recipes.dm 9"></a></h3><p>Higher is higher priority, determines which order reactions are checked.</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/client_interface - /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/client_interface.html#var">Var Details</a></header><main><h1>client_interface <aside>/<a href="datum.html">datum</a>/<a href="datum/client_interface.html">client_interface</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mocking/client.dm#L2"><img src="git.png" width="16" height="16" title="code/datums/mocking/client.dm 2"></a></h1><p>This should match the interface of /client wherever necessary.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/client_interface.html#var/prefs">prefs</a></th><td>Player preferences datum for the client</td></tr><tr><th><a href="datum/client_interface.html#var/view">view</a></th><td>The view of the client, similar to /client/var/view.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/prefs"><aside class="declaration">var </aside>prefs <aside>– /<a href="datum.html">datum</a>/<a href="datum/preferences.html">preferences</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mocking/client.dm#L4"><img src="git.png" width="16" height="16" title="code/datums/mocking/client.dm 4"></a></h3><p>Player preferences datum for the client</p><h3 id="var/view"><aside class="declaration">var </aside>view <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mocking/client.dm#L7"><img src="git.png" width="16" height="16" title="code/datums/mocking/client.dm 7"></a></h3><p>The view of the client, similar to /client/var/view.</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>
|
||||
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component - /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.html#var">Var Details</a> - <a href="datum/component.html#proc">Proc Details</a></header><main><h1>Component <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L12"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 12"></a></h1><p>The component datum</p>
|
||||
<p>A component should be a single standalone unit
|
||||
of functionality, that works by receiving signals from it's parent
|
||||
object to provide some single functionality (i.e a slippery component)
|
||||
that makes the object it's attached to cause people to slip over.
|
||||
Useful when you want shared behaviour independent of type inheritance</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component.html#var/can_transfer">can_transfer</a></th><td>Only set to true if you are able to properly transfer this component
|
||||
At a minimum RegisterWithParent and UnregisterFromParent should be used
|
||||
Make sure you also implement PostTransfer for any post transfer handling</td></tr><tr><th><a href="datum/component.html#var/dupe_mode">dupe_mode</a></th><td>Defines how duplicate existing components are handled when added to a datum
|
||||
See <code>COMPONENT_DUPE_*</code> definitions for available options</td></tr><tr><th><a href="datum/component.html#var/dupe_type">dupe_type</a></th><td>The type to check for duplication
|
||||
<code>null</code> means exact match on <code>type</code> (default)
|
||||
Any other type means that and all subtypes</td></tr><tr><th><a href="datum/component.html#var/parent">parent</a></th><td>The datum this components belongs to</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/component.html#proc/CheckDupeComponent">CheckDupeComponent</a></th><td>Called on a component when a component of the same type was added to the same parent with COMPONENT_DUPE_SELECTIVE
|
||||
See <code>/datum/component/var/dupe_mode</code>
|
||||
<code>C</code>'s type will always be the same of the called component
|
||||
return TRUE if you are absorbing the component, otherwise FALSE if you are fine having it exist as a duplicate component</td></tr><tr><th><a href="datum/component.html#proc/Destroy">Destroy</a></th><td>Properly removes the component from <code>parent</code> and cleans up references</td></tr><tr><th><a href="datum/component.html#proc/InheritComponent">InheritComponent</a></th><td>Called on a component when a component of the same type was added to the same parent
|
||||
See <code>/datum/component/var/dupe_mode</code>
|
||||
<code>C</code>'s type will always be the same of the called component</td></tr><tr><th><a href="datum/component.html#proc/Initialize">Initialize</a></th><td>Called during component creation with the same arguments as in new excluding parent.
|
||||
Do not call <code>qdel(src)</code> from this function, <code>return COMPONENT_INCOMPATIBLE</code> instead</td></tr><tr><th><a href="datum/component.html#proc/New">New</a></th><td>Create a new component.
|
||||
Additional arguments are passed to <code>Initialize()</code></td></tr><tr><th><a href="datum/component.html#proc/PostTransfer">PostTransfer</a></th><td>Callback Just after a component is transferred</td></tr><tr><th><a href="datum/component.html#proc/PreTransfer">PreTransfer</a></th><td>Callback Just before this component is transferred</td></tr><tr><th><a href="datum/component.html#proc/RegisterWithParent">RegisterWithParent</a></th><td>Register the component with the parent object</td></tr><tr><th><a href="datum/component.html#proc/RemoveComponent">RemoveComponent</a></th><td>Removes the component from parent, ends up with a null parent</td></tr><tr><th><a href="datum/component.html#proc/UnregisterFromParent">UnregisterFromParent</a></th><td>Unregister from our parent object</td></tr><tr><th><a href="datum/component.html#proc/_GetInverseTypeList">_GetInverseTypeList</a></th><td>Internal proc to create a list of our type and all parent types</td></tr><tr><th><a href="datum/component.html#proc/_JoinParent">_JoinParent</a></th><td>Internal proc to handle behaviour of components when joining a parent</td></tr><tr><th><a href="datum/component.html#proc/_RemoveFromParent">_RemoveFromParent</a></th><td>Internal proc to handle behaviour when being removed from a parent</td></tr><tr><th><a href="datum/component.html#proc/ui_host">ui_host</a></th><td>Return the object that is the host of any UI's that this component has</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/can_transfer"><aside class="declaration">var </aside>can_transfer <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L28"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 28"></a></h3><p>Only set to true if you are able to properly transfer this component
|
||||
At a minimum RegisterWithParent and UnregisterFromParent should be used
|
||||
Make sure you also implement PostTransfer for any post transfer handling</p><h3 id="var/dupe_mode"><aside class="declaration">var </aside>dupe_mode <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L15"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 15"></a></h3><p>Defines how duplicate existing components are handled when added to a datum
|
||||
See <code>COMPONENT_DUPE_*</code> definitions for available options</p><h3 id="var/dupe_type"><aside class="declaration">var </aside>dupe_type <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L20"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 20"></a></h3><p>The type to check for duplication
|
||||
<code>null</code> means exact match on <code>type</code> (default)
|
||||
Any other type means that and all subtypes</p><h3 id="var/parent"><aside class="declaration">var </aside>parent <aside>– /<a href="datum.html">datum</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L23"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 23"></a></h3><p>The datum this components belongs to</p><h2 id="proc">Proc Details</h2><h3 id="proc/CheckDupeComponent"><aside class="declaration">proc </aside>CheckDupeComponent<aside>(/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/C, ...) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L250"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 250"></a></aside></h3><p>Called on a component when a component of the same type was added to the same parent with COMPONENT_DUPE_SELECTIVE
|
||||
See <code>/datum/component/var/dupe_mode</code>
|
||||
<code>C</code>'s type will always be the same of the called component
|
||||
return TRUE if you are absorbing the component, otherwise FALSE if you are fine having it exist as a duplicate component</p><h3 id="proc/Destroy"><aside class="parent"><a title="/datum" href="datum.html#proc/Destroy">↑</a></aside>Destroy<aside>(force, silent) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L61"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 61"></a></aside></h3><p>Properly removes the component from <code>parent</code> and cleans up references</p>
|
||||
<p>Arguments:</p>
|
||||
<ul>
|
||||
<li>force - makes it not check for and remove the component from the parent</li>
|
||||
<li>silent - deletes the component without sending a <a href="code/__DEFINES/dcs/signals.html#define/COMSIG_COMPONENT_REMOVING" title="COMSIG_COMPONENT_REMOVING">COMSIG_COMPONENT_REMOVING</a> signal</li>
|
||||
</ul><h3 id="proc/InheritComponent"><aside class="declaration">proc </aside>InheritComponent<aside>(/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/C, i_am_original) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L240"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 240"></a></aside></h3><p>Called on a component when a component of the same type was added to the same parent
|
||||
See <code>/datum/component/var/dupe_mode</code>
|
||||
<code>C</code>'s type will always be the same of the called component</p><h3 id="proc/Initialize"><aside class="declaration">proc </aside>Initialize<aside>(...) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L51"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 51"></a></aside></h3><p>Called during component creation with the same arguments as in new excluding parent.
|
||||
Do not call <code>qdel(src)</code> from this function, <code>return COMPONENT_INCOMPATIBLE</code> instead</p><h3 id="proc/New">New<aside>(/list/raw_args) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L37"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 37"></a></aside></h3><p>Create a new component.
|
||||
Additional arguments are passed to <code>Initialize()</code></p>
|
||||
<p>Arguments:</p>
|
||||
<ul>
|
||||
<li>datum/P the parent datum this component reacts to signals from</li>
|
||||
</ul><h3 id="proc/PostTransfer"><aside class="declaration">proc </aside>PostTransfer<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L270"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 270"></a></aside></h3><p>Callback Just after a component is transferred</p>
|
||||
<p>Use this to do any special setup you need to do after being moved to a new object
|
||||
Do not call <code>qdel(src)</code> from this function, <code>return COMPONENT_INCOMPATIBLE</code> instead</p><h3 id="proc/PreTransfer"><aside class="declaration">proc </aside>PreTransfer<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L260"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 260"></a></aside></h3><p>Callback Just before this component is transferred</p>
|
||||
<p>Use this to do any special cleanup you might need to do before being deregged from an object</p><h3 id="proc/RegisterWithParent"><aside class="declaration">proc </aside>RegisterWithParent<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L136"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 136"></a></aside></h3><p>Register the component with the parent object</p>
|
||||
<p>Use this proc to register with your parent object
|
||||
Overridable proc that's called when added to a new parent</p><h3 id="proc/RemoveComponent"><aside class="declaration">proc </aside>RemoveComponent<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L452"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 452"></a></aside></h3><p>Removes the component from parent, ends up with a null parent</p><h3 id="proc/UnregisterFromParent"><aside class="declaration">proc </aside>UnregisterFromParent<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L146"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 146"></a></aside></h3><p>Unregister from our parent object</p>
|
||||
<p>Use this proc to unregister from your parent object
|
||||
Overridable proc that's called when removed from a parent</p><h3 id="proc/_GetInverseTypeList"><aside class="declaration">proc </aside>_GetInverseTypeList<aside>(our_type) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L276"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 276"></a></aside></h3><p>Internal proc to create a list of our type and all parent types</p><h3 id="proc/_JoinParent"><aside class="declaration">proc </aside>_JoinParent<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L74"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 74"></a></aside></h3><p>Internal proc to handle behaviour of components when joining a parent</p><h3 id="proc/_RemoveFromParent"><aside class="declaration">proc </aside>_RemoveFromParent<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L112"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 112"></a></aside></h3><p>Internal proc to handle behaviour when being removed from a parent</p><h3 id="proc/ui_host"><aside class="parent"><a title="/datum" href="datum.html#proc/ui_host">↑</a></aside>ui_host<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/_component.dm#L510"><img src="git.png" width="16" height="16" title="code/datums/components/_component.dm 510"></a></aside></h3><p>Return the object that is the host of any UI's that this component has</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/area_sound_manager - /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/area_sound_manager.html#var">Var Details</a></header><main><h1>area_sound_manager <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/area_sound_manager.html">area_sound_manager</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/area_sound_manager.dm#L2"><img src="git.png" width="16" height="16" title="code/datums/components/area_sound_manager.dm 2"></a></h1><p>Allows you to set a theme for a set of areas without tying them to looping sounds explicitly</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/area_sound_manager.html#var/accepted_zs">accepted_zs</a></th><td>A list of "acceptable" z levels to be on. If you leave this, we're gonna delete ourselves</td></tr><tr><th><a href="datum/component/area_sound_manager.html#var/area_to_looping_type">area_to_looping_type</a></th><td>area -> looping sound type</td></tr><tr><th><a href="datum/component/area_sound_manager.html#var/our_loop">our_loop</a></th><td>Current sound loop</td></tr><tr><th><a href="datum/component/area_sound_manager.html#var/timerid">timerid</a></th><td>The timer id of our current start delay, if it exists</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/accepted_zs"><aside class="declaration">var </aside>accepted_zs <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/area_sound_manager.dm#L8"><img src="git.png" width="16" height="16" title="code/datums/components/area_sound_manager.dm 8"></a></h3><p>A list of "acceptable" z levels to be on. If you leave this, we're gonna delete ourselves</p><h3 id="var/area_to_looping_type"><aside class="declaration">var </aside>area_to_looping_type <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/area_sound_manager.dm#L4"><img src="git.png" width="16" height="16" title="code/datums/components/area_sound_manager.dm 4"></a></h3><p>area -> looping sound type</p><h3 id="var/our_loop"><aside class="declaration">var </aside>our_loop <aside>– /<a href="datum.html">datum</a>/<a href="datum/looping_sound.html">looping_sound</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/area_sound_manager.dm#L6"><img src="git.png" width="16" height="16" title="code/datums/components/area_sound_manager.dm 6"></a></h3><p>Current sound loop</p><h3 id="var/timerid"><aside class="declaration">var </aside>timerid <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/area_sound_manager.dm#L12"><img src="git.png" width="16" height="16" title="code/datums/components/area_sound_manager.dm 12"></a></h3><p>The timer id of our current start delay, if it exists</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>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,5 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/dejavu - /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/dejavu.html#var">Var Details</a></header><main><h1>dejavu <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/dejavu.html">dejavu</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/dejavu.dm#L4"><img src="git.png" width="16" height="16" title="code/datums/components/dejavu.dm 4"></a></h1><p>A component to reset the parent to its previous state after some time passes</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/dejavu.html#var/brain_loss">brain_loss</a></th><td>The starting value of brain loss at the beginning of the effect</td></tr><tr><th><a href="datum/component/dejavu.html#var/brute_loss">brute_loss</a></th><td>The starting value of brute loss at the beginning of the effect
|
||||
This only applies to simple animals</td></tr><tr><th><a href="datum/component/dejavu.html#var/clone_loss">clone_loss</a></th><td>The starting value of clone loss at the beginning of the effect</td></tr><tr><th><a href="datum/component/dejavu.html#var/integrity">integrity</a></th><td>The starting value of integrity at the beginning of the effect
|
||||
This only applies to objects</td></tr><tr><th><a href="datum/component/dejavu.html#var/oxy_loss">oxy_loss</a></th><td>The starting value of oxygen loss at the beginning of the effect</td></tr><tr><th><a href="datum/component/dejavu.html#var/rewind_interval">rewind_interval</a></th><td>How long to wait between each rewind</td></tr><tr><th><a href="datum/component/dejavu.html#var/rewind_type">rewind_type</a></th><td>Determined by the type of the parent so different behaviours can happen per type</td></tr><tr><th><a href="datum/component/dejavu.html#var/rewinds_remaining">rewinds_remaining</a></th><td>How many rewinds will happen before the effect ends</td></tr><tr><th><a href="datum/component/dejavu.html#var/saved_bodyparts">saved_bodyparts</a></th><td>A list of body parts saved at the beginning of the effect</td></tr><tr><th><a href="datum/component/dejavu.html#var/starting_turf">starting_turf</a></th><td>The turf the parent was on when this components was applied, they get moved back here after the duration</td></tr><tr><th><a href="datum/component/dejavu.html#var/tox_loss">tox_loss</a></th><td>The starting value of toxin loss at the beginning of the effect</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/brain_loss"><aside class="declaration">var </aside>brain_loss <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/dejavu.dm#L21"><img src="git.png" width="16" height="16" title="code/datums/components/dejavu.dm 21"></a></h3><p>The starting value of brain loss at the beginning of the effect</p><h3 id="var/brute_loss"><aside class="declaration">var </aside>brute_loss <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/dejavu.dm#L24"><img src="git.png" width="16" height="16" title="code/datums/components/dejavu.dm 24"></a></h3><p>The starting value of brute loss at the beginning of the effect
|
||||
This only applies to simple animals</p><h3 id="var/clone_loss"><aside class="declaration">var </aside>clone_loss <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/dejavu.dm#L15"><img src="git.png" width="16" height="16" title="code/datums/components/dejavu.dm 15"></a></h3><p>The starting value of clone loss at the beginning of the effect</p><h3 id="var/integrity"><aside class="declaration">var </aside>integrity <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/dejavu.dm#L27"><img src="git.png" width="16" height="16" title="code/datums/components/dejavu.dm 27"></a></h3><p>The starting value of integrity at the beginning of the effect
|
||||
This only applies to objects</p><h3 id="var/oxy_loss"><aside class="declaration">var </aside>oxy_loss <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/dejavu.dm#L19"><img src="git.png" width="16" height="16" title="code/datums/components/dejavu.dm 19"></a></h3><p>The starting value of oxygen loss at the beginning of the effect</p><h3 id="var/rewind_interval"><aside class="declaration">var </aside>rewind_interval <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/dejavu.dm#L12"><img src="git.png" width="16" height="16" title="code/datums/components/dejavu.dm 12"></a></h3><p>How long to wait between each rewind</p><h3 id="var/rewind_type"><aside class="declaration">var </aside>rewind_type <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/dejavu.dm#L8"><img src="git.png" width="16" height="16" title="code/datums/components/dejavu.dm 8"></a></h3><p>Determined by the type of the parent so different behaviours can happen per type</p><h3 id="var/rewinds_remaining"><aside class="declaration">var </aside>rewinds_remaining <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/dejavu.dm#L10"><img src="git.png" width="16" height="16" title="code/datums/components/dejavu.dm 10"></a></h3><p>How many rewinds will happen before the effect ends</p><h3 id="var/saved_bodyparts"><aside class="declaration">var </aside>saved_bodyparts <aside>– /list/datum/saved_bodypart</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/dejavu.dm#L31"><img src="git.png" width="16" height="16" title="code/datums/components/dejavu.dm 31"></a></h3><p>A list of body parts saved at the beginning of the effect</p><h3 id="var/starting_turf"><aside class="declaration">var </aside>starting_turf <aside>– /<a href="turf.html">turf</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/dejavu.dm#L6"><img src="git.png" width="16" height="16" title="code/datums/components/dejavu.dm 6"></a></h3><p>The turf the parent was on when this components was applied, they get moved back here after the duration</p><h3 id="var/tox_loss"><aside class="declaration">var </aside>tox_loss <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/dejavu.dm#L17"><img src="git.png" width="16" height="16" title="code/datums/components/dejavu.dm 17"></a></h3><p>The starting value of toxin loss at the beginning of the effect</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>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,8 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/embedded - /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/embedded.html#var">Var Details</a> - <a href="datum/component/embedded.html#proc">Proc Details</a></header><main><h1>embedded <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/embedded.html">embedded</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/embedded.dm#L32"><img src="git.png" width="16" height="16" title="code/datums/components/embedded.dm 32"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/embedded.html#var/harmful">harmful</a></th><td>if both our pain multiplier and jostle pain multiplier are 0, we're harmless and can omit most of the damage related stuff</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/component/embedded.html#proc/Topic">Topic</a></th><td>Someone is ripping out the item from the turf by hand</td></tr><tr><th><a href="datum/component/embedded.html#proc/byeItemCarbon">byeItemCarbon</a></th><td>Something deleted or moved our weapon while it was embedded, how rude!</td></tr><tr><th><a href="datum/component/embedded.html#proc/fallOutCarbon">fallOutCarbon</a></th><td>Called when then item randomly falls out of a carbon. This handles the damage and descriptors, then calls safe_remove()</td></tr><tr><th><a href="datum/component/embedded.html#proc/initCarbon">initCarbon</a></th><td>//////////HUMAN PROCS////////////////</td></tr><tr><th><a href="datum/component/embedded.html#proc/initTurf">initTurf</a></th><td>///////////TURF PROCS////////////////</td></tr><tr><th><a href="datum/component/embedded.html#proc/itemMoved">itemMoved</a></th><td>This proc handles if something knocked the invisible item loose from the turf somehow (probably an explosion). Just make it visible and say it fell loose, then get outta here.</td></tr><tr><th><a href="datum/component/embedded.html#proc/jostleCheck">jostleCheck</a></th><td>Called every time a carbon with a harmful embed moves, rolling a chance for the item to cause pain. The chance is halved if the carbon is crawling or walking.</td></tr><tr><th><a href="datum/component/embedded.html#proc/processCarbon">processCarbon</a></th><td>Items embedded/stuck to carbons both check whether they randomly fall out (if applicable), as well as if the target mob and limb still exists.
|
||||
Items harmfully embedded in carbons have an additional check for random pain (if applicable)</td></tr><tr><th><a href="datum/component/embedded.html#proc/ripOutCarbon">ripOutCarbon</a></th><td>Called when a carbon with an object embedded/stuck to them inspects themselves and clicks the appropriate link to begin ripping the item out. This handles the ripping attempt, descriptors, and dealing damage, then calls safe_remove()</td></tr><tr><th><a href="datum/component/embedded.html#proc/safeRemoveCarbon">safeRemoveCarbon</a></th><td>This proc handles the final step and actual removal of an embedded/stuck item from a carbon, whether or not it was actually removed safely.
|
||||
Pass TRUE for to_hands if we want it to go to the victim's hands when they pull it out</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/harmful"><aside class="declaration">var </aside>harmful <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/embedded.dm#L52"><img src="git.png" width="16" height="16" title="code/datums/components/embedded.dm 52"></a></h3><p>if both our pain multiplier and jostle pain multiplier are 0, we're harmless and can omit most of the damage related stuff</p><h2 id="proc">Proc Details</h2><h3 id="proc/Topic"><aside class="parent"><a title="/datum" href="datum.html#proc/Topic">↑</a></aside>Topic<aside>(/<a href="datum.html">datum</a>/source, href_list) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/embedded.dm#L355"><img src="git.png" width="16" height="16" title="code/datums/components/embedded.dm 355"></a></aside></h3><p>Someone is ripping out the item from the turf by hand</p><h3 id="proc/byeItemCarbon"><aside class="declaration">proc </aside>byeItemCarbon<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/embedded.dm#L251"><img src="git.png" width="16" height="16" title="code/datums/components/embedded.dm 251"></a></aside></h3><p>Something deleted or moved our weapon while it was embedded, how rude!</p><h3 id="proc/fallOutCarbon"><aside class="declaration">proc </aside>fallOutCarbon<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/embedded.dm#L176"><img src="git.png" width="16" height="16" title="code/datums/components/embedded.dm 176"></a></aside></h3><p>Called when then item randomly falls out of a carbon. This handles the damage and descriptors, then calls safe_remove()</p><h3 id="proc/initCarbon"><aside class="declaration">proc </aside>initCarbon<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/embedded.dm#L132"><img src="git.png" width="16" height="16" title="code/datums/components/embedded.dm 132"></a></aside></h3><p>//////////HUMAN PROCS////////////////</p>
|
||||
<p>Set up an instance of embedding for a carbon. This is basically an extension of Initialize() so not much to say</p><h3 id="proc/initTurf"><aside class="declaration">proc </aside>initTurf<aside>(/<a href="datum.html">datum</a>/<a href="datum/thrownthing.html">thrownthing</a>/throwingdatum) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/embedded.dm#L301"><img src="git.png" width="16" height="16" title="code/datums/components/embedded.dm 301"></a></aside></h3><p>///////////TURF PROCS////////////////</p>
|
||||
<p>Turfs are much lower maintenance, since we don't care if they're in pain, but since they don't bleed or scream, we draw an overlay to show their status.
|
||||
The only difference pointy/sticky items make here is text descriptors and pointy objects making a spark shower on impact.</p><h3 id="proc/itemMoved"><aside class="declaration">proc </aside>itemMoved<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/embedded.dm#L370"><img src="git.png" width="16" height="16" title="code/datums/components/embedded.dm 370"></a></aside></h3><p>This proc handles if something knocked the invisible item loose from the turf somehow (probably an explosion). Just make it visible and say it fell loose, then get outta here.</p><h3 id="proc/jostleCheck"><aside class="declaration">proc </aside>jostleCheck<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/embedded.dm#L159"><img src="git.png" width="16" height="16" title="code/datums/components/embedded.dm 159"></a></aside></h3><p>Called every time a carbon with a harmful embed moves, rolling a chance for the item to cause pain. The chance is halved if the carbon is crawling or walking.</p><h3 id="proc/processCarbon"><aside class="declaration">proc </aside>processCarbon<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/embedded.dm#L267"><img src="git.png" width="16" height="16" title="code/datums/components/embedded.dm 267"></a></aside></h3><p>Items embedded/stuck to carbons both check whether they randomly fall out (if applicable), as well as if the target mob and limb still exists.
|
||||
Items harmfully embedded in carbons have an additional check for random pain (if applicable)</p><h3 id="proc/ripOutCarbon"><aside class="declaration">proc </aside>ripOutCarbon<aside>(/<a href="datum.html">datum</a>/source, /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/I, /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/bodypart.html">bodypart</a>/limb) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/embedded.dm#L192"><img src="git.png" width="16" height="16" title="code/datums/components/embedded.dm 192"></a></aside></h3><p>Called when a carbon with an object embedded/stuck to them inspects themselves and clicks the appropriate link to begin ripping the item out. This handles the ripping attempt, descriptors, and dealing damage, then calls safe_remove()</p><h3 id="proc/safeRemoveCarbon"><aside class="declaration">proc </aside>safeRemoveCarbon<aside>(to_hands) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/embedded.dm#L218"><img src="git.png" width="16" height="16" title="code/datums/components/embedded.dm 218"></a></aside></h3><p>This proc handles the final step and actual removal of an embedded/stuck item from a carbon, whether or not it was actually removed safely.
|
||||
Pass TRUE for to_hands if we want it to go to the victim's hands when they pull it out</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/explodable - /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/explodable.html#proc">Proc Details</a></header><main><h1>explodable <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/explodable.html">explodable</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/explodable.dm#L2"><img src="git.png" width="16" height="16" title="code/datums/components/explodable.dm 2"></a></h1><p>Component specifically for explosion sensetive things, currently only applies to heat based explosions but can later perhaps be used for things that are dangerous to handle carelessly like nitroglycerin.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/component/explodable.html#proc/detonate">detonate</a></th><td>Expldoe and remove the object</td></tr><tr><th><a href="datum/component/explodable.html#proc/explodable_attack">explodable_attack</a></th><td>Called when you use this object to attack sopmething</td></tr><tr><th><a href="datum/component/explodable.html#proc/explodable_attack_zone">explodable_attack_zone</a></th><td>Called when you attack a specific body part of the thing this is equipped on. Useful for exploding pants.</td></tr><tr><th><a href="datum/component/explodable.html#proc/is_hitting_zone">is_hitting_zone</a></th><td>Checks if we're hitting the zone this component is covering</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/detonate"><aside class="declaration">proc </aside>detonate<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/explodable.dm#L102"><img src="git.png" width="16" height="16" title="code/datums/components/explodable.dm 102"></a></aside></h3><p>Expldoe and remove the object</p><h3 id="proc/explodable_attack"><aside class="declaration">proc </aside>explodable_attack<aside>(/<a href="datum.html">datum</a>/source, /<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/target, /<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/datums/components/explodable.dm#L45"><img src="git.png" width="16" height="16" title="code/datums/components/explodable.dm 45"></a></aside></h3><p>Called when you use this object to attack sopmething</p><h3 id="proc/explodable_attack_zone"><aside class="declaration">proc </aside>explodable_attack_zone<aside>(/<a href="datum.html">datum</a>/source, damage, damagetype, def_zone) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/explodable.dm#L49"><img src="git.png" width="16" height="16" title="code/datums/components/explodable.dm 49"></a></aside></h3><p>Called when you attack a specific body part of the thing this is equipped on. Useful for exploding pants.</p><h3 id="proc/is_hitting_zone"><aside class="declaration">proc </aside>is_hitting_zone<aside>(def_zone) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/explodable.dm#L65"><img src="git.png" width="16" height="16" title="code/datums/components/explodable.dm 65"></a></aside></h3><p>Checks if we're hitting the zone this component is covering</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>
|
||||
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/field_of_vision - /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/field_of_vision.html#var">Var Details</a> - <a href="datum/component/field_of_vision.html#proc">Proc Details</a></header><main><h1>field_of_vision <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/field_of_vision.html">field_of_vision</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L36"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 36"></a></h1><p>Field of Vision component. Does totally what you probably think it does,
|
||||
ergo preventing players from seeing what's behind them.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/field_of_vision.html#var/adj_mask">adj_mask</a></th><td>A circle image used to somewhat uncover the adjacent portion of the shadow cone, making mobs and objects behind us somewhat visible.
|
||||
The owner mask is still required for those mob going over the default 32x32 px size btw.</td></tr><tr><th><a href="datum/component/field_of_vision.html#var/angle">angle</a></th><td>How much is the cone rotated clockwise, purely backend. Please use rotate_shadow_cone() if you must.</td></tr><tr><th><a href="datum/component/field_of_vision.html#var/current_fov_size">current_fov_size</a></th><td>The current screen size this field of vision is meant to fit for.</td></tr><tr><th><a href="datum/component/field_of_vision.html#var/fov">fov</a></th><td>That special invisible, almost neigh indestructible movable
|
||||
that holds both shadow cone mask and image and follows the player around.</td></tr><tr><th><a href="datum/component/field_of_vision.html#var/nested_locs">nested_locs</a></th><td>A list of nested locations the mob is in, to ensure the above image works correctly.</td></tr><tr><th><a href="datum/component/field_of_vision.html#var/owner_mask">owner_mask</a></th><td>An image whose render_source is kept up to date to prevent the mob (or the topmost movable holding it) from being hidden by the mask.
|
||||
Will make it use vis_contents instead once a few byonds bugs with images and vis contents are fixed.</td></tr><tr><th><a href="datum/component/field_of_vision.html#var/rot_scale">rot_scale</a></th><td>Used to scale the shadow cone when rotating it to fit over the edges of the screen.</td></tr><tr><th><a href="datum/component/field_of_vision.html#var/shadow_angle">shadow_angle</a></th><td>The inner angle of this cone, right hardset to 90, 180, or 270 degrees, until someone figures out a way to make it dynamic.</td></tr><tr><th><a href="datum/component/field_of_vision.html#var/shadow_mask">shadow_mask</a></th><td>The mask portion of the cone, placed on a * render target plane so while not visible it still applies the filter.</td></tr><tr><th><a href="datum/component/field_of_vision.html#var/visual_shadow">visual_shadow</a></th><td>The visual portion of the cone, placed on the highest layer of the wall plane</td></tr><tr><th><a href="datum/component/field_of_vision.html#var/width_n_height_offsets">width_n_height_offsets</a></th><td>A static list of offsets based on icon width and height, because render sources are centered unlike most other visuals,
|
||||
and that gives us some problems when the icon is larger or smaller than world.icon_size</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/component/field_of_vision.html#proc/generate_fov_holder">generate_fov_holder</a></th><td>Generates the holder and images (if not generated yet) and adds them to client.images.
|
||||
Run when the component is registered to a player mob, or upon login.</td></tr><tr><th><a href="datum/component/field_of_vision.html#proc/hide_fov">hide_fov</a></th><td>Hides the shadow, other visibility comsig procs will take it into account. Called when the mob dies.</td></tr><tr><th><a href="datum/component/field_of_vision.html#proc/manual_centered_render_source">manual_centered_render_source</a></th><td>A hacky comsig proc for things that somehow decide to change icon on the go. may make a change_icon_file() proc later but...</td></tr><tr><th><a href="datum/component/field_of_vision.html#proc/on_change_view">on_change_view</a></th><td>Called when the client view size is changed.</td></tr><tr><th><a href="datum/component/field_of_vision.html#proc/on_loc_moved">on_loc_moved</a></th><td>Pretty much like the above, but meant for other movables the mob is stored in (bodybags, boxes, mechs etc).</td></tr><tr><th><a href="datum/component/field_of_vision.html#proc/on_mob_moved">on_mob_moved</a></th><td>Called when the owner mob moves around. Used to keep shadow located right behind us,
|
||||
As well as modify the owner mask to match the topmost item.</td></tr><tr><th><a href="datum/component/field_of_vision.html#proc/on_reset_perspective">on_reset_perspective</a></th><td>Hides the shadow when looking through other items, shows it otherwise.</td></tr><tr><th><a href="datum/component/field_of_vision.html#proc/resize_fov">resize_fov</a></th><td>Resizes the shadow to match the current screen size.
|
||||
Run when the client view size is changed, or if the player has a viewsize different than "15x15" on login/comp registration.</td></tr><tr><th><a href="datum/component/field_of_vision.html#proc/rotate_shadow_cone">rotate_shadow_cone</a></th><td>Rotates the shadow cone to a certain degree. Backend shenanigans.</td></tr><tr><th><a href="datum/component/field_of_vision.html#proc/show_fov">show_fov</a></th><td>Shows the shadow. Called when the mob is revived.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/adj_mask"><aside class="declaration">var </aside>adj_mask <aside>– /<a href="image.html">image</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L65"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 65"></a></h3><p>A circle image used to somewhat uncover the adjacent portion of the shadow cone, making mobs and objects behind us somewhat visible.
|
||||
The owner mask is still required for those mob going over the default 32x32 px size btw.</p><h3 id="var/angle"><aside class="declaration">var </aside>angle <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L47"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 47"></a></h3><p>How much is the cone rotated clockwise, purely backend. Please use rotate_shadow_cone() if you must.</p><h3 id="var/current_fov_size"><aside class="declaration">var </aside>current_fov_size <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L45"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 45"></a></h3><p>The current screen size this field of vision is meant to fit for.</p><h3 id="var/fov"><aside class="declaration">var </aside>fov <aside>– /<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/<a href="atom/movable/fov_holder.html">fov_holder</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L43"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 43"></a></h3><p>That special invisible, almost neigh indestructible movable
|
||||
that holds both shadow cone mask and image and follows the player around.</p><h3 id="var/nested_locs"><aside class="declaration">var </aside>nested_locs <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L67"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 67"></a></h3><p>A list of nested locations the mob is in, to ensure the above image works correctly.</p><h3 id="var/owner_mask"><aside class="declaration">var </aside>owner_mask <aside>– /<a href="image.html">image</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L60"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 60"></a></h3><p>An image whose render_source is kept up to date to prevent the mob (or the topmost movable holding it) from being hidden by the mask.
|
||||
Will make it use vis_contents instead once a few byonds bugs with images and vis contents are fixed.</p><h3 id="var/rot_scale"><aside class="declaration">var </aside>rot_scale <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L49"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 49"></a></h3><p>Used to scale the shadow cone when rotating it to fit over the edges of the screen.</p><h3 id="var/shadow_angle"><aside class="declaration">var </aside>shadow_angle <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L51"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 51"></a></h3><p>The inner angle of this cone, right hardset to 90, 180, or 270 degrees, until someone figures out a way to make it dynamic.</p><h3 id="var/shadow_mask"><aside class="declaration">var </aside>shadow_mask <aside>– /<a href="image.html">image</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L53"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 53"></a></h3><p>The mask portion of the cone, placed on a * render target plane so while not visible it still applies the filter.</p><h3 id="var/visual_shadow"><aside class="declaration">var </aside>visual_shadow <aside>– /<a href="image.html">image</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L55"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 55"></a></h3><p>The visual portion of the cone, placed on the highest layer of the wall plane</p><h3 id="var/width_n_height_offsets"><aside class="declaration">var </aside>width_n_height_offsets <aside>– /static/list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L72"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 72"></a></h3><p>A static list of offsets based on icon width and height, because render sources are centered unlike most other visuals,
|
||||
and that gives us some problems when the icon is larger or smaller than world.icon_size</p><h2 id="proc">Proc Details</h2><h3 id="proc/generate_fov_holder"><aside class="declaration">proc </aside>generate_fov_holder<aside>(/<a href="mob.html">mob</a>/M, _angle) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L119"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 119"></a></aside></h3><p>Generates the holder and images (if not generated yet) and adds them to client.images.
|
||||
Run when the component is registered to a player mob, or upon login.</p><h3 id="proc/hide_fov"><aside class="declaration">proc </aside>hide_fov<aside>(/<a href="mob.html">mob</a>/source) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L190"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 190"></a></aside></h3><p>Hides the shadow, other visibility comsig procs will take it into account. Called when the mob dies.</p><h3 id="proc/manual_centered_render_source"><aside class="declaration">proc </aside>manual_centered_render_source<aside>(/<a href="mob.html">mob</a>/source, old_icon) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L244"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 244"></a></aside></h3><p>A hacky comsig proc for things that somehow decide to change icon on the go. may make a change_icon_file() proc later but...</p><h3 id="proc/on_change_view"><aside class="declaration">proc </aside>on_change_view<aside>(/<a href="mob.html">mob</a>/source, client, /list/old_view, /list/view) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L205"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 205"></a></aside></h3><p>Called when the client view size is changed.</p><h3 id="proc/on_loc_moved"><aside class="declaration">proc </aside>on_loc_moved<aside>(/<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/source, /<a href="atom.html">atom</a>/oldloc, dir, forced) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L229"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 229"></a></aside></h3><p>Pretty much like the above, but meant for other movables the mob is stored in (bodybags, boxes, mechs etc).</p><h3 id="proc/on_mob_moved"><aside class="declaration">proc </aside>on_mob_moved<aside>(/<a href="mob.html">mob</a>/source, /<a href="atom.html">atom</a>/oldloc, dir, forced) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L212"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 212"></a></aside></h3><p>Called when the owner mob moves around. Used to keep shadow located right behind us,
|
||||
As well as modify the owner mask to match the topmost item.</p><h3 id="proc/on_reset_perspective"><aside class="declaration">proc </aside>on_reset_perspective<aside>(/<a href="mob.html">mob</a>/source, /<a href="atom.html">atom</a>/target) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L198"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 198"></a></aside></h3><p>Hides the shadow when looking through other items, shows it otherwise.</p><h3 id="proc/resize_fov"><aside class="declaration">proc </aside>resize_fov<aside>(/list/old_view, /list/view) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L169"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 169"></a></aside></h3><p>Resizes the shadow to match the current screen size.
|
||||
Run when the client view size is changed, or if the player has a viewsize different than "15x15" on login/comp registration.</p><h3 id="proc/rotate_shadow_cone"><aside class="declaration">proc </aside>rotate_shadow_cone<aside>(new_angle) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L155"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 155"></a></aside></h3><p>Rotates the shadow cone to a certain degree. Backend shenanigans.</p><h3 id="proc/show_fov"><aside class="declaration">proc </aside>show_fov<aside>(/<a href="mob.html">mob</a>/source) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/field_of_vision.dm#L194"><img src="git.png" width="16" height="16" title="code/datums/components/field_of_vision.dm 194"></a></aside></h3><p>Shows the shadow. Called when the mob is revived.</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>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/identification - /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/identification.html#var">Var Details</a></header><main><h1>identification <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/identification.html">identification</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/identification.dm#L4"><img src="git.png" width="16" height="16" title="code/datums/components/identification.dm 4"></a></h1><p>Identification components</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/identification.html#var/additional_examine_text">additional_examine_text</a></th><td>If this is set, show this on examine to the examiner if they know how to use it.</td></tr><tr><th><a href="datum/component/identification.html#var/deconstructor_reveal_text">deconstructor_reveal_text</a></th><td>Added to deconstructive analyzer say on success if set</td></tr><tr><th><a href="datum/component/identification.html#var/identification_effect_flags">identification_effect_flags</a></th><td>General flags for what we should do.</td></tr><tr><th><a href="datum/component/identification.html#var/identification_flags">identification_flags</a></th><td>General flags for how we should work.</td></tr><tr><th><a href="datum/component/identification.html#var/identification_method_flags">identification_method_flags</a></th><td>General flags for how we can be identified.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/additional_examine_text"><aside class="declaration">var </aside>additional_examine_text <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/identification.dm#L12"><img src="git.png" width="16" height="16" title="code/datums/components/identification.dm 12"></a></h3><p>If this is set, show this on examine to the examiner if they know how to use it.</p><h3 id="var/deconstructor_reveal_text"><aside class="declaration">var </aside>deconstructor_reveal_text <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/identification.dm#L14"><img src="git.png" width="16" height="16" title="code/datums/components/identification.dm 14"></a></h3><p>Added to deconstructive analyzer say on success if set</p><h3 id="var/identification_effect_flags"><aside class="declaration">var </aside>identification_effect_flags <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/identification.dm#L8"><img src="git.png" width="16" height="16" title="code/datums/components/identification.dm 8"></a></h3><p>General flags for what we should do.</p><h3 id="var/identification_flags"><aside class="declaration">var </aside>identification_flags <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/identification.dm#L6"><img src="git.png" width="16" height="16" title="code/datums/components/identification.dm 6"></a></h3><p>General flags for how we should work.</p><h3 id="var/identification_method_flags"><aside class="declaration">var </aside>identification_method_flags <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/identification.dm#L10"><img src="git.png" width="16" height="16" title="code/datums/components/identification.dm 10"></a></h3><p>General flags for how we can be identified.</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>
|
||||
@@ -0,0 +1,2 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/identification/syndicate - /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></header><main><h1>syndicate <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/identification.html">identification</a>/<a href="datum/component/identification/syndicate.html">syndicate</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/identification.dm#L84"><img src="git.png" width="16" height="16" title="code/datums/components/identification.dm 84"></a></h1><p>Identification component subtype - Syndicate</p>
|
||||
<p>Checks if the user is a traitor.</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>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/knockback - /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/knockback.html#var">Var Details</a> - <a href="datum/component/knockback.html#proc">Proc Details</a></header><main><h1>knockback <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/knockback.html">knockback</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/knockback.dm#L1"><img src="git.png" width="16" height="16" title="code/datums/components/knockback.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/knockback.html#var/throw_anchored">throw_anchored</a></th><td>whether this can throw anchored targets (tables, etc)</td></tr><tr><th><a href="datum/component/knockback.html#var/throw_distance">throw_distance</a></th><td>distance the atom will be thrown</td></tr><tr><th><a href="datum/component/knockback.html#var/throw_gentle">throw_gentle</a></th><td>whether this is a gentle throw (default false means people thrown into walls are stunned / take damage)</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/component/knockback.html#proc/do_knockback">do_knockback</a></th><td>Throw a target in a direction</td></tr><tr><th><a href="datum/component/knockback.html#proc/hostile_attackingtarget">hostile_attackingtarget</a></th><td>triggered after a hostile simplemob attacks something</td></tr><tr><th><a href="datum/component/knockback.html#proc/item_afterattack">item_afterattack</a></th><td>triggered after an item attacks something</td></tr><tr><th><a href="datum/component/knockback.html#proc/projectile_hit">projectile_hit</a></th><td>triggered after a projectile hits something</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/throw_anchored"><aside class="declaration">var </aside>throw_anchored <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/knockback.dm#L5"><img src="git.png" width="16" height="16" title="code/datums/components/knockback.dm 5"></a></h3><p>whether this can throw anchored targets (tables, etc)</p><h3 id="var/throw_distance"><aside class="declaration">var </aside>throw_distance <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/knockback.dm#L3"><img src="git.png" width="16" height="16" title="code/datums/components/knockback.dm 3"></a></h3><p>distance the atom will be thrown</p><h3 id="var/throw_gentle"><aside class="declaration">var </aside>throw_gentle <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/knockback.dm#L9"><img src="git.png" width="16" height="16" title="code/datums/components/knockback.dm 9"></a></h3><p>whether this is a gentle throw (default false means people thrown into walls are stunned / take damage)</p><h2 id="proc">Proc Details</h2><h3 id="proc/do_knockback"><aside class="declaration">proc </aside>do_knockback<aside>(/<a href="atom.html">atom</a>/target, /<a href="mob.html">mob</a>/thrower, throw_dir) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/knockback.dm#L53"><img src="git.png" width="16" height="16" title="code/datums/components/knockback.dm 53"></a></aside></h3><p>Throw a target in a direction</p>
|
||||
<p>Arguments:</p>
|
||||
<ul>
|
||||
<li>target - Target atom to throw</li>
|
||||
<li>thrower - Thing that caused this atom to be thrown</li>
|
||||
<li>throw_dir - Direction to throw the atom</li>
|
||||
</ul><h3 id="proc/hostile_attackingtarget"><aside class="declaration">proc </aside>hostile_attackingtarget<aside>(/<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/<a href="mob/living/simple_animal.html">simple_animal</a>/<a href="mob/living/simple_animal/hostile.html">hostile</a>/attacker, /<a href="atom.html">atom</a>/target) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/knockback.dm#L37"><img src="git.png" width="16" height="16" title="code/datums/components/knockback.dm 37"></a></aside></h3><p>triggered after a hostile simplemob attacks something</p><h3 id="proc/item_afterattack"><aside class="declaration">proc </aside>item_afterattack<aside>(/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/source, /<a href="atom.html">atom</a>/target, /<a href="mob.html">mob</a>/user, proximity_flag, click_parameters) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/knockback.dm#L31"><img src="git.png" width="16" height="16" title="code/datums/components/knockback.dm 31"></a></aside></h3><p>triggered after an item attacks something</p><h3 id="proc/projectile_hit"><aside class="declaration">proc </aside>projectile_hit<aside>(/<a href="atom.html">atom</a>/fired_from, /<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/firer, /<a href="atom.html">atom</a>/target, Angle) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/knockback.dm#L41"><img src="git.png" width="16" height="16" title="code/datums/components/knockback.dm 41"></a></aside></h3><p>triggered after a projectile hits something</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>
|
||||
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/label - /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/label.html#var">Var Details</a> - <a href="datum/component/label.html#proc">Proc Details</a></header><main><h1>label <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/label.html">label</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/label.dm#L12"><img src="git.png" width="16" height="16" title="code/datums/components/label.dm 12"></a></h1><p>The label component.</p>
|
||||
<p>This component is used to manage labels applied by the hand labeler.</p>
|
||||
<p>Atoms can only have one instance of this component, and therefore only one label at a time.
|
||||
This is to avoid having names like "Backpack (label1) (label2) (label3)". This is annoying and abnoxious to read.</p>
|
||||
<p>When a player clicks the atom with a hand labeler to apply a label, this component gets applied to it.
|
||||
If the labeler is off, the component will be removed from it, and the label will be removed from its name.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/label.html#var/label_name">label_name</a></th><td>The name of the label the player is applying to the parent.</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/component/label.html#proc/Examine">Examine</a></th><td>This proc will trigger when someone examines the parent.
|
||||
It will attach the text found in the body of the proc to the <code>examine_list</code> and display it to the player examining the parent.</td></tr><tr><th><a href="datum/component/label.html#proc/InheritComponent">InheritComponent</a></th><td>This proc will fire after the parent is hit by a hand labeler which is trying to apply another label.
|
||||
Since the parent already has a label, it will remove the old one from the parent's name, and apply the new one.</td></tr><tr><th><a href="datum/component/label.html#proc/OnAttackby">OnAttackby</a></th><td>This proc will trigger when any object is used to attack the parent.</td></tr><tr><th><a href="datum/component/label.html#proc/apply_label">apply_label</a></th><td>Applies a label to the name of the parent in the format of: "parent_name (label)"</td></tr><tr><th><a href="datum/component/label.html#proc/remove_label">remove_label</a></th><td>Removes the label from the parent's name</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/label_name"><aside class="declaration">var </aside>label_name <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/label.dm#L17"><img src="git.png" width="16" height="16" title="code/datums/components/label.dm 17"></a></h3><p>The name of the label the player is applying to the parent.</p><h2 id="proc">Proc Details</h2><h3 id="proc/Examine"><aside class="declaration">proc </aside>Examine<aside>(/<a href="datum.html">datum</a>/source, /<a href="mob.html">mob</a>/user, /list/examine_list) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/label.dm#L75"><img src="git.png" width="16" height="16" title="code/datums/components/label.dm 75"></a></aside></h3><p>This proc will trigger when someone examines the parent.
|
||||
It will attach the text found in the body of the proc to the <code>examine_list</code> and display it to the player examining the parent.</p>
|
||||
<p>Arguments:</p>
|
||||
<ul>
|
||||
<li>source: The parent.</li>
|
||||
<li>user: The mob exmaining the parent.</li>
|
||||
<li>examine_list: The current list of text getting passed from the parent's normal examine() proc.</li>
|
||||
</ul><h3 id="proc/InheritComponent"><aside class="parent"><a title="/datum/component" href="datum/component.html#proc/InheritComponent">↑</a></aside>InheritComponent<aside>(/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/label.html">label</a>/new_comp, i_am_original, _label_name) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/label.dm#L35"><img src="git.png" width="16" height="16" title="code/datums/components/label.dm 35"></a></aside></h3><p>This proc will fire after the parent is hit by a hand labeler which is trying to apply another label.
|
||||
Since the parent already has a label, it will remove the old one from the parent's name, and apply the new one.</p><h3 id="proc/OnAttackby"><aside class="declaration">proc </aside>OnAttackby<aside>(/<a href="datum.html">datum</a>/source, /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/attacker, /<a href="mob.html">mob</a>/user) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/label.dm#L54"><img src="git.png" width="16" height="16" title="code/datums/components/label.dm 54"></a></aside></h3><p>This proc will trigger when any object is used to attack the parent.</p>
|
||||
<p>If the attacking object is not a hand labeler, it will return.
|
||||
If the attacking object is a hand labeler it will restore the name of the parent to what it was before this component was added to it, and the component will be deleted.</p>
|
||||
<p>Arguments:</p>
|
||||
<ul>
|
||||
<li>source: The parent.</li>
|
||||
<li>attacker: The object that is hitting the parent.</li>
|
||||
<li>user: The mob who is wielding the attacking object.</li>
|
||||
</ul><h3 id="proc/apply_label"><aside class="declaration">proc </aside>apply_label<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/label.dm#L79"><img src="git.png" width="16" height="16" title="code/datums/components/label.dm 79"></a></aside></h3><p>Applies a label to the name of the parent in the format of: "parent_name (label)"</p><h3 id="proc/remove_label"><aside class="declaration">proc </aside>remove_label<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/label.dm#L84"><img src="git.png" width="16" height="16" title="code/datums/components/label.dm 84"></a></aside></h3><p>Removes the label from the parent's name</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>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/mood - /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/mood.html#proc">Proc Details</a></header><main><h1>mood <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/mood.html">mood</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/mood.dm#L7"><img src="git.png" width="16" height="16" title="code/datums/components/mood.dm 7"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/component/mood.html#proc/direct_sanity_drain">direct_sanity_drain</a></th><td>Causes direct drain of someone's sanity, call it with a numerical value corresponding how badly you want to hurt their sanity</td></tr><tr><th><a href="datum/component/mood.html#proc/on_revive">on_revive</a></th><td>Called when parent is revived.</td></tr><tr><th><a href="datum/component/mood.html#proc/update_mood">update_mood</a></th><td>Called after moodevent/s have been added/removed.</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/direct_sanity_drain"><aside class="declaration">proc </aside>direct_sanity_drain<aside>(/<a href="datum.html">datum</a>/source, amount) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/mood.dm#L401"><img src="git.png" width="16" height="16" title="code/datums/components/mood.dm 401"></a></aside></h3><p>Causes direct drain of someone's sanity, call it with a numerical value corresponding how badly you want to hurt their sanity</p><h3 id="proc/on_revive"><aside class="declaration">proc </aside>on_revive<aside>(/<a href="datum.html">datum</a>/source, full_heal) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/mood.dm#L393"><img src="git.png" width="16" height="16" title="code/datums/components/mood.dm 393"></a></aside></h3><p>Called when parent is revived.</p><h3 id="proc/update_mood"><aside class="declaration">proc </aside>update_mood<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/mood.dm#L102"><img src="git.png" width="16" height="16" title="code/datums/components/mood.dm 102"></a></aside></h3><p>Called after moodevent/s have been added/removed.</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>
|
||||
@@ -0,0 +1,2 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/multiple_lives - /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/multiple_lives.html#var">Var Details</a></header><main><h1>multiple_lives <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/multiple_lives.html">multiple_lives</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/multiple_lives.dm#L5"><img src="git.png" width="16" height="16" title="code/datums/components/multiple_lives.dm 5"></a></h1><p>A simple component that spawns a mob of the same type and transfers itself to it when parent dies.
|
||||
For more complex behaviors, use the COMSIG_ON_MULTIPLE_LIVES_RESPAWN comsig.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/multiple_lives.html#var/lives_left">lives_left</a></th><td>The number of respawns the living mob has left.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/lives_left"><aside class="declaration">var </aside>lives_left <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/multiple_lives.dm#L11"><img src="git.png" width="16" height="16" title="code/datums/components/multiple_lives.dm 11"></a></h3><p>The number of respawns the living mob has left.</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>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,6 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/omen - /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/omen.html#var">Var Details</a> - <a href="datum/component/omen.html#proc">Proc Details</a></header><main><h1>omen <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/omen.html">omen</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/omen.dm#L9"><img src="git.png" width="16" height="16" title="code/datums/components/omen.dm 9"></a></h1><p>omen.dm: For when you want someone to have a really bad day</p>
|
||||
<p>When you attach an omen component to someone, they start running the risk of all sorts of bad environmental injuries, like nearby vending machines randomly falling on you,
|
||||
or hitting your head really hard when you slip and fall, or... well, for now those two are all I have. More will come.</p>
|
||||
<p>Omens are removed once the victim is either maimed by one of the possible injuries, or if they receive a blessing (read: bashing with a bible) from the chaplain.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/omen.html#var/vessel">vessel</a></th><td>Whatever's causing the omen, if there is one. Destroying the vessel won't stop the omen, but we destroy the vessel (if one exists) upon the omen ending</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/component/omen.html#proc/check_accident">check_accident</a></th><td>check_accident() is called each step we take</td></tr><tr><th><a href="datum/component/omen.html#proc/check_bless">check_bless</a></th><td>Hijack the mood system to see if we get the blessing mood event to cancel the omen</td></tr><tr><th><a href="datum/component/omen.html#proc/check_slip">check_slip</a></th><td>If we get knocked down, see if we have a really bad slip and bash our head hard</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/vessel"><aside class="declaration">var </aside>vessel <aside>– /<a href="obj.html">obj</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/omen.dm#L15"><img src="git.png" width="16" height="16" title="code/datums/components/omen.dm 15"></a></h3><p>Whatever's causing the omen, if there is one. Destroying the vessel won't stop the omen, but we destroy the vessel (if one exists) upon the omen ending</p><h2 id="proc">Proc Details</h2><h3 id="proc/check_accident"><aside class="declaration">proc </aside>check_accident<aside>(/<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/our_guy) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/omen.dm#L43"><img src="git.png" width="16" height="16" title="code/datums/components/omen.dm 43"></a></aside></h3><p>check_accident() is called each step we take</p>
|
||||
<p>While we're walking around, roll to see if there's any environmental hazards (currently only vending machines) on one of the adjacent tiles we can trigger.
|
||||
We do the prob() at the beginning to A. add some tension for /when/ it will strike, and B. (more importantly) ameliorate the fact that we're checking up to 5 turfs's contents each time</p><h3 id="proc/check_bless"><aside class="declaration">proc </aside>check_bless<aside>(/<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/our_guy, category) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/omen.dm#L70"><img src="git.png" width="16" height="16" title="code/datums/components/omen.dm 70"></a></aside></h3><p>Hijack the mood system to see if we get the blessing mood event to cancel the omen</p><h3 id="proc/check_slip"><aside class="declaration">proc </aside>check_slip<aside>(/<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/our_guy, amount) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/omen.dm#L55"><img src="git.png" width="16" height="16" title="code/datums/components/omen.dm 55"></a></aside></h3><p>If we get knocked down, see if we have a really bad slip and bash our head hard</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>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,4 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/personal_crafting - /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/personal_crafting.html#proc">Proc Details</a></header><main><h1>personal_crafting <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/personal_crafting.html">personal_crafting</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/crafting/crafting.dm#L13"><img src="git.png" width="16" height="16" title="code/datums/components/crafting/crafting.dm 13"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/component/personal_crafting.html#proc/check_contents">check_contents</a></th><td>Check that the contents of the recipe meet the requirements.</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/check_contents"><aside class="declaration">proc </aside>check_contents<aside>(/<a href="atom.html">atom</a>/a, /<a href="datum.html">datum</a>/<a href="datum/crafting_recipe.html">crafting_recipe</a>/R, /list/contents) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/crafting/crafting.dm#L74"><img src="git.png" width="16" height="16" title="code/datums/components/crafting/crafting.dm 74"></a></aside></h3><p>Check that the contents of the recipe meet the requirements.</p>
|
||||
<p>user: The /mob that initated the crafting.
|
||||
R: The /datum/crafting_recipe being attempted.
|
||||
contents: List of items to search for R's reqs.</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>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/plumbing/acclimator - /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/plumbing/acclimator.html#proc">Proc Details</a></header><main><h1>acclimator <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/plumbing.html">plumbing</a>/<a href="datum/component/plumbing/acclimator.html">acclimator</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/plumbing/chemical_acclimator.dm#L1"><img src="git.png" width="16" height="16" title="code/datums/components/plumbing/chemical_acclimator.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/component/plumbing/acclimator.html#proc/process">process</a></th><td>We're overriding process and not send_request, because all process does is do the requests, so we might aswell cut out the middle man and save some code from running</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/process"><aside class="parent"><a title="/datum" href="datum.html#proc/process">↑</a></aside>process<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/plumbing/chemical_acclimator.dm#L18"><img src="git.png" width="16" height="16" title="code/datums/components/plumbing/chemical_acclimator.dm 18"></a></aside></h3><p>We're overriding process and not send_request, because all process does is do the requests, so we might aswell cut out the middle man and save some code from running</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/plumbing/filter - /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/plumbing/filter.html#proc">Proc Details</a></header><main><h1>filter <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/plumbing.html">plumbing</a>/<a href="datum/component/plumbing/filter.html">filter</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/plumbing/filter.dm#L2"><img src="git.png" width="16" height="16" title="code/datums/components/plumbing/filter.dm 2"></a></h1><p>The magical plumbing component used by the chemical filters. The different supply connects behave differently depending on the filters set on the chemical filter</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/component/plumbing/filter.html#proc/can_give_in_direction">can_give_in_direction</a></th><td>We check if the direction and reagent are valid to give. Needed for filters since different outputs have different behaviours</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/can_give_in_direction"><aside class="declaration">proc </aside>can_give_in_direction<aside>(dir, reagent) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/plumbing/filter.dm#L48"><img src="git.png" width="16" height="16" title="code/datums/components/plumbing/filter.dm 48"></a></aside></h3><p>We check if the direction and reagent are valid to give. Needed for filters since different outputs have different behaviours</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/pricetag - /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/pricetag.html#var">Var Details</a></header><main><h1>pricetag <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/pricetag.html">pricetag</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/pricetag.dm#L1"><img src="git.png" width="16" height="16" title="code/datums/components/pricetag.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/pricetag.html#var/default_profit_ratio">default_profit_ratio</a></th><td>Payee gets 100% of the value if no ratio has been set.</td></tr><tr><th><a href="datum/component/pricetag.html#var/payees">payees</a></th><td>List of bank accounts this pricetag pays out to. Format is payees[bank_account] = profit_ratio.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/default_profit_ratio"><aside class="declaration">var </aside>default_profit_ratio <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/pricetag.dm#L3"><img src="git.png" width="16" height="16" title="code/datums/components/pricetag.dm 3"></a></h3><p>Payee gets 100% of the value if no ratio has been set.</p><h3 id="var/payees"><aside class="declaration">var </aside>payees <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/pricetag.dm#L5"><img src="git.png" width="16" height="16" title="code/datums/components/pricetag.dm 5"></a></h3><p>List of bank accounts this pricetag pays out to. Format is payees[bank_account] = profit_ratio.</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/squeak - /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/squeak.html#var">Var Details</a></header><main><h1>squeak <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/squeak.html">squeak</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/squeak.dm#L1"><img src="git.png" width="16" height="16" title="code/datums/components/squeak.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/squeak.html#var/cross_squeak_delay_chance">cross_squeak_delay_chance</a></th><td>chance we'll be stopped from squeaking by cooldown when something crossing us squeaks</td></tr><tr><th><a href="datum/component/squeak.html#var/sound_extra_range">sound_extra_range</a></th><td>extra-range for this component's sound</td></tr><tr><th><a href="datum/component/squeak.html#var/sound_falloff_distance">sound_falloff_distance</a></th><td>when sounds start falling off for the squeak</td></tr><tr><th><a href="datum/component/squeak.html#var/sound_falloff_exponent">sound_falloff_exponent</a></th><td>sound exponent for squeak. Defaults to 10 as squeaking is loud and annoying enough.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/cross_squeak_delay_chance"><aside class="declaration">var </aside>cross_squeak_delay_chance <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/squeak.dm#L20"><img src="git.png" width="16" height="16" title="code/datums/components/squeak.dm 20"></a></h3><p>chance we'll be stopped from squeaking by cooldown when something crossing us squeaks</p><h3 id="var/sound_extra_range"><aside class="declaration">var </aside>sound_extra_range <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/squeak.dm#L23"><img src="git.png" width="16" height="16" title="code/datums/components/squeak.dm 23"></a></h3><p>extra-range for this component's sound</p><h3 id="var/sound_falloff_distance"><aside class="declaration">var </aside>sound_falloff_distance <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/squeak.dm#L25"><img src="git.png" width="16" height="16" title="code/datums/components/squeak.dm 25"></a></h3><p>when sounds start falling off for the squeak</p><h3 id="var/sound_falloff_exponent"><aside class="declaration">var </aside>sound_falloff_exponent <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/squeak.dm#L27"><img src="git.png" width="16" height="16" title="code/datums/components/squeak.dm 27"></a></h3><p>sound exponent for squeak. Defaults to 10 as squeaking is loud and annoying enough.</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>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/storage/concrete/tcg - /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/storage/concrete/tcg.html#proc">Proc Details</a></header><main><h1>tcg <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/storage.html">storage</a>/<a href="datum/component/storage/concrete/tcg.html">concrete/tcg</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/storage/concrete/tcg.dm#L4"><img src="git.png" width="16" height="16" title="code/datums/components/storage/concrete/tcg.dm 4"></a></h1><p>A storage component to be used on card piles, for use as hands/decks/discard piles. Don't use on something that's not a card pile!</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/component/storage/concrete/tcg.html#proc/can_be_inserted">can_be_inserted</a></th><td>The deck that the card pile is using for FAIR PLAY.</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/can_be_inserted">can_be_inserted<aside>(/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/I, stop_messages, /<a href="mob.html">mob</a>/M) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/storage/concrete/tcg.dm#L11"><img src="git.png" width="16" height="16" title="code/datums/components/storage/concrete/tcg.dm 11"></a></aside></h3><p>The deck that the card pile is using for FAIR PLAY.</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>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/twitch_plays - /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/twitch_plays.html#var">Var Details</a></header><main><h1>twitch_plays <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/twitch_plays.html">twitch_plays</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/twitch_plays.dm#L4"><img src="git.png" width="16" height="16" title="code/datums/components/twitch_plays.dm 4"></a></h1><p>Observers voting on things through orbiting</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/twitch_plays.html#var/players">players</a></th><td>Observers</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/players"><aside class="declaration">var </aside>players <aside>– /list/mob</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/twitch_plays.dm#L6"><img src="git.png" width="16" height="16" title="code/datums/components/twitch_plays.dm 6"></a></h3><p>Observers</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/twitch_plays/simple_movement - /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/twitch_plays/simple_movement.html#var">Var Details</a></header><main><h1>simple_movement <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/twitch_plays.html">twitch_plays</a>/<a href="datum/component/twitch_plays/simple_movement.html">simple_movement</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/twitch_plays.dm#L39"><img src="git.png" width="16" height="16" title="code/datums/components/twitch_plays.dm 39"></a></h1><p>Simple movement one</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/twitch_plays/simple_movement.html#var/allow_diagonal">allow_diagonal</a></th><td>Allow diagonals</td></tr><tr><th><a href="datum/component/twitch_plays/simple_movement.html#var/votes">votes</a></th><td>Movement votes by observer</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/allow_diagonal"><aside class="declaration">var </aside>allow_diagonal <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/twitch_plays.dm#L43"><img src="git.png" width="16" height="16" title="code/datums/components/twitch_plays.dm 43"></a></h3><p>Allow diagonals</p><h3 id="var/votes"><aside class="declaration">var </aside>votes <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/twitch_plays.dm#L41"><img src="git.png" width="16" height="16" title="code/datums/components/twitch_plays.dm 41"></a></h3><p>Movement votes by observer</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>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,4 @@
|
||||
<!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>
|
||||
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/virtual_reality - /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/virtual_reality.html#proc">Proc Details</a></header><main><h1>virtual_reality <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/virtual_reality.html">virtual_reality</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/virtual_reality.dm#L9"><img src="git.png" width="16" height="16" title="code/datums/components/virtual_reality.dm 9"></a></h1><p>The virtual reality turned component.
|
||||
Originally created to overcome issues of mob polymorphing locking the player inside virtual reality
|
||||
and allow for a more "immersive" virtual reality in a virtual reality experience.
|
||||
It relies on comically complex order of logic, expect things to break if procs such as mind/transfer_to() are revamped.
|
||||
In short, a barebone not so hardcoded VR framework.
|
||||
If you plan to add more devices that make use of this component, remember to isolate their code outta here where possible.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/component/virtual_reality.html#proc/PostTransfer">PostTransfer</a></th><td>Required for the component to be transferable from mob to mob.</td></tr><tr><th><a href="datum/component/virtual_reality.html#proc/action_trigger">action_trigger</a></th><td>The following procs simply acts as hooks for quit(), since components do not use callbacks anymore</td></tr><tr><th><a href="datum/component/virtual_reality.html#proc/connect">connect</a></th><td>Called when attempting to connect a mob to a virtual reality mob.
|
||||
This will return FALSE if the mob is without player or dead. TRUE otherwise</td></tr><tr><th><a href="datum/component/virtual_reality.html#proc/on_player_transfer">on_player_transfer</a></th><td>Takes care of moving the component from a mob to another when their mind or ckey is transferred.
|
||||
The very reason this component even exists (else one would be stuck playing as a monky if monkyified)</td></tr><tr><th><a href="datum/component/virtual_reality.html#proc/player_hijacked">player_hijacked</a></th><td>Called when someone or something else is somewhat about to replace the mastermind's mob key somehow.
|
||||
And potentially lock the player in a broken virtual reality plot. Not really something to be proud of.</td></tr><tr><th><a href="datum/component/virtual_reality.html#proc/pre_player_transfer">pre_player_transfer</a></th><td>Called to stop the player mind from being transferred should the new mob happen to be one of our masterminds'.
|
||||
Since the target's mind.current is going to be null'd in the mind transfer process,
|
||||
This has to be done in a different signal proc than on_player_transfer(), by then the mastermind.current will be null.</td></tr><tr><th><a href="datum/component/virtual_reality.html#proc/quit">quit</a></th><td>Takes care of deleting itself, moving the player back to the mastermind's current and queueing the parent for deletion.
|
||||
It supports nested virtual realities by recursively calling vr_in_a_vr(), which in turns calls quit(),
|
||||
up to the deepest level, where the ckey will be transferred back to our mastermind's mob instead.
|
||||
The above operation is skipped when session_paused is TRUE (ergo no player in control of the current mob).
|
||||
vars:</td></tr><tr><th><a href="datum/component/virtual_reality.html#proc/switch_player">switch_player</a></th><td>Called when the mastermind mind is transferred to another mob.
|
||||
This is pretty much just going to simply quit the session until machineries support polymorphed occupants etcetera.</td></tr><tr><th><a href="datum/component/virtual_reality.html#proc/vr_in_a_vr">vr_in_a_vr</a></th><td>Used for recursive virtual realities shenanigeans and should be called by the above proc.</td></tr><tr><th><a href="datum/component/virtual_reality.html#proc/you_only_live_once">you_only_live_once</a></th><td>emag_act() hook. Makes the game deadlier, killing the mastermind mob too should the parent die.</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/PostTransfer"><aside class="parent"><a title="/datum/component" href="datum/component.html#proc/PostTransfer">↑</a></aside>PostTransfer<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/virtual_reality.dm#L172"><img src="git.png" width="16" height="16" title="code/datums/components/virtual_reality.dm 172"></a></aside></h3><p>Required for the component to be transferable from mob to mob.</p><h3 id="proc/action_trigger"><aside class="declaration">proc </aside>action_trigger<aside>(/<a href="datum.html">datum</a>/<a href="datum/action.html">action</a>/source, /<a href="obj.html">obj</a>/target) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/virtual_reality.dm#L179"><img src="git.png" width="16" height="16" title="code/datums/components/virtual_reality.dm 179"></a></aside></h3><p>The following procs simply acts as hooks for quit(), since components do not use callbacks anymore</p><h3 id="proc/connect"><aside class="declaration">proc </aside>connect<aside>(/<a href="mob.html">mob</a>/M) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/virtual_reality.dm#L79"><img src="git.png" width="16" height="16" title="code/datums/components/virtual_reality.dm 79"></a></aside></h3><p>Called when attempting to connect a mob to a virtual reality mob.
|
||||
This will return FALSE if the mob is without player or dead. TRUE otherwise</p><h3 id="proc/on_player_transfer"><aside class="declaration">proc </aside>on_player_transfer<aside>(/<a href="datum.html">datum</a>/source, /<a href="mob.html">mob</a>/new_mob, /<a href="mob.html">mob</a>/old_mob) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/virtual_reality.dm#L166"><img src="git.png" width="16" height="16" title="code/datums/components/virtual_reality.dm 166"></a></aside></h3><p>Takes care of moving the component from a mob to another when their mind or ckey is transferred.
|
||||
The very reason this component even exists (else one would be stuck playing as a monky if monkyified)</p><h3 id="proc/player_hijacked"><aside class="declaration">proc </aside>player_hijacked<aside>(/<a href="datum.html">datum</a>/source, /<a href="mob.html">mob</a>/our_character, /<a href="mob.html">mob</a>/their_character) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/virtual_reality.dm#L146"><img src="git.png" width="16" height="16" title="code/datums/components/virtual_reality.dm 146"></a></aside></h3><p>Called when someone or something else is somewhat about to replace the mastermind's mob key somehow.
|
||||
And potentially lock the player in a broken virtual reality plot. Not really something to be proud of.</p><h3 id="proc/pre_player_transfer"><aside class="declaration">proc </aside>pre_player_transfer<aside>(/<a href="datum.html">datum</a>/source, /<a href="mob.html">mob</a>/new_mob, /<a href="mob.html">mob</a>/old_mob) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/virtual_reality.dm#L127"><img src="git.png" width="16" height="16" title="code/datums/components/virtual_reality.dm 127"></a></aside></h3><p>Called to stop the player mind from being transferred should the new mob happen to be one of our masterminds'.
|
||||
Since the target's mind.current is going to be null'd in the mind transfer process,
|
||||
This has to be done in a different signal proc than on_player_transfer(), by then the mastermind.current will be null.</p><h3 id="proc/quit"><aside class="declaration">proc </aside>quit<aside>(deathcheck, cleanup, /<a href="mob.html">mob</a>/override) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/virtual_reality.dm#L208"><img src="git.png" width="16" height="16" title="code/datums/components/virtual_reality.dm 208"></a></aside></h3><p>Takes care of deleting itself, moving the player back to the mastermind's current and queueing the parent for deletion.
|
||||
It supports nested virtual realities by recursively calling vr_in_a_vr(), which in turns calls quit(),
|
||||
up to the deepest level, where the ckey will be transferred back to our mastermind's mob instead.
|
||||
The above operation is skipped when session_paused is TRUE (ergo no player in control of the current mob).
|
||||
vars:</p>
|
||||
<ul>
|
||||
<li>deathcheck is used to kill the master, you want this FALSE unless for stuff that doesn't involve emagging.</li>
|
||||
<li>cleanup is used to queue the parent for the next vr_clean_master's run, where they'll be deleted should they be dead.</li>
|
||||
<li>mob/override is used for the recursive virtual reality explained above and shouldn't be used outside of vr_in_a_vr().</li>
|
||||
</ul><h3 id="proc/switch_player"><aside class="declaration">proc </aside>switch_player<aside>(/<a href="datum.html">datum</a>/source, /<a href="mob.html">mob</a>/new_mob, /<a href="mob.html">mob</a>/old_mob) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/virtual_reality.dm#L110"><img src="git.png" width="16" height="16" title="code/datums/components/virtual_reality.dm 110"></a></aside></h3><p>Called when the mastermind mind is transferred to another mob.
|
||||
This is pretty much just going to simply quit the session until machineries support polymorphed occupants etcetera.</p><h3 id="proc/vr_in_a_vr"><aside class="declaration">proc </aside>vr_in_a_vr<aside>(/<a href="mob.html">mob</a>/player, deathcheck, lethal_cleanup) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/virtual_reality.dm#L242"><img src="git.png" width="16" height="16" title="code/datums/components/virtual_reality.dm 242"></a></aside></h3><p>Used for recursive virtual realities shenanigeans and should be called by the above proc.</p><h3 id="proc/you_only_live_once"><aside class="declaration">proc </aside>you_only_live_once<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/virtual_reality.dm#L100"><img src="git.png" width="16" height="16" title="code/datums/components/virtual_reality.dm 100"></a></aside></h3><p>emag_act() hook. Makes the game deadlier, killing the mastermind mob too should the parent die.</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>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/computer_file/program/aidiag - /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/computer_file/program/aidiag.html#var">Var Details</a></header><main><h1>aidiag <aside>/<a href="datum.html">datum</a>/<a href="datum/computer_file/program.html">computer_file/program</a>/<a href="datum/computer_file/program/aidiag.html">aidiag</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/airestorer.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/airestorer.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/computer_file/program/aidiag.html#var/restoring">restoring</a></th><td>Variable dictating if we are in the process of restoring the AI in the inserted intellicard</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/restoring"><aside class="declaration">var </aside>restoring <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/airestorer.dm#L15"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/airestorer.dm 15"></a></h3><p>Variable dictating if we are in the process of restoring the AI in the inserted intellicard</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/computer_file/program/alarm_monitor - /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/computer_file/program/alarm_monitor.html#var">Var Details</a></header><main><h1>alarm_monitor <aside>/<a href="datum.html">datum</a>/<a href="datum/computer_file/program.html">computer_file/program</a>/<a href="datum/computer_file/program/alarm_monitor.html">alarm_monitor</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/alarm.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/alarm.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/computer_file/program/alarm_monitor.html#var/alert_control">alert_control</a></th><td>Station alert datum for showing alerts UI</td></tr><tr><th><a href="datum/computer_file/program/alarm_monitor.html#var/has_alert">has_alert</a></th><td>If there is any station alert</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/alert_control"><aside class="declaration">var </aside>alert_control <aside>– /<a href="datum.html">datum</a>/<a href="datum/station_alert.html">station_alert</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/alarm.dm#L16"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/alarm.dm 16"></a></h3><p>Station alert datum for showing alerts UI</p><h3 id="var/has_alert"><aside class="declaration">var </aside>has_alert <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/alarm.dm#L12"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/alarm.dm 12"></a></h3><p>If there is any station alert</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/computer_file/program/arcade - /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/computer_file/program/arcade.html#var">Var Details</a></header><main><h1>arcade <aside>/<a href="datum.html">datum</a>/<a href="datum/computer_file/program.html">computer_file/program</a>/<a href="datum/computer_file/program/arcade.html">arcade</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/arcade.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/arcade.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/computer_file/program/arcade.html#var/boss_id">boss_id</a></th><td>Determines which boss image to use on the UI.</td></tr><tr><th><a href="datum/computer_file/program/arcade.html#var/game_active">game_active</a></th><td>Returns TRUE if the game is being played.</td></tr><tr><th><a href="datum/computer_file/program/arcade.html#var/heads_up">heads_up</a></th><td>Shows what text is shown on the app, usually showing the log of combat actions taken by the player.</td></tr><tr><th><a href="datum/computer_file/program/arcade.html#var/pause_state">pause_state</a></th><td>This disables buttom actions from having any impact if TRUE. Resets to FALSE when the player is allowed to make an action again.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/boss_id"><aside class="declaration">var </aside>boss_id <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/arcade.dm#L24"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/arcade.dm 24"></a></h3><p>Determines which boss image to use on the UI.</p><h3 id="var/game_active"><aside class="declaration">var </aside>game_active <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/arcade.dm#L12"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/arcade.dm 12"></a></h3><p>Returns TRUE if the game is being played.</p><h3 id="var/heads_up"><aside class="declaration">var </aside>heads_up <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/arcade.dm#L21"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/arcade.dm 21"></a></h3><p>Shows what text is shown on the app, usually showing the log of combat actions taken by the player.</p><h3 id="var/pause_state"><aside class="declaration">var </aside>pause_state <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/arcade.dm#L14"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/arcade.dm 14"></a></h3><p>This disables buttom actions from having any impact if TRUE. Resets to FALSE when the player is allowed to make an action again.</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>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/computer_file/program/card_mod - /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/computer_file/program/card_mod.html#var">Var Details</a></header><main><h1>card_mod <aside>/<a href="datum.html">datum</a>/<a href="datum/computer_file/program.html">computer_file/program</a>/<a href="datum/computer_file/program/card_mod.html">card_mod</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/card.dm#L9"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/card.dm 9"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/computer_file/program/card_mod.html#var/target_dept">target_dept</a></th><td>Which departments this computer has access to. Defined as access regions. null = all departments</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/target_dept"><aside class="declaration">var </aside>target_dept <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/card.dm#L27"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/card.dm 27"></a></h3><p>Which departments this computer has access to. Defined as access regions. null = all departments</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>
|
||||
@@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/computer_file/program/portrait_printer - /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></header><main><h1>portrait_printer <aside>/<a href="datum.html">datum</a>/<a href="datum/computer_file/program.html">computer_file/program</a>/<a href="datum/computer_file/program/portrait_printer.html">portrait_printer</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/portrait_printer.dm#L11"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/portrait_printer.dm 11"></a></h1><h2 id="portrait-printer">portrait printer!</h2>
|
||||
<p>Program that lets the curator browse all of the portraits in the database
|
||||
They are free to print them out as they please.</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>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/computer_file/program/robocontrol - /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/computer_file/program/robocontrol.html#var">Var Details</a></header><main><h1>robocontrol <aside>/<a href="datum.html">datum</a>/<a href="datum/computer_file/program.html">computer_file/program</a>/<a href="datum/computer_file/program/robocontrol.html">robocontrol</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/robocontrol.dm#L2"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/robocontrol.dm 2"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/computer_file/program/robocontrol.html#var/botcount">botcount</a></th><td>Number of simple robots on-station.</td></tr><tr><th><a href="datum/computer_file/program/robocontrol.html#var/current_access">current_access</a></th><td>Access granted by the used to summon robots.</td></tr><tr><th><a href="datum/computer_file/program/robocontrol.html#var/current_user">current_user</a></th><td>Used to find the location of the user for the purposes of summoning robots.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/botcount"><aside class="declaration">var </aside>botcount <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/robocontrol.dm#L14"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/robocontrol.dm 14"></a></h3><p>Number of simple robots on-station.</p><h3 id="var/current_access"><aside class="declaration">var </aside>current_access <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/robocontrol.dm#L18"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/robocontrol.dm 18"></a></h3><p>Access granted by the used to summon robots.</p><h3 id="var/current_user"><aside class="declaration">var </aside>current_user <aside>– /<a href="mob.html">mob</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/robocontrol.dm#L16"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/robocontrol.dm 16"></a></h3><p>Used to find the location of the user for the purposes of summoning robots.</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>
|
||||
@@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/computer_file/program/robotact - /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/computer_file/program/robotact.html#var">Var Details</a> - <a href="datum/computer_file/program/robotact.html#proc">Proc Details</a></header><main><h1>robotact <aside>/<a href="datum.html">datum</a>/<a href="datum/computer_file/program.html">computer_file/program</a>/<a href="datum/computer_file/program/robotact.html">robotact</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/robotact.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/robotact.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/computer_file/program/robotact.html#var/tablet">tablet</a></th><td>A typed reference to the computer, specifying the borg tablet type</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/computer_file/program/robotact.html#proc/force_full_update">force_full_update</a></th><td>Forces a full update of the UI, if currently open.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/tablet"><aside class="declaration">var </aside>tablet <aside>– /<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/modular_computer.html">modular_computer</a>/<a href="obj/item/modular_computer/tablet/integrated.html">tablet/integrated</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/robotact.dm#L20"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/robotact.dm 20"></a></h3><p>A typed reference to the computer, specifying the borg tablet type</p><h2 id="proc">Proc Details</h2><h3 id="proc/force_full_update"><aside class="declaration">proc </aside>force_full_update<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/robotact.dm#L144"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/robotact.dm 144"></a></aside></h3><p>Forces a full update of the UI, if currently open.</p>
|
||||
<p>Forces an update that includes refreshing ui_static_data. Called by
|
||||
law changes and borg log additions.</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/computer_file/program/secureye - /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/computer_file/program/secureye.html#var">Var Details</a></header><main><h1>secureye <aside>/<a href="datum.html">datum</a>/<a href="datum/computer_file/program.html">computer_file/program</a>/<a href="datum/computer_file/program/secureye.html">secureye</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/secureye.dm#L3"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/secureye.dm 3"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/computer_file/program/secureye.html#var/cam_plane_masters">cam_plane_masters</a></th><td>All the plane masters that need to be applied.</td></tr><tr><th><a href="datum/computer_file/program/secureye.html#var/last_camera_turf">last_camera_turf</a></th><td>The turf where the camera was last updated.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/cam_plane_masters"><aside class="declaration">var </aside>cam_plane_masters <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/secureye.dm#L27"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/secureye.dm 27"></a></h3><p>All the plane masters that need to be applied.</p><h3 id="var/last_camera_turf"><aside class="declaration">var </aside>last_camera_turf <aside>– /<a href="turf.html">turf</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/secureye.dm#L20"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/secureye.dm 20"></a></h3><p>The turf where the camera was last updated.</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>
|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/computer_file/program/signaler - /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/computer_file/program/signaler.html#var">Var Details</a></header><main><h1>signaler <aside>/<a href="datum.html">datum</a>/<a href="datum/computer_file/program.html">computer_file/program</a>/<a href="datum/computer_file/program/signaler.html">signaler</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/signaler.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/signaler.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/computer_file/program/signaler.html#var/radio_connection">radio_connection</a></th><td>Radio connection datum used by signalers.</td></tr><tr><th><a href="datum/computer_file/program/signaler.html#var/signal_code">signal_code</a></th><td>What is the saved signal code?</td></tr><tr><th><a href="datum/computer_file/program/signaler.html#var/signal_frequency">signal_frequency</a></th><td>What is the saved signal frequency?</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/radio_connection"><aside class="declaration">var </aside>radio_connection <aside>– /<a href="datum.html">datum</a>/radio_frequency</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/signaler.dm#L18"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/signaler.dm 18"></a></h3><p>Radio connection datum used by signalers.</p><h3 id="var/signal_code"><aside class="declaration">var </aside>signal_code <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/signaler.dm#L14"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/signaler.dm 14"></a></h3><p>What is the saved signal code?</p><h3 id="var/signal_frequency"><aside class="declaration">var </aside>signal_frequency <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/signaler.dm#L12"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/signaler.dm 12"></a></h3><p>What is the saved signal frequency?</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>
|
||||
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/computer_file/program/supermatter_monitor - /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/computer_file/program/supermatter_monitor.html#proc">Proc Details</a></header><main><h1>supermatter_monitor <aside>/<a href="datum.html">datum</a>/<a href="datum/computer_file/program.html">computer_file/program</a>/<a href="datum/computer_file/program/supermatter_monitor.html">supermatter_monitor</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/sm_monitor.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/sm_monitor.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/computer_file/program/supermatter_monitor.html#proc/clear_signals">clear_signals</a></th><td>Removes the signal listener for Supermatter delaminations from the selected supermatter.</td></tr><tr><th><a href="datum/computer_file/program/supermatter_monitor.html#proc/send_alert">send_alert</a></th><td>Sends an SM delam alert to the computer.</td></tr><tr><th><a href="datum/computer_file/program/supermatter_monitor.html#proc/send_start_alert">send_start_alert</a></th><td>Sends an SM delam start alert to the computer.</td></tr><tr><th><a href="datum/computer_file/program/supermatter_monitor.html#proc/set_signals">set_signals</a></th><td>Sets up the signal listener for Supermatter delaminations.</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/clear_signals"><aside class="declaration">proc </aside>clear_signals<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/sm_monitor.dm#L82"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/sm_monitor.dm 82"></a></aside></h3><p>Removes the signal listener for Supermatter delaminations from the selected supermatter.</p>
|
||||
<p>Pretty much does what it says.</p><h3 id="proc/send_alert"><aside class="declaration">proc </aside>send_alert<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/sm_monitor.dm#L95"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/sm_monitor.dm 95"></a></aside></h3><p>Sends an SM delam alert to the computer.</p>
|
||||
<p>Triggered by a signal from the selected supermatter, this proc sends a notification
|
||||
to the computer if the program is either closed or minimized. We do not send these
|
||||
notifications to the comptuer if we're the active program, because engineers fixing
|
||||
the supermatter probably don't need constant beeping to distract them.</p><h3 id="proc/send_start_alert"><aside class="declaration">proc </aside>send_start_alert<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/sm_monitor.dm#L112"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/sm_monitor.dm 112"></a></aside></h3><p>Sends an SM delam start alert to the computer.</p>
|
||||
<p>Triggered by a signal from the selected supermatter at the start of a delamination,
|
||||
this proc sends a notification to the computer if this program is the active one.
|
||||
We do this so that people carrying a tablet with NT CIMS open but with the NTOS window
|
||||
closed will still get one audio alert. This is not sent to computers with the program
|
||||
minimized or closed to avoid double-notifications.</p><h3 id="proc/set_signals"><aside class="declaration">proc </aside>set_signals<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/modular_computers/file_system/programs/sm_monitor.dm#L72"><img src="git.png" width="16" height="16" title="code/modules/modular_computers/file_system/programs/sm_monitor.dm 72"></a></aside></h3><p>Sets up the signal listener for Supermatter delaminations.</p>
|
||||
<p>Unregisters any old listners for SM delams, and then registers one for the SM refered
|
||||
to in the <code>active</code> variable. This proc is also used with no active SM to simply clear
|
||||
the signal and exit.</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>
|
||||
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user