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
set g_balance_vore_digestion_scalediff 0.5 "if enabled, digestion damage is affected by the size of the predator compared to the size of the prey by this amount"\r
+set g_balance_vore_digestion_shrinkdeadprey 1 "if g_balance_vore_digestion_limit is smaller than 0, prey will be scaled down the closer it gets to digestion limit"\r
set g_balance_vore_teamheal 1 "when enabled, having a team mate in your stomach will keep healing them by this amount"\r
set g_balance_vore_teamheal_stable 150 "maximum amount of health you can gain from a teamheal (best kept equal or less than g_balance_health_rotstable)"
set g_balance_vore_kick_damage 30 "amount of damage you can do during stomach kick"
}\r
}\r
\r
- if(cvar("g_balance_vore_digestion_limit") < 0 && self.deadflag != DEAD_NO && self.stat_eaten)\r
+ if(cvar("g_balance_vore_digestion_shrinkdeadprey") && cvar("g_balance_vore_digestion_limit") < 0)\r
+ if(self.deadflag != DEAD_NO && self.stat_eaten)\r
{\r
// dead prey must shrink toward zero as they digest, until they reach digestion limit\r
self.scale *= 1 - bound(0, self.health / cvar("g_balance_vore_digestion_limit"), 1);\r