diff --git a/lua/zcnpci/modules/falling_legs.lua b/lua/zcnpci/modules/falling_legs.lua index 40c60f9..25ce3c2 100644 --- a/lua/zcnpci/modules/falling_legs.lua +++ b/lua/zcnpci/modules/falling_legs.lua @@ -398,7 +398,13 @@ function MODULE:PhysicsSimulate(phys, dt) -- If the NPC is dead, they probably aren't coming back; don't bother bringing them back to life self:Remove() return false -- Cut the bullshit - elseif (target.organism.consciousness <= 0.5) or ((target.organism.lleg >= 0.85) and (target.organism.rleg >= 0.85)) then + elseif ( + (target.organism.consciousness <= 0.4) or + ((target.organism.lleg >= 0.85) and (target.organism.rleg >= 0.85)) or + (target.organism.spine1 == 1) or + (target.organism.spine2 == 1) or + (target.organism.spine3 == 1) + ) then target.StartDie = cur_time return false end diff --git a/lua/zcnpci/modules/falling_torso.lua b/lua/zcnpci/modules/falling_torso.lua index 60a4e7a..bf89e80 100644 --- a/lua/zcnpci/modules/falling_torso.lua +++ b/lua/zcnpci/modules/falling_torso.lua @@ -208,7 +208,11 @@ function MODULE:PhysicsSimulate(phys, dt) -- If the NPC is dead, they probably aren't coming back; don't bother bringing them back to life self:Remove() return false -- Cut the bullshit - elseif (target.organism.consciousness <= 0.3) then + elseif ( + (target.organism.consciousness <= 0.4) or + (target.organism.spine2 == 1) or + (target.organism.spine3 == 1) + ) then return false end