give ALL now gives more than give all does
authordiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Mon, 25 Jan 2010 17:12:14 +0000 (17:12 +0000)
committerdiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Mon, 25 Jan 2010 17:12:14 +0000 (17:12 +0000)
git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8569 f962a42d-fe04-0410-a3ab-8c8b0445ebaa

data/qcsrc/server/t_items.qc

index beb479c..92e8f28 100644 (file)
@@ -1653,6 +1653,10 @@ float GiveItems(entity e, float beginarg, float endarg)
                        case "minus":
                                op = OP_MINUS;
                                continue;
+                       case "ALL":
+                               got += GiveBit(e, items, IT_FUEL_REGEN, op, val, "misc/itempickup.wav", string_null);
+                               got += GiveValue(e, strength_finished, op, time + val, "misc/powerup.wav", "misc/poweroff.wav");
+                               got += GiveValue(e, invincible_finished, op, time + val, "misc/powerup_shield.wav", "misc/poweroff.wav");
                        case "all":
                                got += GiveBit(e, items, IT_UNLIMITED_AMMO | IT_JETPACK, op, val, "misc/powerup.wav", "misc/poweroff.wav");
                                got += GiveValue(e, ammo_cells, op, val, "misc/itempickup.wav", string_null);