[nexuiz-commits] r8569 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jan 25 12:12:20 EST 2010


Author: div0
Date: 2010-01-25 12:12:14 -0500 (Mon, 25 Jan 2010)
New Revision: 8569

Modified:
   trunk/data/qcsrc/server/t_items.qc
Log:
give ALL now gives more than give all does

Modified: trunk/data/qcsrc/server/t_items.qc
===================================================================
--- trunk/data/qcsrc/server/t_items.qc	2010-01-25 17:11:25 UTC (rev 8568)
+++ trunk/data/qcsrc/server/t_items.qc	2010-01-25 17:12:14 UTC (rev 8569)
@@ -1653,6 +1653,10 @@
 			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);



More information about the nexuiz-commits mailing list