]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/items/items.qh
Some more cleanup of defs.qh, use a flag to indicate crouch state instead of a separa...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / items / items.qh
index 825bd2f019d5ff4e2cbd0a4cd4ea71c3369396ec..406f424fa34e9860e5ab1ce3bbbeb99a02ad8634 100644 (file)
@@ -1,5 +1,7 @@
 #pragma once
 
+#include <common/sounds/sound.qh>
+
 void StartItem(entity this, entity a);
 .int item_group;
 .int item_group_count;
@@ -16,6 +18,9 @@ const float ITEM_RESPAWN_TICKS = 10;
 
 .float item_respawncounter;
 
+// delay before this item can be picked up
+.float item_spawnshieldtime;
+
 void Item_Show (entity e, int mode);
 
 void Item_Respawn (entity this);