Files
GS13NG/code/__DEFINES/combat.html
2025-02-05 06:19:18 +00:00

3 lines
17 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>code/__DEFINES/combat.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/__DEFINES/combat.html#define">Define Details</a></header><main><h1>code/__DEFINES/combat.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm0"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__DEFINES/combat.html#define/COMBAT_FLAGS_DEFAULT">COMBAT_FLAGS_DEFAULT</a></th><td>Default combat flags for those affected by sprinting (combat mode has been made into its own component)</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/COMBAT_FLAGS_SPRINT_EXEMPT">COMBAT_FLAGS_SPRINT_EXEMPT</a></th><td>Default combat flags for everyone else (so literally everyone but humans).</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/COMBAT_FLAGS_STAMINA_COMBAT">COMBAT_FLAGS_STAMINA_COMBAT</a></th><td>Default combat flags for those in stamina combat system</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/COMBAT_FLAG_SPRINT_TOGGLED">COMBAT_FLAG_SPRINT_TOGGLED</a></th><td>The user wants sprint mode on</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/COMBAT_FLAG_SPRINT_ACTIVE">COMBAT_FLAG_SPRINT_ACTIVE</a></th><td>Sprint is currently active</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/COMBAT_FLAG_ATTEMPTING_CRAWL">COMBAT_FLAG_ATTEMPTING_CRAWL</a></th><td>Currently attempting to crawl under someone</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/COMBAT_FLAG_HARD_STAMCRIT">COMBAT_FLAG_HARD_STAMCRIT</a></th><td>Currently stamcritted</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/COMBAT_FLAG_RESISTING_REST">COMBAT_FLAG_RESISTING_REST</a></th><td>Currently attempting to resist up from the ground</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/COMBAT_FLAG_INTENTIONALLY_RESTING">COMBAT_FLAG_INTENTIONALLY_RESTING</a></th><td>Intentionally resting</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/COMBAT_FLAG_STAMINA_BUFFER">COMBAT_FLAG_STAMINA_BUFFER</a></th><td>This mob requires stamina buffer to do things that require stamina buffer. Not having this exempts the mob from stamina combat.</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/COMBAT_FLAG_SPRINT_FORCED">COMBAT_FLAG_SPRINT_FORCED</a></th><td>Force sprint mode on at all times, overrides everything including sprint disable traits.</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/COMBAT_FLAG_PARRY_CAPABLE">COMBAT_FLAG_PARRY_CAPABLE</a></th><td>This mob is capable of using the active parrying system.</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/COMBAT_FLAG_BLOCK_CAPABLE">COMBAT_FLAG_BLOCK_CAPABLE</a></th><td>This mob is capable of using the active blocking system.</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/COMBAT_FLAG_UNARMED_PARRY">COMBAT_FLAG_UNARMED_PARRY</a></th><td>This mob is capable of unarmed parrying</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/COMBAT_FLAG_ACTIVE_BLOCKING">COMBAT_FLAG_ACTIVE_BLOCKING</a></th><td>This mob is currently actively blocking</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/COMBAT_FLAG_ACTIVE_BLOCK_STARTING">COMBAT_FLAG_ACTIVE_BLOCK_STARTING</a></th><td>This mob is currently starting an active block</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/STAMINA_CRIT">STAMINA_CRIT</a></th><td>crit for stamina damage. forces a rest, and stops movement until stamina goes back to stamina softcrit</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/STAMINA_CRIT_REMOVAL_THRESHOLD">STAMINA_CRIT_REMOVAL_THRESHOLD</a></th><td>Threshold for leaving stamina critical</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/STAMINA_NO_OVERDRAW_THRESHOLD">STAMINA_NO_OVERDRAW_THRESHOLD</a></th><td>Threshold under for which you are unable to draw from stamina health to replace stamina buffer</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/SHOVE_STAGGER_DURATION">SHOVE_STAGGER_DURATION</a></th><td>how long they're staggered for</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/SHOVE_OFFBALANCE_DURATION">SHOVE_OFFBALANCE_DURATION</a></th><td>how long they're off balance for</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/SUPPRESSED_QUIET">SUPPRESSED_QUIET</a></th><td>standard suppressed</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/SUPPRESSED_VERY">SUPPRESSED_VERY</a></th><td>no message</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/GUN_AIMING_TIME">GUN_AIMING_TIME</a></th><td>Time to spend without clicking on other things required for your shots to become accurate.</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/AUTOFIRE_STAT_IDLE">AUTOFIRE_STAT_IDLE</a></th><td>Compatible firemode is in the gun. Wait until it's held in the user hands.</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/AUTOFIRE_STAT_ALERT">AUTOFIRE_STAT_ALERT</a></th><td>Gun is active and in the user hands. Wait until user does a valid click.</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/AUTOFIRE_STAT_FIRING">AUTOFIRE_STAT_FIRING</a></th><td>Gun is shooting.</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/FEEBLE_ATTACK_MSG_THRESHOLD">FEEBLE_ATTACK_MSG_THRESHOLD</a></th><td>should the current-attack-damage be lower than the item force multiplied by this value,
a &quot;inefficiently&quot; prefix will be added to the message.</td></tr><tr><th><a href="code/__DEFINES/combat.html#define/FAT_DAMAGE_TO_FATNESS">FAT_DAMAGE_TO_FATNESS</a></th><td>What is the rate that one damage is converted to fatness?</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/AUTOFIRE_STAT_ALERT"><aside class="declaration">#define </aside>AUTOFIRE_STAT_ALERT <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L213"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 213"></a></h3><p>Gun is active and in the user hands. Wait until user does a valid click.</p><h3 id="define/AUTOFIRE_STAT_FIRING"><aside class="declaration">#define </aside>AUTOFIRE_STAT_FIRING <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L215"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 215"></a></h3><p>Gun is shooting.</p><h3 id="define/AUTOFIRE_STAT_IDLE"><aside class="declaration">#define </aside>AUTOFIRE_STAT_IDLE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L211"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 211"></a></h3><p>Compatible firemode is in the gun. Wait until it's held in the user hands.</p><h3 id="define/COMBAT_FLAGS_DEFAULT"><aside class="declaration">#define </aside>COMBAT_FLAGS_DEFAULT <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L40"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 40"></a></h3><p>Default combat flags for those affected by sprinting (combat mode has been made into its own component)</p><h3 id="define/COMBAT_FLAGS_SPRINT_EXEMPT"><aside class="declaration">#define </aside>COMBAT_FLAGS_SPRINT_EXEMPT <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L42"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 42"></a></h3><p>Default combat flags for everyone else (so literally everyone but humans).</p><h3 id="define/COMBAT_FLAGS_STAMINA_COMBAT"><aside class="declaration">#define </aside>COMBAT_FLAGS_STAMINA_COMBAT <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L44"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 44"></a></h3><p>Default combat flags for those in stamina combat system</p><h3 id="define/COMBAT_FLAG_ACTIVE_BLOCKING"><aside class="declaration">#define </aside>COMBAT_FLAG_ACTIVE_BLOCKING <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L69"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 69"></a></h3><p>This mob is currently actively blocking</p><h3 id="define/COMBAT_FLAG_ACTIVE_BLOCK_STARTING"><aside class="declaration">#define </aside>COMBAT_FLAG_ACTIVE_BLOCK_STARTING <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L71"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 71"></a></h3><p>This mob is currently starting an active block</p><h3 id="define/COMBAT_FLAG_ATTEMPTING_CRAWL"><aside class="declaration">#define </aside>COMBAT_FLAG_ATTEMPTING_CRAWL <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L51"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 51"></a></h3><p>Currently attempting to crawl under someone</p><h3 id="define/COMBAT_FLAG_BLOCK_CAPABLE"><aside class="declaration">#define </aside>COMBAT_FLAG_BLOCK_CAPABLE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L65"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 65"></a></h3><p>This mob is capable of using the active blocking system.</p><h3 id="define/COMBAT_FLAG_HARD_STAMCRIT"><aside class="declaration">#define </aside>COMBAT_FLAG_HARD_STAMCRIT <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L53"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 53"></a></h3><p>Currently stamcritted</p><h3 id="define/COMBAT_FLAG_INTENTIONALLY_RESTING"><aside class="declaration">#define </aside>COMBAT_FLAG_INTENTIONALLY_RESTING <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L57"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 57"></a></h3><p>Intentionally resting</p><h3 id="define/COMBAT_FLAG_PARRY_CAPABLE"><aside class="declaration">#define </aside>COMBAT_FLAG_PARRY_CAPABLE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L63"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 63"></a></h3><p>This mob is capable of using the active parrying system.</p><h3 id="define/COMBAT_FLAG_RESISTING_REST"><aside class="declaration">#define </aside>COMBAT_FLAG_RESISTING_REST <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L55"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 55"></a></h3><p>Currently attempting to resist up from the ground</p><h3 id="define/COMBAT_FLAG_SPRINT_ACTIVE"><aside class="declaration">#define </aside>COMBAT_FLAG_SPRINT_ACTIVE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L49"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 49"></a></h3><p>Sprint is currently active</p><h3 id="define/COMBAT_FLAG_SPRINT_FORCED"><aside class="declaration">#define </aside>COMBAT_FLAG_SPRINT_FORCED <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L61"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 61"></a></h3><p>Force sprint mode on at all times, overrides everything including sprint disable traits.</p><h3 id="define/COMBAT_FLAG_SPRINT_TOGGLED"><aside class="declaration">#define </aside>COMBAT_FLAG_SPRINT_TOGGLED <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L47"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 47"></a></h3><p>The user wants sprint mode on</p><h3 id="define/COMBAT_FLAG_STAMINA_BUFFER"><aside class="declaration">#define </aside>COMBAT_FLAG_STAMINA_BUFFER <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L59"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 59"></a></h3><p>This mob requires stamina buffer to do things that require stamina buffer. Not having this exempts the mob from stamina combat.</p><h3 id="define/COMBAT_FLAG_UNARMED_PARRY"><aside class="declaration">#define </aside>COMBAT_FLAG_UNARMED_PARRY <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L67"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 67"></a></h3><p>This mob is capable of unarmed parrying</p><h3 id="define/FAT_DAMAGE_TO_FATNESS"><aside class="declaration">#define </aside>FAT_DAMAGE_TO_FATNESS <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L282"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 282"></a></h3><p>What is the rate that one damage is converted to fatness?</p><h3 id="define/FEEBLE_ATTACK_MSG_THRESHOLD"><aside class="declaration">#define </aside>FEEBLE_ATTACK_MSG_THRESHOLD <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L276"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 276"></a></h3><p>should the current-attack-damage be lower than the item force multiplied by this value,
a &quot;inefficiently&quot; prefix will be added to the message.</p><h3 id="define/GUN_AIMING_TIME"><aside class="declaration">#define </aside>GUN_AIMING_TIME <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L207"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 207"></a></h3><p>Time to spend without clicking on other things required for your shots to become accurate.</p><h3 id="define/SHOVE_OFFBALANCE_DURATION"><aside class="declaration">#define </aside>SHOVE_OFFBALANCE_DURATION <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L161"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 161"></a></h3><p>how long they're off balance for</p><h3 id="define/SHOVE_STAGGER_DURATION"><aside class="declaration">#define </aside>SHOVE_STAGGER_DURATION <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L159"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 159"></a></h3><p>how long they're staggered for</p><h3 id="define/STAMINA_CRIT"><aside class="declaration">#define </aside>STAMINA_CRIT <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L83"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 83"></a></h3><p>crit for stamina damage. forces a rest, and stops movement until stamina goes back to stamina softcrit</p><h3 id="define/STAMINA_CRIT_REMOVAL_THRESHOLD"><aside class="declaration">#define </aside>STAMINA_CRIT_REMOVAL_THRESHOLD <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L85"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 85"></a></h3><p>Threshold for leaving stamina critical</p><h3 id="define/STAMINA_NO_OVERDRAW_THRESHOLD"><aside class="declaration">#define </aside>STAMINA_NO_OVERDRAW_THRESHOLD <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L87"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 87"></a></h3><p>Threshold under for which you are unable to draw from stamina health to replace stamina buffer</p><h3 id="define/SUPPRESSED_QUIET"><aside class="declaration">#define </aside>SUPPRESSED_QUIET <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L200"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 200"></a></h3><p>standard suppressed</p><h3 id="define/SUPPRESSED_VERY"><aside class="declaration">#define </aside>SUPPRESSED_VERY <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/combat.dm#L201"><img src="git.png" width="16" height="16" title="code/__DEFINES/combat.dm 201"></a></h3><p>no message</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>