code/__DEFINES/projectiles.dm
PROJECTILE_PIERCE_NONE | Default behavior: hit and delete self |
---|---|
PROJECTILE_PIERCE_HIT | Hit the thing but go through without deleting. Causes on_hit to be called with pierced = TRUE |
PROJECTILE_PIERCE_PHASE | Entirely phase through the thing without ever hitting. |
PROJECTILE_RICOCHET_YES | This atom should be ricocheted off of from its inherent properties using standard % chance handling. |
PROJECTILE_RICOCHET_NO | This atom should not be ricocheted off of from its inherent properties. |
PROJECTILE_RICOCHET_PREVENT | This atom should prevent any kind of projectile ricochet from its inherent properties. |
PROJECTILE_RICOCHET_FORCE | This atom should force a projectile ricochet from its inherent properties. |
Define Details
PROJECTILE_PIERCE_HIT
Hit the thing but go through without deleting. Causes on_hit to be called with pierced = TRUE
PROJECTILE_PIERCE_NONE
Default behavior: hit and delete self
PROJECTILE_PIERCE_PHASE
Entirely phase through the thing without ever hitting.
PROJECTILE_RICOCHET_FORCE
This atom should force a projectile ricochet from its inherent properties.
PROJECTILE_RICOCHET_NO
This atom should not be ricocheted off of from its inherent properties.
PROJECTILE_RICOCHET_PREVENT
This atom should prevent any kind of projectile ricochet from its inherent properties.
PROJECTILE_RICOCHET_YES
This atom should be ricocheted off of from its inherent properties using standard % chance handling.