This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Description
I had a thought that it would make sense for objects to become more prone to gib by impulse the more wounds they have.
This would probably work best with a scalar value that defines how much the GibImpulseLimit is diminished by the wounds-per-wound-limit ratio. The default scalar could be something like 0.5 or less.
Here's the functionality (gibbing conditions) in pseudocode/lua, where MO.GibImpulseLimitWoundScalar is the suggested new property that defines the effect of wounds on the impulse limit:
...
local scalar = MO.GibWoundLimit > 0 and (1 - math.min(MO.GibImpulseLimitWoundScalar * MO.WoundCount/MO.GibWoundLimit, 1)) or 1;
if MO.Impulse > MO.GibImpulseLimit * scalar then
...
Taking better suggestions for the property name!