]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/items/item/ammo.qc
Merge branch 'master' into terencehill/itemstime
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / item / ammo.qc
1 #include "ammo.qh"
2 #ifdef SVQC
3     #include "../../../server/t_items.qh"
4 #endif
5
6 REGISTER_ITEM(Bullets, Ammo) {
7     this.m_model    =   "models/items/a_bullets.mdl";
8     this.m_name     =   "bullets";
9 #ifdef SVQC
10     this.m_botvalue =   2000;
11     this.m_itemid   =   IT_NAILS;
12 #endif
13 }
14 REGISTER_ITEM(Cells, Ammo) {
15     this.m_model    =   "models/items/a_cells.md3";
16     this.m_name     =   "cells";
17 #ifdef SVQC
18     this.m_botvalue =   2000;
19     this.m_itemid   =   IT_CELLS;
20 #endif
21 }
22 REGISTER_ITEM(Plasma, Ammo) {
23     this.m_model    =   "models/items/a_cells.md3";
24     this.m_name     =   "plasma";
25 #ifdef SVQC
26     this.m_botvalue =   2000;
27     this.m_itemid   =   IT_PLASMA;
28 #endif
29 }
30 REGISTER_ITEM(Rockets, Ammo) {
31     this.m_model    =   "models/items/a_rockets.md3";
32     this.m_name     =   "rockets";
33 #ifdef SVQC
34     this.m_botvalue =   3000;
35     this.m_itemid   =   IT_ROCKETS;
36 #endif
37 }
38 REGISTER_ITEM(Shells, Ammo) {
39     this.m_model    =   "models/items/a_shells.md3";
40     this.m_name     =   "shells";
41 #ifdef SVQC
42     this.m_botvalue =   500;
43     this.m_itemid   =   IT_SHELLS;
44 #endif
45 }