var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
float GetResource(entity e, Resource res_type)
Returns the current amount of resource the given entity has.
bool SetResourceExplicit(entity e, Resource res_type, float amount)
Sets the resource amount of an entity without calling any hooks.
string m_canonical_spawnfunc
ATTRIB(Pickup, m_model, Model)
#define SPAWNFUNC_ITEM(name, item)
@ ITEM_FLAG_MUTATORBLOCKED
@ ITEM_FLAG_NORMAL
Item is usable during normal gameplay.
string Item_Model(string item_mdl)
#define REGISTER_ITEM(id, inst)
void powerup_jetpack_init(Pickup def, entity item)
bool autocvar_g_powerups_jetpack
int autocvar_g_pickup_fuel_jetpack
#define MODEL(name, path)
float ammo_pickupevalfunc(entity player, entity item)
Header file that describes the resource system.