Deploying to gh-pages from @ e8e0068531 🚀
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>code/__HELPERS/_lists.dm - /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="code/__HELPERS/_lists.html#define">Define Details</a></header><main><h1>code/__HELPERS/_lists.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/_lists.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/_lists.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__HELPERS/_lists.html#define/LIST_VALUE_WRAP_LISTS">LIST_VALUE_WRAP_LISTS</a></th><td>If value is a list, wrap it in a list so it can be used with list add/remove operations</td></tr><tr><th><a href="code/__HELPERS/_lists.html#define/UNTYPED_LIST_ADD">UNTYPED_LIST_ADD</a></th><td>Add an untyped item to a list, taking care to handle list items by wrapping them in a list to remove the footgun</td></tr><tr><th><a href="code/__HELPERS/_lists.html#define/UNTYPED_LIST_REMOVE">UNTYPED_LIST_REMOVE</a></th><td>Remove an untyped item to a list, taking care to handle list items by wrapping them in a list to remove the footgun</td></tr><tr><th><a href="code/__HELPERS/_lists.html#define/LAZYLISTDUPLICATE">LAZYLISTDUPLICATE</a></th><td>Like LAZYCOPY - copies an input list if the list has entries, If it doesn't the assigned list is nulled</td></tr><tr><th><a href="code/__HELPERS/_lists.html#define/LAZYACCESS">LAZYACCESS</a></th><td>returns L[I] if L exists and I is a valid index of L, runtimes if L is not a list</td></tr><tr><th><a href="code/__HELPERS/_lists.html#define/LAZYADDASSOCLIST">LAZYADDASSOCLIST</a></th><td>This is used to add onto lazy assoc list when the value you're adding is a /list/. This one has extra safety over lazyaddassoc because the value could be null (and thus cant be used to += objects)</td></tr><tr><th><a href="code/__HELPERS/_lists.html#define/LAZYADDASSOC">LAZYADDASSOC</a></th><td>This is used to add onto lazy assoc list when the value you're adding is a /list/. This one has extra safety over lazyaddassoc because the value could be null (and thus cant be used to += objects)</td></tr><tr><th><a href="code/__HELPERS/_lists.html#define/LAZYORASSOCLIST">LAZYORASSOCLIST</a></th><td>Performs an insertion on the given lazy list with the given key and value. If the value already exists, a new one will not be made.</td></tr><tr><th><a href="code/__HELPERS/_lists.html#define/COMPARE_KEY">COMPARE_KEY</a></th><td>Passed into BINARY_INSERT to compare keys</td></tr><tr><th><a href="code/__HELPERS/_lists.html#define/COMPARE_VALUE">COMPARE_VALUE</a></th><td>Passed into BINARY_INSERT to compare values</td></tr><tr><th><a href="code/__HELPERS/_lists.html#define/BINARY_INSERT">BINARY_INSERT</a></th><td>Binary search sorted insert
|
||||
INPUT: Object to be inserted
|
||||
LIST: List to insert object into
|
||||
TYPECONT: The typepath of the contents of the list
|
||||
COMPARE: The object to compare against, usualy the same as INPUT
|
||||
COMPARISON: The variable on the objects to compare
|
||||
COMPTYPE: How should the values be compared? Either COMPARE_KEY or COMPARE_VALUE.</td></tr><tr><th>/proc/<a href="global.html#proc/english_list_assoc">english_list_assoc</a></th><td>English_list but associative supporting. Higher overhead.
|
||||
@depricated</td></tr><tr><th>/proc/<a href="global.html#proc/listgetindex">listgetindex</a></th><td>@depricated</td></tr><tr><th>/proc/<a href="global.html#proc/safepick">safepick</a></th><td>@depricated</td></tr><tr><th>/proc/<a href="global.html#proc/isemptylist">isemptylist</a></th><td>@depricated</td></tr><tr><th>/proc/<a href="global.html#proc/typecacheof">typecacheof</a></th><td>Like typesof() or subtypesof(), but returns a typecache instead of a list</td></tr><tr><th>/proc/<a href="global.html#proc/pick_n_take">pick_n_take</a></th><td>Pick a random element from the list and remove it from the list.</td></tr><tr><th>/proc/<a href="global.html#proc/find_record">find_record</a></th><td>Returns datum/data/record</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/BINARY_INSERT"><aside class="declaration">#define </aside>BINARY_INSERT<aside>(INPUT, LIST, TYPECONT, COMPARE, COMPARISON, COMPTYPE)</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/_lists.dm#L72"><img src="git.png" width="16" height="16" title="code/__HELPERS/_lists.dm 72"></a></h3><p>Binary search sorted insert
|
||||
INPUT: Object to be inserted
|
||||
LIST: List to insert object into
|
||||
TYPECONT: The typepath of the contents of the list
|
||||
COMPARE: The object to compare against, usualy the same as INPUT
|
||||
COMPARISON: The variable on the objects to compare
|
||||
COMPTYPE: How should the values be compared? Either COMPARE_KEY or COMPARE_VALUE.</p><h3 id="define/COMPARE_KEY"><aside class="declaration">#define </aside>COMPARE_KEY <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/_lists.dm#L59"><img src="git.png" width="16" height="16" title="code/__HELPERS/_lists.dm 59"></a></h3><p>Passed into BINARY_INSERT to compare keys</p><h3 id="define/COMPARE_VALUE"><aside class="declaration">#define </aside>COMPARE_VALUE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/_lists.dm#L61"><img src="git.png" width="16" height="16" title="code/__HELPERS/_lists.dm 61"></a></h3><p>Passed into BINARY_INSERT to compare values</p><h3 id="define/LAZYACCESS"><aside class="declaration">#define </aside>LAZYACCESS<aside>(L, I)</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/_lists.dm#L32"><img src="git.png" width="16" height="16" title="code/__HELPERS/_lists.dm 32"></a></h3><p>returns L[I] if L exists and I is a valid index of L, runtimes if L is not a list</p><h3 id="define/LAZYADDASSOC"><aside class="declaration">#define </aside>LAZYADDASSOC<aside>(L, K, V)</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/_lists.dm#L42"><img src="git.png" width="16" height="16" title="code/__HELPERS/_lists.dm 42"></a></h3><p>This is used to add onto lazy assoc list when the value you're adding is a /list/. This one has extra safety over lazyaddassoc because the value could be null (and thus cant be used to += objects)</p><h3 id="define/LAZYADDASSOCLIST"><aside class="declaration">#define </aside>LAZYADDASSOCLIST<aside>(L, K, V)</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/_lists.dm#L37"><img src="git.png" width="16" height="16" title="code/__HELPERS/_lists.dm 37"></a></h3><p>This is used to add onto lazy assoc list when the value you're adding is a /list/. This one has extra safety over lazyaddassoc because the value could be null (and thus cant be used to += objects)</p><h3 id="define/LAZYLISTDUPLICATE"><aside class="declaration">#define </aside>LAZYLISTDUPLICATE<aside>(L)</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/_lists.dm#L23"><img src="git.png" width="16" height="16" title="code/__HELPERS/_lists.dm 23"></a></h3><p>Like LAZYCOPY - copies an input list if the list has entries, If it doesn't the assigned list is nulled</p><h3 id="define/LAZYORASSOCLIST"><aside class="declaration">#define </aside>LAZYORASSOCLIST<aside>(lazy_list, key, value)</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/_lists.dm#L53"><img src="git.png" width="16" height="16" title="code/__HELPERS/_lists.dm 53"></a></h3><p>Performs an insertion on the given lazy list with the given key and value. If the value already exists, a new one will not be made.</p><h3 id="define/LIST_VALUE_WRAP_LISTS"><aside class="declaration">#define </aside>LIST_VALUE_WRAP_LISTS<aside>(value)</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/_lists.dm#L14"><img src="git.png" width="16" height="16" title="code/__HELPERS/_lists.dm 14"></a></h3><p>If value is a list, wrap it in a list so it can be used with list add/remove operations</p><h3 id="define/UNTYPED_LIST_ADD"><aside class="declaration">#define </aside>UNTYPED_LIST_ADD<aside>(list, item)</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/_lists.dm#L16"><img src="git.png" width="16" height="16" title="code/__HELPERS/_lists.dm 16"></a></h3><p>Add an untyped item to a list, taking care to handle list items by wrapping them in a list to remove the footgun</p><h3 id="define/UNTYPED_LIST_REMOVE"><aside class="declaration">#define </aside>UNTYPED_LIST_REMOVE<aside>(list, item)</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/_lists.dm#L18"><img src="git.png" width="16" height="16" title="code/__HELPERS/_lists.dm 18"></a></h3><p>Remove an untyped item to a list, taking care to handle list items by wrapping them in a list to remove the footgun</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>code/__HELPERS/_logging.dm - /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>code/__HELPERS/_logging.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/_logging.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/_logging.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/log_suspicious_login">log_suspicious_login</a></th><td>Writes to a special log file if the log_suspicious_login config flag is set,
|
||||
which is intended to contain all logins that failed under suspicious circumstances.</td></tr><tr><th>/proc/<a href="global.html#proc/log_tgui">log_tgui</a></th><td>Appends a tgui-related log entry. All arguments are optional.</td></tr></table></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>code/__HELPERS/areas.dm - /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>code/__HELPERS/areas.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/areas.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/areas.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/get_base_area">get_base_area</a></th><td>Returns the base area the target is located in if there is one.
|
||||
Alternatively, returns the area as is.</td></tr><tr><th>/proc/<a href="global.html#proc/get_sub_areas">get_sub_areas</a></th><td>Returns either null, or a list containing every sub area associated with our base area.
|
||||
If include_base is TRUE, the base area will also be added to the return list.</td></tr><tr><th>/proc/<a href="global.html#proc/get_sub_areas_turfs">get_sub_areas_turfs</a></th><td>Proc used for purposes similar to get_areas_turfs(), but aimed to include associated areas.
|
||||
Only accepts area instances and paths for the first arg, no text strings.
|
||||
Returns a list of all turfs found in the sub areas (including the base's if include_base is TRUE)
|
||||
and located in a z level matching target_z, or anywhere if target_z is 0</td></tr><tr><th>/proc/<a href="global.html#proc/get_sub_areas_contents">get_sub_areas_contents</a></th><td>Simple proc that returns a sum of all contents from every sub area,
|
||||
Think of the above but for all contents, not just turfs, and without target z.</td></tr></table></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>code/__HELPERS/chat.dm - /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>code/__HELPERS/chat.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/chat.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/chat.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/send2chat">send2chat</a></th><td>Sends a message to TGS chat channels.</td></tr><tr><th>/proc/<a href="global.html#proc/send2adminchat">send2adminchat</a></th><td>Sends a message to TGS admin chat channels.</td></tr></table></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>code/__HELPERS/clients.dm - /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>code/__HELPERS/clients.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/clients.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/clients.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/is_guest_key">is_guest_key</a></th><td>Returns whether or not a player is a guest using their ckey as an input</td></tr></table></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>code/__HELPERS/files.dm - /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>code/__HELPERS/files.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/files.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/files.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/md5filepath">md5filepath</a></th><td>Returns the md5 of a file at a given path.</td></tr><tr><th>/proc/<a href="global.html#proc/md5asfile">md5asfile</a></th><td>Save file as an external file then md5 it.
|
||||
Used because md5ing files stored in the rsc sometimes gives incorrect md5 results.</td></tr></table></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>code/__HELPERS/game.dm - /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="code/__HELPERS/game.html#define">Define Details</a></header><main><h1>code/__HELPERS/game.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/game.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/game.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__HELPERS/game.html#define/GET_ERROR_ROOM">GET_ERROR_ROOM</a></th><td>Returns either the error landmark or the location of the room. Needless to say, if this is used, it means things have gone awry.</td></tr><tr><th>/proc/<a href="global.html#proc/get_bbox_of_atoms">get_bbox_of_atoms</a></th><td>Get a bounding box of a list of atoms.</td></tr><tr><th>/proc/<a href="global.html#proc/recursive_organ_check">recursive_organ_check</a></th><td></td></tr><tr><th>/proc/<a href="global.html#proc/remove_image_from_client">remove_image_from_client</a></th><td>Removes an image from a client's <code>.images</code>. Useful as a callback.</td></tr><tr><th>/proc/<a href="global.html#proc/announce_arrival">announce_arrival</a></th><td>Send a message in common radio when a player arrives</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/GET_ERROR_ROOM"><aside class="declaration">#define </aside>GET_ERROR_ROOM <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/game.dm#L9"><img src="git.png" width="16" height="16" title="code/__HELPERS/game.dm 9"></a></h3><p>Returns either the error landmark or the location of the room. Needless to say, if this is used, it means things have gone awry.</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>code/__HELPERS/global_lists.dm - /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>code/__HELPERS/global_lists.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/global_lists.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/global_lists.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/make_datum_references_lists">make_datum_references_lists</a></th><td>Initial Building</td></tr></table></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>code/__HELPERS/icons.dm - /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>code/__HELPERS/icons.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/icons.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/icons.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/generate_asset_name">generate_asset_name</a></th><td>Generate a filename for this asset
|
||||
The same asset will always lead to the same asset name
|
||||
(Generated names do not include file extention.)</td></tr><tr><th>/proc/<a href="global.html#proc/icon2base64">icon2base64</a></th><td>Converts an icon to base64. Operates by putting the icon in the iconCache savefile,
|
||||
exporting it as text, and then parsing the base64 from that.
|
||||
(This relies on byond automatically storing icons in savefiles as base64)</td></tr></table></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>code/__HELPERS/lighting.dm - /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>code/__HELPERS/lighting.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/lighting.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/lighting.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/emissive_appearance">emissive_appearance</a></th><td>Produces a mutable appearance glued to the [EMISSIVE_PLANE] dyed to be the <a href="code/__DEFINES/lighting.html#define/EMISSIVE_COLOR" title="EMISSIVE_COLOR">EMISSIVE_COLOR</a>.</td></tr></table></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>code/__HELPERS/matrices/color_matrix.dm - /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>code/__HELPERS/matrices/color_matrix.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/matrices/color_matrix.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/matrices/color_matrix.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/color_matrix_saturation_percent">color_matrix_saturation_percent</a></th><td>Exxagerates or removes colors</td></tr><tr><th>/proc/<a href="global.html#proc/color_matrix_contrast_percent">color_matrix_contrast_percent</a></th><td>Exxagerates or removes brightness</td></tr><tr><th>/proc/<a href="global.html#proc/color_matrix_rotation">color_matrix_rotation</a></th><td>Moves all colors angle degrees around the color wheel while maintaining intensity of the color and not affecting whites
|
||||
TODO: Need a version that only affects one color (ie shift red to blue but leave greens and blues alone)</td></tr><tr><th>/proc/<a href="global.html#proc/color_matrix_hsv">color_matrix_hsv</a></th><td>Builds a color matrix that transforms the hue, saturation, and value, all in one operation.</td></tr><tr><th>/proc/<a href="global.html#proc/rgb_construct_color_matrix">rgb_construct_color_matrix</a></th><td>Assembles a color matrix, defaulting to identity</td></tr><tr><th>/proc/<a href="global.html#proc/rgba_construct_color_matrix">rgba_construct_color_matrix</a></th><td>Assembles a color matrix, defaulting to identity</td></tr></table></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>code/__HELPERS/matrices/transform_matrix.dm - /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>code/__HELPERS/matrices/transform_matrix.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/matrices/transform_matrix.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/matrices/transform_matrix.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/transform_matrix_construct">transform_matrix_construct</a></th><td>constructs a transform matrix, defaulting to identity</td></tr></table></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>code/__HELPERS/mobs.dm - /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="code/__HELPERS/mobs.html#define">Define Details</a></header><main><h1>code/__HELPERS/mobs.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/mobs.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/mobs.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__HELPERS/mobs.html#define/GET_CLIENT">GET_CLIENT</a></th><td>Gets the client of the mob, allowing for mocking of the client.
|
||||
You only need to use this if you know you're going to be mocking clients somewhere else.</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/GET_CLIENT"><aside class="declaration">#define </aside>GET_CLIENT<aside>(mob)</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/mobs.dm#L504"><img src="git.png" width="16" height="16" title="code/__HELPERS/mobs.dm 504"></a></h3><p>Gets the client of the mob, allowing for mocking of the client.
|
||||
You only need to use this if you know you're going to be mocking clients somewhere else.</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>code/__HELPERS/nameof.dm - /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="code/__HELPERS/nameof.html#define">Define Details</a></header><main><h1>code/__HELPERS/nameof.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/nameof.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/nameof.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__HELPERS/nameof.html#define/NAMEOF">NAMEOF</a></th><td>NAMEOF: Compile time checked variable name to string conversion
|
||||
evaluates to a string equal to "X", but compile errors if X isn't a var on datum.
|
||||
datum may be null, but it does need to be a typed var.</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/NAMEOF"><aside class="declaration">#define </aside>NAMEOF<aside>(datum, X)</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/nameof.dm#L6"><img src="git.png" width="16" height="16" title="code/__HELPERS/nameof.dm 6"></a></h3><p>NAMEOF: Compile time checked variable name to string conversion
|
||||
evaluates to a string equal to "X", but compile errors if X isn't a var on datum.
|
||||
datum may be null, but it does need to be a typed var.</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>code/__HELPERS/path.dm - /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="code/__HELPERS/path.html#define">Define Details</a></header><main><h1>code/__HELPERS/path.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/path.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/path.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/get_path_to">get_path_to</a></th><td>This file contains the stuff you need for using JPS (Jump Point Search) pathing, an alternative to A* that skips
|
||||
over large numbers of uninteresting tiles resulting in much quicker pathfinding solutions. Mind that diagonals
|
||||
cost the same as cardinal moves currently, so paths may look a bit strange, but should still be optimal.</td></tr><tr><th><a href="code/__HELPERS/path.html#define/CAN_STEP">CAN_STEP</a></th><td>A helper macro to see if it's possible to step from the first turf into the second one, minding things like door access and directional windows.
|
||||
Note that this can only be used inside the [datum/pathfind][pathfind datum] since it uses variables from said datum.
|
||||
If you really want to optimize things, optimize this, cuz this gets called a lot.</td></tr><tr><th><a href="code/__HELPERS/path.html#define/STEP_NOT_HERE_BUT_THERE">STEP_NOT_HERE_BUT_THERE</a></th><td>Another helper macro for JPS, for telling when a node has forced neighbors that need expanding</td></tr><tr><th><a href="datum/jps_node.html">/datum/jps_node</a></th><td>The JPS Node datum represents a turf that we find interesting enough to add to the open list and possibly search for new tiles from</td></tr><tr><th>/proc/<a href="global.html#proc/HeapPathWeightCompare">HeapPathWeightCompare</a></th><td>TODO: Macro this to reduce proc overhead</td></tr><tr><th><a href="datum/pathfind.html">/datum/pathfind</a></th><td>The datum used to handle the JPS pathfinding, completely self-contained</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/CAN_STEP"><aside class="declaration">#define </aside>CAN_STEP<aside>(cur_turf, next)</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/path.dm#L47"><img src="git.png" width="16" height="16" title="code/__HELPERS/path.dm 47"></a></h3><p>A helper macro to see if it's possible to step from the first turf into the second one, minding things like door access and directional windows.
|
||||
Note that this can only be used inside the [datum/pathfind][pathfind datum] since it uses variables from said datum.
|
||||
If you really want to optimize things, optimize this, cuz this gets called a lot.</p><h3 id="define/STEP_NOT_HERE_BUT_THERE"><aside class="declaration">#define </aside>STEP_NOT_HERE_BUT_THERE<aside>(cur_turf, dirA, dirB)</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/path.dm#L49"><img src="git.png" width="16" height="16" title="code/__HELPERS/path.dm 49"></a></h3><p>Another helper macro for JPS, for telling when a node has forced neighbors that need expanding</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>code/__HELPERS/priority_announce.dm - /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>code/__HELPERS/priority_announce.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/priority_announce.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/priority_announce.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/call_emergency_meeting">call_emergency_meeting</a></th><td>Summon the crew for an emergency meeting</td></tr></table></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>code/__HELPERS/radio.dm - /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>code/__HELPERS/radio.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/radio.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/radio.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/sanitize_frequency">sanitize_frequency</a></th><td>Ensure the frequency is within bounds of what it should be sending/receiving at</td></tr><tr><th>/proc/<a href="global.html#proc/format_frequency">format_frequency</a></th><td>Format frequency by moving the decimal.</td></tr><tr><th>/proc/<a href="global.html#proc/unformat_frequency">unformat_frequency</a></th><td>Opposite of format, returns as a number</td></tr><tr><th>/proc/<a href="global.html#proc/return_unused_frequency">return_unused_frequency</a></th><td>returns a random unused frequency between MIN_FREE_FREQ & MAX_FREE_FREQ if free = TRUE, and MIN_FREQ & MAX_FREQ if FALSE</td></tr></table></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>code/__HELPERS/sanitize_values.dm - /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>code/__HELPERS/sanitize_values.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/sanitize_values.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/sanitize_values.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/sanitize_hexcolor">sanitize_hexcolor</a></th><td>Sanitizes a hexadecimal color. Always outputs lowercase.</td></tr><tr><th>/proc/<a href="global.html#proc/sanitize_ooccolor">sanitize_ooccolor</a></th><td>Makes sure the input color is text with a # at the start followed by 6 hexadecimal characters. Examples: "#ff1234", "#A38321", COLOR_GREEN_GRAY</td></tr></table></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>code/__HELPERS/screen_objs.dm - /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>code/__HELPERS/screen_objs.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/screen_objs.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/screen_objs.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/screen_loc_to_offset">screen_loc_to_offset</a></th><td>Takes a screen loc string in the format
|
||||
"+-left-offset:+-pixel,+-bottom-offset:+-pixel"
|
||||
Where the :pixel is optional, and returns
|
||||
A list in the format (x_offset, y_offset)
|
||||
We require context to get info out of screen locs that contain relative info, so NORTH, SOUTH, etc</td></tr><tr><th>/proc/<a href="global.html#proc/offset_to_screen_loc">offset_to_screen_loc</a></th><td>Takes a list in the form (x_offset, y_offset)
|
||||
And converts it to a screen loc string
|
||||
Accepts an optional view string/size to force the screen_loc around, so it can't go out of scope</td></tr><tr><th>/proc/<a href="global.html#proc/get_valid_screen_location">get_valid_screen_location</a></th><td>Returns a valid location to place a screen object without overflowing the viewport</td></tr><tr><th>/proc/<a href="global.html#proc/cut_relative_direction">cut_relative_direction</a></th><td>Takes a screen_loc string and cut out any directions like NORTH or SOUTH</td></tr></table></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>code/__HELPERS/text.dm - /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>code/__HELPERS/text.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/text.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/text.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/stripped_multiline_input_or_reflect">stripped_multiline_input_or_reflect</a></th><td>stripped_multiline_input but reflects to the user instead if it's too big and returns null.</td></tr><tr><th>/proc/<a href="global.html#proc/scramble_message_replace_chars">scramble_message_replace_chars</a></th><td>Slightly expensive proc to scramble a message using equal probabilities of character replacement from a list. DOES NOT SUPPORT HTML!</td></tr><tr><th>/proc/<a href="global.html#proc/sanitize_css_class_name">sanitize_css_class_name</a></th><td>Removes all non-alphanumerics from the text, keep in mind this can lead to id conflicts</td></tr></table></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>code/__HELPERS/type2type.dm - /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>code/__HELPERS/type2type.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/type2type.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/type2type.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/zone2body_parts_covered">zone2body_parts_covered</a></th><td>For finding out what body parts a body zone covers, the inverse of the below basically</td></tr><tr><th>/proc/<a href="global.html#proc/url2htmlloader">url2htmlloader</a></th><td>Return html to load a url.
|
||||
for use inside of browse() calls to html assets that might be loaded on a cdn.</td></tr></table></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,4 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>code/__HELPERS/unsorted.dm - /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>code/__HELPERS/unsorted.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/unsorted.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/unsorted.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/get_atom_on_turf">get_atom_on_turf</a></th><td>Returns the top-most atom sitting on the turf.
|
||||
For example, using this on a disk, which is in a bag, on a mob,
|
||||
will return the mob because it's on the turf.</td></tr><tr><th>/proc/<a href="global.html#proc/get_ranged_target_turf_direct">get_ranged_target_turf_direct</a></th><td>Get ranged target turf, but with direct targets as opposed to directions</td></tr><tr><th>/proc/<a href="global.html#proc/parse_caught_click_modifiers">parse_caught_click_modifiers</a></th><td>Returns a turf based on text inputs, original turf and viewing client</td></tr><tr><th>/proc/<a href="global.html#proc/valid_window_location">valid_window_location</a></th><td>Checks whether the target turf is in a valid state to accept a directional window
|
||||
or other directional pseudo-dense object such as railings.</td></tr><tr><th>/proc/<a href="global.html#proc/___TraitAdd">___TraitAdd</a></th><td>DO NOT USE ___TraitAdd OR ___TraitRemove as a replacement for ADD_TRAIT / REMOVE_TRAIT defines. To be used explicitly for callback.</td></tr><tr><th>/proc/<a href="global.html#proc/___TraitRemove">___TraitRemove</a></th><td>DO NOT USE ___TraitAdd OR ___TraitRemove as a replacement for ADD_TRAIT / REMOVE_TRAIT defines. To be used explicitly for callback.</td></tr></table></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>code/__HELPERS/verbs.dm - /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>code/__HELPERS/verbs.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/verbs.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/verbs.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/add_verb">add_verb</a></th><td>handles adding verbs and updating the stat panel browser</td></tr><tr><th>/proc/<a href="global.html#proc/remove_verb">remove_verb</a></th><td>handles removing verb and sending it to browser to update, use this for removing verbs</td></tr></table></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>code/__HELPERS/view.dm - /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>code/__HELPERS/view.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/view.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/view.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/proc/<a href="global.html#proc/view_to_pixels">view_to_pixels</a></th><td>Takes a string or num view, and converts it to pixel width/height in a list(pixel_width, pixel_height)</td></tr></table></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>code/__HELPERS/weakref.dm - /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="code/__HELPERS/weakref.html#define">Define Details</a></header><main><h1>code/__HELPERS/weakref.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/weakref.dm0"><img src="git.png" width="16" height="16" title="code/__HELPERS/weakref.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__HELPERS/weakref.html#define/IS_WEAKREF_OF">IS_WEAKREF_OF</a></th><td>Checks if potential_weakref is a weakref of thing.</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/IS_WEAKREF_OF"><aside class="declaration">#define </aside>IS_WEAKREF_OF<aside>(thing, potential_weakref)</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/weakref.dm#L2"><img src="git.png" width="16" height="16" title="code/__HELPERS/weakref.dm 2"></a></h3><p>Checks if potential_weakref is a weakref of thing.</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>
|
||||
Reference in New Issue
Block a user