]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/items/item/ammo.qc
c1f0012beeba1f25215051d413b6e2b2c2ab7ad7
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / item / ammo.qc
1 #include "ammo.qh"
2 #ifdef SVQC
3     #include "../../t_items.qh"
4 #endif
5
6 #ifndef MENUQC
7 MODEL(Bullets_ITEM, Item_Model("a_bullets.mdl"));
8 #endif
9
10 REGISTER_ITEM(Bullets, Ammo) {
11 #ifndef MENUQC
12     this.m_model    =   MDL_Bullets_ITEM;
13 #endif
14     this.m_name     =   "bullets";
15     this.m_icon     =   "ammo_bullets";
16 #ifdef SVQC
17     this.m_botvalue =   2000;
18     this.m_itemid   =   IT_NAILS;
19 #endif
20 }
21
22 #ifndef MENUQC
23 MODEL(Cells_ITEM, Item_Model("a_cells.md3"));
24 #endif
25
26 REGISTER_ITEM(Cells, Ammo) {
27 #ifndef MENUQC
28     this.m_model    =   MDL_Cells_ITEM;
29 #endif
30     this.m_name     =   "cells";
31     this.m_icon     =   "ammo_cells";
32 #ifdef SVQC
33     this.m_botvalue =   2000;
34     this.m_itemid   =   IT_CELLS;
35 #endif
36 }
37
38 #ifndef MENUQC
39 MODEL(Plasma_ITEM, Item_Model("a_cells.md3"));
40 #endif
41
42 REGISTER_ITEM(Plasma, Ammo) {
43 #ifndef MENUQC
44     this.m_model    =   MDL_Plasma_ITEM;
45 #endif
46     this.m_name     =   "plasma";
47     this.m_icon     =   "ammo_plasma";
48 #ifdef SVQC
49     this.m_botvalue =   2000;
50     this.m_itemid   =   IT_PLASMA;
51 #endif
52 }
53
54 #ifndef MENUQC
55 MODEL(Rockets_ITEM, Item_Model("a_rockets.md3"));
56 #endif
57
58 REGISTER_ITEM(Rockets, Ammo) {
59 #ifndef MENUQC
60     this.m_model    =   MDL_Rockets_ITEM;
61 #endif
62     this.m_name     =   "rockets";
63     this.m_icon     =   "ammo_rockets";
64 #ifdef SVQC
65     this.m_botvalue =   3000;
66     this.m_itemid   =   IT_ROCKETS;
67 #endif
68 }
69
70 #ifndef MENUQC
71 MODEL(Shells_ITEM, Item_Model("a_shells.md3"));
72 #endif
73
74 REGISTER_ITEM(Shells, Ammo) {
75 #ifndef MENUQC
76     this.m_model    =   MDL_Shells_ITEM;
77 #endif
78     this.m_name     =   "shells";
79     this.m_icon     =   "ammo_shells";
80 #ifdef SVQC
81     this.m_botvalue =   500;
82     this.m_itemid   =   IT_SHELLS;
83 #endif
84 }