#pragma once
+#include <common/resources/resources.qh>
#include <common/sounds/sound.qh>
float autocvar_g_balance_superweapons_time;
/// \return No return.
void GiveRandomWeapons(entity receiver, int num_weapons, string weapon_names, entity ammo_entity);
-bool Item_GiveAmmoTo(entity item, entity player, int res_type, float ammomax);
+bool Item_GiveAmmoTo(entity item, entity player, Resource res_type, float ammomax);
bool Item_GiveTo(entity item, entity player);
void Item_Reset(entity this);
void Item_FindTeam(entity this);
-// Savage: used for item garbage-collection
bool ItemSend(entity this, entity to, int sf);
void ItemUpdate(entity this);
void UpdateItemAfterTeleport(entity this);
+void RemoveItem(entity this);
+
// pickup evaluation functions
// these functions decide how desirable an item is to the bots