]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/items/item/ammo.qh
4ff7babfb03aff41e83e1d926ab516bab44b5a0c
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / item / ammo.qh
1 #ifndef AMMO_H
2 #define AMMO_H
3 #include "../item.qh"
4 CLASS(Ammo, GameItem)
5     METHOD(Ammo, respondTo, bool(entity, int))
6     ATTRIB(Ammo, ammoModel, string, string_null)
7     ATTRIB(Ammo, ammoSound, string, string_null)
8     ATTRIB(Ammo, ammoName, string, string_null)
9     ATTRIB(Ammo, ammoId, int, 0)
10     ATTRIB(Ammo, ammoQuantity, int, 0)
11 ENDCLASS(Ammo)
12 #endif