]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
More descriptive swallow message when out of prey capacity
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 18 Jul 2011 15:54:24 +0000 (18:54 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 18 Jul 2011 15:54:24 +0000 (18:54 +0300)
data/qcsrc/server/vore.qc

index 617fd02a907c90d39e1fa8af45c4a7777148998c..168f27f50eb109402aa3ae1e965408962d03acb3 100644 (file)
@@ -52,7 +52,7 @@ float Swallow_condition_check(entity prey)
                else if(!cvar("g_vore_spawnshield") && prey.spawnshieldtime > time)\r
                        swallow_complain = "You cannot swallow someone protected by the spawn shield\n";\r
                else if(self.stomach_load + prey_mass > self.stomach_maxload)\r
-                       swallow_complain = "You don't have any more room to swallow this player.\n";\r
+                       swallow_complain = strcat("You don't have any room to swallow this player. Their mass is ^3", ftos(prey_mass), "^7 and your remaining capacity is ^3 ", ftos(self.stomach_maxload - self.stomach_load), "\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