code/__DEFINES/combat.dm ![code/__DEFINES/combat.dm0](git.png)
COMBAT_FLAGS_DEFAULT | Default combat flags for those affected by sprinting (combat mode has been made into its own component) |
---|---|
COMBAT_FLAGS_SPRINT_EXEMPT | Default combat flags for everyone else (so literally everyone but humans). |
COMBAT_FLAGS_STAMINA_COMBAT | Default combat flags for those in stamina combat system |
COMBAT_FLAG_SPRINT_TOGGLED | The user wants sprint mode on |
COMBAT_FLAG_SPRINT_ACTIVE | Sprint is currently active |
COMBAT_FLAG_ATTEMPTING_CRAWL | Currently attempting to crawl under someone |
COMBAT_FLAG_HARD_STAMCRIT | Currently stamcritted |
COMBAT_FLAG_RESISTING_REST | Currently attempting to resist up from the ground |
COMBAT_FLAG_INTENTIONALLY_RESTING | Intentionally resting |
COMBAT_FLAG_STAMINA_BUFFER | This mob requires stamina buffer to do things that require stamina buffer. Not having this exempts the mob from stamina combat. |
COMBAT_FLAG_SPRINT_FORCED | Force sprint mode on at all times, overrides everything including sprint disable traits. |
COMBAT_FLAG_PARRY_CAPABLE | This mob is capable of using the active parrying system. |
COMBAT_FLAG_BLOCK_CAPABLE | This mob is capable of using the active blocking system. |
COMBAT_FLAG_UNARMED_PARRY | This mob is capable of unarmed parrying |
COMBAT_FLAG_ACTIVE_BLOCKING | This mob is currently actively blocking |
COMBAT_FLAG_ACTIVE_BLOCK_STARTING | This mob is currently starting an active block |
STAMINA_CRIT | crit for stamina damage. forces a rest, and stops movement until stamina goes back to stamina softcrit |
STAMINA_CRIT_REMOVAL_THRESHOLD | Threshold for leaving stamina critical |
STAMINA_NO_OVERDRAW_THRESHOLD | Threshold under for which you are unable to draw from stamina health to replace stamina buffer |
SHOVE_STAGGER_DURATION | how long they're staggered for |
SHOVE_OFFBALANCE_DURATION | how long they're off balance for |
SUPPRESSED_QUIET | standard suppressed |
SUPPRESSED_VERY | no message |
GUN_AIMING_TIME | Time to spend without clicking on other things required for your shots to become accurate. |
AUTOFIRE_STAT_IDLE | Compatible firemode is in the gun. Wait until it's held in the user hands. |
AUTOFIRE_STAT_ALERT | Gun is active and in the user hands. Wait until user does a valid click. |
AUTOFIRE_STAT_FIRING | Gun is shooting. |
FEEBLE_ATTACK_MSG_THRESHOLD | should the current-attack-damage be lower than the item force multiplied by this value, a "inefficiently" prefix will be added to the message. |
Define Details
AUTOFIRE_STAT_ALERT ![code/__DEFINES/combat.dm 214](git.png)
Gun is active and in the user hands. Wait until user does a valid click.
AUTOFIRE_STAT_FIRING ![code/__DEFINES/combat.dm 216](git.png)
Gun is shooting.
AUTOFIRE_STAT_IDLE ![code/__DEFINES/combat.dm 212](git.png)
Compatible firemode is in the gun. Wait until it's held in the user hands.
COMBAT_FLAGS_DEFAULT ![code/__DEFINES/combat.dm 40](git.png)
Default combat flags for those affected by sprinting (combat mode has been made into its own component)
COMBAT_FLAGS_SPRINT_EXEMPT ![code/__DEFINES/combat.dm 42](git.png)
Default combat flags for everyone else (so literally everyone but humans).
COMBAT_FLAGS_STAMINA_COMBAT ![code/__DEFINES/combat.dm 44](git.png)
Default combat flags for those in stamina combat system
COMBAT_FLAG_ACTIVE_BLOCKING ![code/__DEFINES/combat.dm 69](git.png)
This mob is currently actively blocking
COMBAT_FLAG_ACTIVE_BLOCK_STARTING ![code/__DEFINES/combat.dm 71](git.png)
This mob is currently starting an active block
COMBAT_FLAG_ATTEMPTING_CRAWL ![code/__DEFINES/combat.dm 51](git.png)
Currently attempting to crawl under someone
COMBAT_FLAG_BLOCK_CAPABLE ![code/__DEFINES/combat.dm 65](git.png)
This mob is capable of using the active blocking system.
COMBAT_FLAG_HARD_STAMCRIT ![code/__DEFINES/combat.dm 53](git.png)
Currently stamcritted
COMBAT_FLAG_INTENTIONALLY_RESTING ![code/__DEFINES/combat.dm 57](git.png)
Intentionally resting
COMBAT_FLAG_PARRY_CAPABLE ![code/__DEFINES/combat.dm 63](git.png)
This mob is capable of using the active parrying system.
COMBAT_FLAG_RESISTING_REST ![code/__DEFINES/combat.dm 55](git.png)
Currently attempting to resist up from the ground
COMBAT_FLAG_SPRINT_ACTIVE ![code/__DEFINES/combat.dm 49](git.png)
Sprint is currently active
COMBAT_FLAG_SPRINT_FORCED ![code/__DEFINES/combat.dm 61](git.png)
Force sprint mode on at all times, overrides everything including sprint disable traits.
COMBAT_FLAG_SPRINT_TOGGLED ![code/__DEFINES/combat.dm 47](git.png)
The user wants sprint mode on
COMBAT_FLAG_STAMINA_BUFFER ![code/__DEFINES/combat.dm 59](git.png)
This mob requires stamina buffer to do things that require stamina buffer. Not having this exempts the mob from stamina combat.
COMBAT_FLAG_UNARMED_PARRY ![code/__DEFINES/combat.dm 67](git.png)
This mob is capable of unarmed parrying
FEEBLE_ATTACK_MSG_THRESHOLD ![code/__DEFINES/combat.dm 277](git.png)
should the current-attack-damage be lower than the item force multiplied by this value, a "inefficiently" prefix will be added to the message.
GUN_AIMING_TIME ![code/__DEFINES/combat.dm 208](git.png)
Time to spend without clicking on other things required for your shots to become accurate.
SHOVE_OFFBALANCE_DURATION ![code/__DEFINES/combat.dm 162](git.png)
how long they're off balance for
SHOVE_STAGGER_DURATION ![code/__DEFINES/combat.dm 160](git.png)
how long they're staggered for
STAMINA_CRIT ![code/__DEFINES/combat.dm 83](git.png)
crit for stamina damage. forces a rest, and stops movement until stamina goes back to stamina softcrit
STAMINA_CRIT_REMOVAL_THRESHOLD ![code/__DEFINES/combat.dm 85](git.png)
Threshold for leaving stamina critical
STAMINA_NO_OVERDRAW_THRESHOLD ![code/__DEFINES/combat.dm 87](git.png)
Threshold under for which you are unable to draw from stamina health to replace stamina buffer
SUPPRESSED_QUIET ![code/__DEFINES/combat.dm 201](git.png)
standard suppressed
SUPPRESSED_VERY ![code/__DEFINES/combat.dm 202](git.png)
no message