From a85b92ffd0d581ffa7ecd4e8c17bd4fb070ee2d8 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sat, 19 Nov 2011 14:08:49 +0200 Subject: [PATCH] Tweak predator definition for swallowing items --- data/qcsrc/server/t_items.qc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/data/qcsrc/server/t_items.qc b/data/qcsrc/server/t_items.qc index 2ea388a3..8932a2e1 100644 --- a/data/qcsrc/server/t_items.qc +++ b/data/qcsrc/server/t_items.qc @@ -285,11 +285,12 @@ void Item_Consumable_Spawn(entity e, entity pl) item.nextthink = time; // predator effects, some common to those in Vore_Swallow - PlayerSound(e.predator, playersound_swallow, CHAN_VOICE, VOICETYPE_PLAYERSOUND); - setanim(e.predator, e.predator.anim_pain1, FALSE, TRUE, TRUE); // looks good for swallowing / regurgitating - e.predator.punchangle_x -= cvar("g_balance_vore_swallow_predator_punchangle_item"); - e.predator.regurgitate_prepare = 0; - Vore_AutoDigest(e.predator); + PlayerSound(pl, playersound_swallow, CHAN_VOICE, VOICETYPE_PLAYERSOUND); + setanim(pl, pl.anim_pain1, FALSE, TRUE, TRUE); // looks good for swallowing / regurgitating + pl.punchangle_x -= cvar("g_balance_vore_swallow_predator_punchangle_item"); + pl.regurgitate_prepare = 0; + pl.action_delay = time + cvar("g_balance_vore_action_delay"); + Vore_AutoDigest(pl); } float Item_GiveTo(entity item, entity player) -- 2.39.2