]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Rename cvar from fulldigest to keepdeadprey
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 27 Feb 2011 20:44:41 +0000 (22:44 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 27 Feb 2011 20:44:41 +0000 (22:44 +0200)
data/defaultVoretournament.cfg
data/qcsrc/server/vore.qc

index c7a47fb65454925b1b12260aecf0ca29b5354390..c29874265d2d019ad12634d49b738a9749920b5e 100644 (file)
@@ -1529,7 +1529,7 @@ set g_vore_soundocclusion 0.25 "directional player sounds are cut to this amount
 set g_vore_regurgitatecolor_release "0.4 0.6 0.1" "the color players will have when regurgitated alive"\r
 set g_vore_regurgitatecolor_release_fade 0.01 "how quickly the regurgitation color washes off players once they leave the stomach"\r
 set g_vore_regurgitatecolor_digest "0.15 0.25 0" "the color players will have when digested"\r
-set g_vore_fulldigest 1 "If enabled, prey remains inside the stomach after dying from digestion, else the predator throws up their dead body"\r
+set g_vore_keepdeadprey 1 "If enabled, prey remains inside the stomach after dying from digestion, else the predator throws up their dead body"\r
 \r
 // part of an ugly hack for the menu audio sliders to work with the cutsound feature\r
 set menu_volume $volume\r
index 9706b5fcabf431e60e1aa7d4de2f65463e7be918..eab85fbfd11f4165d1b16068abf5f697d438cf0b 100644 (file)
@@ -229,7 +229,7 @@ void Vore_Regurgitate(entity e)
 \r
 void Vore_DeadPrey_Configure(entity e)\r
 {\r
-       // ran when the fulldigest feature is enabled and prey stays inside the stomach after dying\r
+       // ran when the keepdeadprey feature is enabled and prey stays inside the stomach after dying\r
 \r
        if(e.fakeprey || e.predator.classname != "player") // already configured\r
                return;\r
@@ -259,7 +259,7 @@ void Vore_DeadPrey_Detach(entity e)
        // ran when dead prey must be detached from the stomach (eg: they are respawning)\r
        // should only execute after Vore_DeadPrey_Configure has ran first\r
 \r
-       if not(cvar("g_vore_fulldigest"))\r
+       if not(cvar("g_vore_keepdeadprey"))\r
                return;\r
 \r
        e.fakepredator = world;\r
@@ -271,12 +271,12 @@ void Vore_DeadPrey_Detach(entity e)
 \r
 void Vore_PreyRelease(entity e)\r
 {\r
-       // if the fulldigest feature is on, don't spit a dead prey's carcass out\r
-       if(e.health <= 0 && cvar("g_vore_fulldigest"))\r
+       // if the keepdeadprey feature is on, don't spit a dead prey's carcass out\r
+       if(e.health <= 0 && cvar("g_vore_keepdeadprey"))\r
        {\r
                Vore_DeadPrey_Configure(e);\r
 \r
-               // if fulldigest is enabled and the predator disconnected, detach the dead prey\r
+               // if keepdeadprey is enabled and the predator disconnected, detach the dead prey\r
                if(e.fakepredator.classname != "player")\r
                        Vore_DeadPrey_Detach(e);\r
        }\r
@@ -514,7 +514,7 @@ void Vore()
 // Code that addresses the prey:\r
 // --------------------------------\r
 \r
-       // fulldigest - detach dead prey if their predator died or got swallowed\r
+       // keepdeadprey - detach dead prey if their predator died or got swallowed\r
        if(self.fakepredator.classname == "player")\r
        if(self.fakepredator.deadflag != DEAD_NO || self.fakepredator.predator.classname == "player")\r
                Vore_DeadPrey_Detach(self);\r