]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
"No start weapon" mutator
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 6 Sep 2010 16:50:49 +0000 (19:50 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 6 Sep 2010 16:50:49 +0000 (19:50 +0300)
data/qcsrc/menu/voret/dialog_multiplayer_create_mutators.c
data/qcsrc/server/teamplay.qc

index fcb2bd3ec5b0759b62270c4a270d23228029863c..7d94adb68fd18cc63c3c0bba4f667e6f62450362 100644 (file)
@@ -7,7 +7,7 @@ CLASS(VoretMutatorsDialog) EXTENDS(VoretDialog)
        ATTRIB(VoretMutatorsDialog, title, string, "Mutators")\r
        ATTRIB(VoretMutatorsDialog, color, vector, SKINCOLOR_DIALOG_MUTATORS)\r
        ATTRIB(VoretMutatorsDialog, intendedWidth, float, 0.3)\r
-       ATTRIB(VoretMutatorsDialog, rows, float, 17)\r
+       ATTRIB(VoretMutatorsDialog, rows, float, 18)\r
        ATTRIB(VoretMutatorsDialog, columns, float, 2)\r
        ATTRIB(VoretMutatorsDialog, refilterEntity, entity, NULL)\r
 ENDCLASS(VoretMutatorsDialog)\r
@@ -37,6 +37,8 @@ string toStringVoretMutatorsDialog(entity me)
                s = strcat(s, ", Bloodloss");\r
        if(cvar("g_jetpack"))\r
                s = strcat(s, ", Jet pack");\r
+       if(!cvar("g_start_weapon_grabber"))\r
+               s = strcat(s, ", No start weapon");\r
        if(cvar("g_balance_vore_weight_gravity") < 0)\r
                s = strcat(s, ", Lighten");\r
        if(cvar("g_balance_vore_digestion_damage") >= 1000)\r
@@ -87,6 +89,9 @@ void fillVoretMutatorsDialog(entity me)
        me.TR(me);\r
                me.TDempty(me, 0.2);\r
                me.TD(me, 1, 2, e = makeVoretCheckBoxEx(2, 0, "g_weapon_stay", "Weapons stay"));\r
+       me.TR(me);\r
+               me.TDempty(me, 0.2);\r
+               me.TD(me, 1, 2, e = makeVoretCheckBoxEx(0, -1, "g_start_weapon_grabber", "No start weapon"));\r
        me.TR(me);\r
        me.TR(me);\r
                me.TD(me, 1, 2, makeVoretTextLabel(0, "Vore mutators:"));\r
index d693a38fe03d9492c130d4d4b8d2d7b025eafa8e..1fc113c63012310a70cf482145210de2ae0e8a47 100644 (file)
@@ -487,6 +487,8 @@ void PrintWelcomeMessage(entity pl)
                modifications = strcat(modifications, ", Bloodloss");\r
        if(g_jetpack)\r
                modifications = strcat(modifications, ", Jet pack");\r
+       if(!cvar("g_start_weapon_grabber"))\r
+               modifications = strcat(modifications, ", No start weapon");\r
        if(cvar("g_balance_vore_weight_gravity") < 0)\r
                modifications = strcat(modifications, ", Lighten");\r
        if(cvar("g_balance_vore_digestion_damage") >= 1000)\r