code/__DEFINES/projectiles.dm ![code/__DEFINES/projectiles.dm0](git.png)
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 ![code/__DEFINES/projectiles.dm 6](git.png)
Hit the thing but go through without deleting. Causes on_hit to be called with pierced = TRUE
PROJECTILE_PIERCE_NONE ![code/__DEFINES/projectiles.dm 4](git.png)
Default behavior: hit and delete self
PROJECTILE_PIERCE_PHASE ![code/__DEFINES/projectiles.dm 8](git.png)
Entirely phase through the thing without ever hitting.
PROJECTILE_RICOCHET_FORCE ![code/__DEFINES/projectiles.dm 19](git.png)
This atom should force a projectile ricochet from its inherent properties.
PROJECTILE_RICOCHET_NO ![code/__DEFINES/projectiles.dm 15](git.png)
This atom should not be ricocheted off of from its inherent properties.
PROJECTILE_RICOCHET_PREVENT ![code/__DEFINES/projectiles.dm 17](git.png)
This atom should prevent any kind of projectile ricochet from its inherent properties.
PROJECTILE_RICOCHET_YES ![code/__DEFINES/projectiles.dm 13](git.png)
This atom should be ricocheted off of from its inherent properties using standard % chance handling.