From 65d6ed8678d022983d75f31db0d957e521425c05 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Tue, 3 May 2011 03:42:28 +0300 Subject: [PATCH 1/1] Don't allow players to swallow anyone larger than them by default. This means you can only swallow someone who is lower on health (or same health) than you. --- data/defaultVT.cfg | 1 + data/qcsrc/server/vore.qc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/data/defaultVT.cfg b/data/defaultVT.cfg index 16e9c69f..5d1f0b4e 100644 --- a/data/defaultVT.cfg +++ b/data/defaultVT.cfg @@ -1538,6 +1538,7 @@ set g_vore_spawnshield 0 "when disabled, players with spawn shields cannot be sw set g_vore_reversescoring 0 "reverses vore scoring, and gives digested prey a frag rather than the predator (offer yourself gameplay), does not affect suicides, weapon kills and team kills" set g_vore_teamvore 1 "allow players to swallow their team mates" set g_vore_biggergut 1 "when enabled, a player can't swallow someone with more players in their stomach than them" +set g_vore_biggersize 1 "when enabled, a player can't swallow someone larger than them, when g_healthsize is enabled" set g_vore_showhealth 1 "when enabled, a predator can see their prey's health on the stomach board, and prey can see the health of players he's joining in the stomach" set g_vore_gurglesound 1 "predators make an ambient gurgling sound" set g_vore_soundocclusion 0.25 "directional player sounds are cut to this amount of their initial volume for eaten players (simulates hearing harder from the stomach)" diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index 871b199a..4adbd900 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -47,6 +47,8 @@ float Swallow_condition_check(entity prey) swallow_complain = strcat("You cannot swallow more than ^2", cvar_string("g_balance_vore_swallow_limit"), "^7 players at a time\n"); else if(cvar("g_vore_biggergut") && prey.stomach_load > self.stomach_load) swallow_complain = "You cannot swallow someone with a bigger stomach than yours\n"; + else if(cvar("g_vore_biggersize") && prey.scale > self.scale) + swallow_complain = "You cannot swallow someone larger than you\n"; if(swallow_complain != "") { -- 2.39.2