]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Apply swallow delay after regurgitation too
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 3 Sep 2010 14:05:28 +0000 (17:05 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 3 Sep 2010 14:05:28 +0000 (17:05 +0300)
data/balance.cfg
data/qcsrc/server/vore.qc

index ce227e2441c0c61cdb32486fb595b315c762fead..41c44ce0d53458ab27d9ee5e6681409e97cf070c 100644 (file)
@@ -181,7 +181,7 @@ set g_balance_grabber_secondary_radius 75
 // {{{ stomach\r
 set g_balance_vore_swallow_range 50 "distance at which you can swallow another player when facing them"\r
 set g_balance_vore_swallow_limit 3 "how many players can fit inside a stomach, should not be greater than 3 due to the number of stomach states for player models"\r
-set g_balance_vore_swallow_delay 0.5 "how many seconds must pass before you can swallow someone again"\r
+set g_balance_vore_swallow_delay 0.5 "how many seconds must pass before you can swallow someone, after having swallowed or regurgitated another player"\r
 set g_balance_vore_regurgitate_delay 0.135 "regurgitation delay"\r
 set g_balance_vore_regurgitate_velocitylimit 1200 "when a predator is going faster than this, the prey is squeezed out of them"\r
 set g_balance_vore_regurgitate_force 500 "regurgitated players rocket out at this speed when released"\r
index c8149aeb26ca9f6a7870c2648c24ca85445825df..855bf0f7a9147f163e69a5c76028f22b49ea7fd1 100644 (file)
@@ -123,6 +123,7 @@ void Vore_Regurgitate(entity e)
        pointparticles(particleeffectnum("regurgitate"), e.eater.origin, '0 0 0', 1);\r
        e.eater.stomach_load -= 1;\r
        e.eater.regurgitate_prepare = 0;\r
+       e.eater.swallow_delay = time + cvar("g_balance_vore_swallow_delay");\r
        Vore_Weight_apply(e.eater);\r
        e.eater = world;\r
 }\r