]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/vore.qc
Don't allow players to swallow anyone larger than them by default. This means you...
[voretournament/voretournament.git] / data / qcsrc / server / vore.qc
index 871b199a6d09bf5c8404e30c1ecadd5faa4e5e46..4adbd900e443396e1710e16780f118823e24f78d 100644 (file)
@@ -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");\r
                else if(cvar("g_vore_biggergut") && prey.stomach_load > self.stomach_load)\r
                        swallow_complain = "You cannot swallow someone with a bigger stomach than yours\n";\r
+               else if(cvar("g_vore_biggersize") && prey.scale > self.scale)\r
+                       swallow_complain = "You cannot swallow someone larger than you\n";\r
 \r
                if(swallow_complain != "")\r
                {\r