]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/items/item/ammo.qc
Merge branch 'master' into Mario/vehicles
[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     this.m_ammoPic  =   "ammo_bullets";
10 #ifdef SVQC
11     this.m_botvalue =   2000;
12     this.m_itemid   =   IT_NAILS;
13 #endif
14 }
15 REGISTER_ITEM(Cells, Ammo) {
16     this.m_model    =   "models/items/a_cells.md3";
17     this.m_name     =   "cells";
18     this.m_ammoPic  =   "ammo_cells";
19 #ifdef SVQC
20     this.m_botvalue =   2000;
21     this.m_itemid   =   IT_CELLS;
22 #endif
23 }
24 REGISTER_ITEM(Plasma, Ammo) {
25     this.m_model    =   "models/items/a_cells.md3";
26     this.m_name     =   "plasma";
27     this.m_ammoPic  =   "ammo_cells";
28 #ifdef SVQC
29     this.m_botvalue =   2000;
30     this.m_itemid   =   IT_PLASMA;
31 #endif
32 }
33 REGISTER_ITEM(Rockets, Ammo) {
34     this.m_model    =   "models/items/a_rockets.md3";
35     this.m_name     =   "rockets";
36     this.m_ammoPic  =   "ammo_rockets";
37 #ifdef SVQC
38     this.m_botvalue =   3000;
39     this.m_itemid   =   IT_ROCKETS;
40 #endif
41 }
42 REGISTER_ITEM(Shells, Ammo) {
43     this.m_model    =   "models/items/a_shells.md3";
44     this.m_name     =   "shells";
45     this.m_ammoPic  =   "ammo_shells";
46 #ifdef SVQC
47     this.m_botvalue =   500;
48     this.m_itemid   =   IT_SHELLS;
49 #endif
50 }