set g_balance_vore_digestion_damage_death 2 "amplify digestion damage by this amount when the prey is dead"\r
set g_balance_vore_digestion_limit -100 "prey can be digested down to this amount of health"\r
set g_balance_vore_digestion_limit_regurgitate 1 "the predator automatically regurgitates prey that has reached the digestion limit"\r
+set g_balance_vore_digestion_limit_blockrespawn 1 "dead prey cannot respawn if it's still being digested"\r
set g_balance_vore_digestion_vampire 1 "amount of health you gain from digestion"\r
set g_balance_vore_digestion_vampire_stable 150 "maximum amount of health you can gain from digestion (best kept equal or less than g_balance_health_rotstable)"\r
set g_balance_vore_digestion_distribute 1 "if enabled, digestion is reduced by the amount of prey you have. eg: having 2 prey will reduce digestion strength by 2"\r
.float oldcolormap;\r
void respawn(void)\r
{\r
+ // don't allow respawing if the prey is still digesting\r
+ if(cvar("g_balance_vore_digestion_limit_blockrespawn"))\r
+ if(self.predator.digesting && self.health > cvar("g_balance_vore_digestion_limit"))\r
+ return;\r
+\r
if(self.alpha >= 0 && self.modelindex != 0 && cvar("g_respawn_ghosts"))\r
{\r
self.solid = SOLID_NOT;\r