Files
Paradise/code/__DEFINES/misc_defines.html

15 lines
23 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>code/__DEFINES/misc_defines.dm - Space Station 13</title></head><body><header><a href="index.html">Space Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a><a href="code/__DEFINES/misc_defines.html#define">Define Details</a></header><main><h1>code/__DEFINES/misc_defines.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__DEFINES/misc_defines.html#define/GERM_LEVEL_AMBIENT">GERM_LEVEL_AMBIENT</a></th><td>GERMS AND INFECTIONS</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/EMOJI_SET">EMOJI_SET</a></th><td>Emoji icon set</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/MACH_CENTER">MACH_CENTER</a></th><td>A define for the center of the coordinate map of big machinery</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/RANGE_EDGE_TURFS">RANGE_EDGE_TURFS</a></th><td>Returns the turfs on the edge of a square with CENTER in the middle and with the given RADIUS. If used near the edge of the map, will still work fine.</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/get_area">get_area</a></th><td>Grabs the area of a supplied object. Passing an area in to this will result in an error</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/FOAM_REACT_NEVER">FOAM_REACT_NEVER</a></th><td>The chemicals in the foam (if any) will never react.</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/FOAM_REACT_ON_DISSIPATE">FOAM_REACT_ON_DISSIPATE</a></th><td>Chemicals in the foam will only react when the foam dissipates.</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/FOAM_REACT_DURING_SPREAD">FOAM_REACT_DURING_SPREAD</a></th><td>Chemicals in the foam will react while the foam is still processing.</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/FOAM_REACT_BEFORE_SPREAD">FOAM_REACT_BEFORE_SPREAD</a></th><td>Chemicals in the foam will react when the foam first reaches a tile.</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/REGION_ALL">REGION_ALL</a></th><td>Access Region Codes</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/GREYSCALE_COLOR_REPLACE">GREYSCALE_COLOR_REPLACE</a></th><td>Pure Black and white colorblindness. Every species except Vulpkanins and Tajarans will have this.</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/PROTANOPIA_COLOR_REPLACE">PROTANOPIA_COLOR_REPLACE</a></th><td>Red colorblindness. Vulpkanins/Wolpins have this.</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/TRITANOPIA_COLOR_REPLACE">TRITANOPIA_COLOR_REPLACE</a></th><td>Yellow-Blue colorblindness. Tajarans/Farwas have this.</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/CLIENT_FROM_VAR">CLIENT_FROM_VAR</a></th><td>Return a Client</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/BASE_DEFIB_TIME_LIMIT">BASE_DEFIB_TIME_LIMIT</a></th><td>Past this much time the patient is unrecoverable (in deciseconds).</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/DEFIB_TIME_LOSS">DEFIB_TIME_LOSS</a></th><td>Brain damage starts setting in on the patient after some time left rotting.</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/MAPTEXT">MAPTEXT</a></th><td>Prepares a text to be used for maptext. Use this so it doesn't look hideous.</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/PARALLAX_DELAY_DEFAULT">PARALLAX_DELAY_DEFAULT</a></th><td>About 0.05 Seconds of delay</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/DISCORD_WEBHOOK_PRIMARY">DISCORD_WEBHOOK_PRIMARY</a></th><td>Send to the primary Discord webhook</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/DISCORD_WEBHOOK_ADMIN">DISCORD_WEBHOOK_ADMIN</a></th><td>Send to the admin Discord webhook</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/DISCORD_WEBHOOK_MENTOR">DISCORD_WEBHOOK_MENTOR</a></th><td>Send to the mentor Discord webhook</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/UNTIL">UNTIL</a></th><td>Waits at a line of code until X is true</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/REFLECTABILITY_NEVER">REFLECTABILITY_NEVER</a></th><td>Projectile reflectability defines</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/DEADCHAT_DEMOCRACY_MODE">DEADCHAT_DEMOCRACY_MODE</a></th><td>Will execute a single command after the cooldown based on player votes.</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/DEADCHAT_ANARCHY_MODE">DEADCHAT_ANARCHY_MODE</a></th><td>Allows each player to do a single command every cooldown.</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/MUTE_DEADCHAT_DEMOCRACY_MESSAGES">MUTE_DEADCHAT_DEMOCRACY_MESSAGES</a></th><td>Mutes the democracy mode messages send to orbiters at the end of each cycle. Useful for when the cooldown is so low it'd get spammy.</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/SLEEP_CHECK_QDEL">SLEEP_CHECK_QDEL</a></th><td>Sleep check QDEL. Like sleep check death, but checks deleting. Good for non mobs.</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/BRAIN_DAMAGE_BOOK_TIME">BRAIN_DAMAGE_BOOK_TIME</a></th><td>Reading books can help with brain damage!
These are seperate times so that a user gains more benefits by reading more books,
but also cant infinitely switch between 1000 books.
The amount of time needed to pass to let a single book be read again for brain benefits</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/BRAIN_DAMAGE_MOB_TIME">BRAIN_DAMAGE_MOB_TIME</a></th><td>The amount of time a mob needs to wait between any book reading</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/text_ref">text_ref</a></th><td>Takes a datum as input, returns its ref string, or a cached version of it
This allows us to cache \ref creation, which ensures it'll only ever happen once per datum, saving string tree time
It is slightly less optimal then a []'d datum, but the cost is massively outweighed by the potential savings
It will only work for datums mind, for datum reasons
: because of the embedded typecheck</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/LOG_MAZE_PROGRESS">LOG_MAZE_PROGRESS</a></th><td>I dont recommend touching these map generator defines unless you know what you're doing with maze generators.</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/PINPOINTER_MODE_DET">PINPOINTER_MODE_DET</a></th><td>Detective's mode on pinpointers</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/DISPOSAL_SOUND_COOLDOWN">DISPOSAL_SOUND_COOLDOWN</a></th><td>How frequently disposals can make sounds, to prevent huge sound stacking</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/VOTE_RESULT_TYPE_MAJORITY">VOTE_RESULT_TYPE_MAJORITY</a></th><td>The different kinds of voting</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/RESTRICT_TYPE">RESTRICT_TYPE</a></th><td>A helper used by <code>restrict_file_types.py</code> to identify types to restrict in a file. Not used by byond at all.</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/LAVALAND_TENDRIL_COLLAPSE_RANGE">LAVALAND_TENDRIL_COLLAPSE_RANGE</a></th><td>The radius of the chasm created by killed tendrils.</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/BANK_PIN_MIN">BANK_PIN_MIN</a></th><td>Economy account defines</td></tr><tr><th><a href="code/__DEFINES/misc_defines.html#define/TECH_MATERIAL">TECH_MATERIAL</a></th><td>Defines for hidden organ techs</td></tr><tr><td colspan="2"><p>The number of seconds between the start of the UNIX and BYOND epochs.</p></td></tr></table><h2 id="define">Define Details</h2><h3 id="define/BANK_PIN_MIN"><aside class="declaration">#define </aside>BANK_PIN_MIN <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L750"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 750"></a></h3><p>Economy account defines</p><h3 id="define/BASE_DEFIB_TIME_LIMIT"><aside class="declaration">#define </aside>BASE_DEFIB_TIME_LIMIT <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L465"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 465"></a></h3><p>Past this much time the patient is unrecoverable (in deciseconds).</p><h3 id="define/BRAIN_DAMAGE_BOOK_TIME"><aside class="declaration">#define </aside>BRAIN_DAMAGE_BOOK_TIME <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L623"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 623"></a></h3><p>Reading books can help with brain damage!
These are seperate times so that a user gains more benefits by reading more books,
but also cant infinitely switch between 1000 books.
The amount of time needed to pass to let a single book be read again for brain benefits</p><h3 id="define/BRAIN_DAMAGE_MOB_TIME"><aside class="declaration">#define </aside>BRAIN_DAMAGE_MOB_TIME <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L625"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 625"></a></h3><p>The amount of time a mob needs to wait between any book reading</p><h3 id="define/CLIENT_FROM_VAR"><aside class="declaration">#define </aside>CLIENT_FROM_VAR<aside>(I)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L364"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 364"></a></h3><p>Return a Client</p><h3 id="define/DEADCHAT_ANARCHY_MODE"><aside class="declaration">#define </aside>DEADCHAT_ANARCHY_MODE <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L604"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 604"></a></h3><p>Allows each player to do a single command every cooldown.</p><h3 id="define/DEADCHAT_DEMOCRACY_MODE"><aside class="declaration">#define </aside>DEADCHAT_DEMOCRACY_MODE <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L602"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 602"></a></h3><p>Will execute a single command after the cooldown based on player votes.</p><h3 id="define/DEFIB_TIME_LOSS"><aside class="declaration">#define </aside>DEFIB_TIME_LOSS <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L467"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 467"></a></h3><p>Brain damage starts setting in on the patient after some time left rotting.</p><h3 id="define/DISCORD_WEBHOOK_ADMIN"><aside class="declaration">#define </aside>DISCORD_WEBHOOK_ADMIN <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L561"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 561"></a></h3><p>Send to the admin Discord webhook</p><h3 id="define/DISCORD_WEBHOOK_MENTOR"><aside class="declaration">#define </aside>DISCORD_WEBHOOK_MENTOR <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L564"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 564"></a></h3><p>Send to the mentor Discord webhook</p><h3 id="define/DISCORD_WEBHOOK_PRIMARY"><aside class="declaration">#define </aside>DISCORD_WEBHOOK_PRIMARY <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L558"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 558"></a></h3><p>Send to the primary Discord webhook</p><h3 id="define/DISPOSAL_SOUND_COOLDOWN"><aside class="declaration">#define </aside>DISPOSAL_SOUND_COOLDOWN <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L706"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 706"></a></h3><p>How frequently disposals can make sounds, to prevent huge sound stacking</p><h3 id="define/EMOJI_SET"><aside class="declaration">#define </aside>EMOJI_SET <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L57"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 57"></a></h3><p>Emoji icon set</p><h3 id="define/FOAM_REACT_BEFORE_SPREAD"><aside class="declaration">#define </aside>FOAM_REACT_BEFORE_SPREAD <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L188"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 188"></a></h3><p>Chemicals in the foam will react when the foam first reaches a tile.</p><h3 id="define/FOAM_REACT_DURING_SPREAD"><aside class="declaration">#define </aside>FOAM_REACT_DURING_SPREAD <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L186"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 186"></a></h3><p>Chemicals in the foam will react while the foam is still processing.</p><h3 id="define/FOAM_REACT_NEVER"><aside class="declaration">#define </aside>FOAM_REACT_NEVER <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L182"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 182"></a></h3><p>The chemicals in the foam (if any) will never react.</p><h3 id="define/FOAM_REACT_ON_DISSIPATE"><aside class="declaration">#define </aside>FOAM_REACT_ON_DISSIPATE <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L184"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 184"></a></h3><p>Chemicals in the foam will only react when the foam dissipates.</p><h3 id="define/GERM_LEVEL_AMBIENT"><aside class="declaration">#define </aside>GERM_LEVEL_AMBIENT <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L30"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 30"></a></h3><p>GERMS AND INFECTIONS</p><h3 id="define/GREYSCALE_COLOR_REPLACE"><aside class="declaration">#define </aside>GREYSCALE_COLOR_REPLACE <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L307"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 307"></a></h3><p>Pure Black and white colorblindness. Every species except Vulpkanins and Tajarans will have this.</p><h3 id="define/LAVALAND_TENDRIL_COLLAPSE_RANGE"><aside class="declaration">#define </aside>LAVALAND_TENDRIL_COLLAPSE_RANGE <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L745"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 745"></a></h3><p>The radius of the chasm created by killed tendrils.</p><h3 id="define/LOG_MAZE_PROGRESS"><aside class="declaration">#define </aside>LOG_MAZE_PROGRESS<aside>(proc2run, opname)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L664"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 664"></a></h3><p>I dont recommend touching these map generator defines unless you know what you're doing with maze generators.</p><h3 id="define/MACH_CENTER"><aside class="declaration">#define </aside>MACH_CENTER <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L111"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 111"></a></h3><p>A define for the center of the coordinate map of big machinery</p><h3 id="define/MAPTEXT"><aside class="declaration">#define </aside>MAPTEXT<aside>(text)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L497"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 497"></a></h3><p>Prepares a text to be used for maptext. Use this so it doesn't look hideous.</p><h3 id="define/MUTE_DEADCHAT_DEMOCRACY_MESSAGES"><aside class="declaration">#define </aside>MUTE_DEADCHAT_DEMOCRACY_MESSAGES <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L606"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 606"></a></h3><p>Mutes the democracy mode messages send to orbiters at the end of each cycle. Useful for when the cooldown is so low it'd get spammy.</p><h3 id="define/PARALLAX_DELAY_DEFAULT"><aside class="declaration">#define </aside>PARALLAX_DELAY_DEFAULT <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L522"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 522"></a></h3><p>About 0.05 Seconds of delay</p><h3 id="define/PINPOINTER_MODE_DET"><aside class="declaration">#define </aside>PINPOINTER_MODE_DET <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L703"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 703"></a></h3><p>Detective's mode on pinpointers</p><h3 id="define/PROTANOPIA_COLOR_REPLACE"><aside class="declaration">#define </aside>PROTANOPIA_COLOR_REPLACE <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L322"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 322"></a></h3><p>Red colorblindness. Vulpkanins/Wolpins have this.</p><h3 id="define/RANGE_EDGE_TURFS"><aside class="declaration">#define </aside>RANGE_EDGE_TURFS<aside>(RADIUS, CENTER)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L126"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 126"></a></h3><p>Returns the turfs on the edge of a square with CENTER in the middle and with the given RADIUS. If used near the edge of the map, will still work fine.</p><h3 id="define/REFLECTABILITY_NEVER"><aside class="declaration">#define </aside>REFLECTABILITY_NEVER <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L592"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 592"></a></h3><p>Projectile reflectability defines</p><h3 id="define/REGION_ALL"><aside class="declaration">#define </aside>REGION_ALL <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L247"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 247"></a></h3><p>Access Region Codes</p><h3 id="define/RESTRICT_TYPE"><aside class="declaration">#define </aside>RESTRICT_TYPE<aside>(type)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L739"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 739"></a></h3><p>A helper used by <code>restrict_file_types.py</code> to identify types to restrict in a file. Not used by byond at all.</p><h3 id="define/SLEEP_CHECK_QDEL"><aside class="declaration">#define </aside>SLEEP_CHECK_QDEL<aside>(X)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L609"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 609"></a></h3><p>Sleep check QDEL. Like sleep check death, but checks deleting. Good for non mobs.</p><h3 id="define/TECH_MATERIAL"><aside class="declaration">#define </aside>TECH_MATERIAL <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L754"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 754"></a></h3><p>Defines for hidden organ techs</p><h3 id="define/TRITANOPIA_COLOR_REPLACE"><aside class="declaration">#define </aside>TRITANOPIA_COLOR_REPLACE <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L336"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 336"></a></h3><p>Yellow-Blue colorblindness. Tajarans/Farwas have this.</p><h3 id="define/UNTIL"><aside class="declaration">#define </aside>UNTIL<aside>(X)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L577"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 577"></a></h3><p>Waits at a line of code until X is true</p><h3 id="define/VOTE_RESULT_TYPE_MAJORITY"><aside class="declaration">#define </aside>VOTE_RESULT_TYPE_MAJORITY <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L709"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 709"></a></h3><p>The different kinds of voting</p><h3 id="define/get_area"><aside class="declaration">#define </aside>get_area<aside>(T)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L151"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 151"></a></h3><p>Grabs the area of a supplied object. Passing an area in to this will result in an error</p><h3 id="define/text_ref"><aside class="declaration">#define </aside>text_ref<aside>(datum)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/misc_defines.dm#L632"><img src="git.png" width="16" height="16" title="code/__DEFINES/misc_defines.dm 632"></a></h3><p>Takes a datum as input, returns its ref string, or a cached version of it
This allows us to cache \ref creation, which ensures it'll only ever happen once per datum, saving string tree time
It is slightly less optimal then a []'d datum, but the cost is massively outweighed by the potential savings
It will only work for datums mind, for datum reasons
: because of the embedded typecheck</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>