seta cl_vore_swallowmodel 1 "when enabled, we see the swallow model around us while getting eaten. -1 = disabled, 1 = enabled, anything between = alpha"\r
seta cl_vore_cutvolume_sound 0.25 "sound volume is reduced by this amount when you are in a stomach or being swallowed"\r
seta cl_vore_cutvolume_music 0.85 "music volume is reduced by this amount when you are in a stomach or being swallowed"\r
-seta cl_vore_autodigest 0 "when enabled, the player will automatically begin digesting enemy prey after eating them, as long as no team mates are inside (automated digest key)"\r
+seta cl_vore_autodigest 1 "when enabled, the player will automatically begin digesting stuff as long as no team mates are inside. 0 = disabled, 1 = items, 2 = items & players"\r
seta cl_vore_vieweffects_idlescale_predator 35 "the view will move around by this ammount while swallowing someone (based on progress), reserves the cvar v_idlescale"\r
seta cl_vore_vieweffects_idlescale_prey 50 "the view will move around by this ammount while being swallowed (based on progress), reserves the cvar v_idlescale"\r
seta cl_vore_vieweffects_idlescale_stomach 15 "the view will move around by this ammount while in the stomach, reserves the cvar v_idlescale"\r
me.TD(me, 1, 3, e = makeVoretCheckBoxEx(2, 0, "cl_showpressedkeys", "Show pressed keys"));\r
me.TR(me);\r
me.TR(me);\r
- me.TD(me, 1, 3, e = makeVoretCheckBox(0, "cl_vore_autodigest", "Automatic digestion"));\r
+ me.TD(me, 1, 1, e = makeVoretTextLabel(0, "Automatic digestion:"));\r
+ me.TD(me, 1, 2, e = makeVoretTextSlider("cl_vore_autodigest"));\r
+ e.addValue(e, "Disabled", "0");\r
+ e.addValue(e, "Items", "1");\r
+ e.addValue(e, "Items & Players", "2");\r
+ e.configureVoretTextSliderValues(e);\r
}\r
#endif\r
pl.punchangle_x -= cvar("g_balance_vore_swallow_predator_punchangle_item");\r
pl.regurgitate_prepare = 0;\r
pl.action_delay = time + cvar("g_balance_vore_action_delay");\r
- Vore_AutoDigest(pl);\r
+ if(pl.cvar_cl_vore_autodigest > 0)\r
+ Vore_AutoDigest(pl);\r
}\r
\r
void Item_DroppedConsumable_Touch()\r
e.predator.regurgitate_prepare = 0;\r
e.predator.spawnshieldtime = 0; // lose spawn shield when we vore\r
e.predator.hitsound += 1; // play this for team mates too, as we could be swallowing them to heal them\r
- Vore_AutoDigest(e.predator);\r
Vore_SetPreyPositions(e.predator);\r
+ if(e.predator.cvar_cl_vore_autodigest > 1)\r
+ Vore_AutoDigest(e.predator);\r
\r
// block firing for a small amount of time, or we'll be firing the next frame after we swallow\r
e.predator.weapon_delay = time + button_delay_time;\r