]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/items.qh
Started random items mutator.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / items.qh
1 /// \file
2 /// \brief Header file that describes the functions related to game items.
3 /// \copyright GNU GPLv2 or any later version.
4
5 #pragma once
6
7 /// \brief Returns whether item is loot.
8 /// \param[in] item Item to check.
9 /// \return True if item is loot, false otherwise.
10 bool Item_IsLoot(entity item);
11
12 /// \brief Sets the item loot status.
13 /// \param[in,out] item Item to adjust.
14 /// \param[in] loot Whether item is loot.
15 /// \return No return.
16 void Item_SetLoot(entity item, bool loot);