Note that piercing targets, even if they are not killed, should be the correct behavior according to ProjectilePrototype documentation:
Steps to reproducepiercing_damage
Whenever an entity is hit by the projectile, this number gets reduced by the health of the entity. If the number is then below 0, the final_action is applied and the projectile destroyed. Otherwise, the projectile simply continues to its destination.
- Install the attached mod (piercing-damage-bug-report_0.1.0.zip)
- Load the attached save file (piercing-damage-bug-report-save.zip)
- Shoot the gun equipped by the player at any entity with health (trees, biters, etc.). Note that the ammo equipped by the player is not vanilla shotgun ammo, but the special ammo added by the mod.
Observed behavior: if the projectile doesn't kill the hit entity, the projectile instantly disappears (projectiles which kill the hit entity continue flying as expected).