]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/items/item/powerup.qc
Merge branch 'master' into terencehill/tooltips_cleanup
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / item / powerup.qc
1 #include "powerup.qh"
2
3 #ifndef SVQC
4 .int m_itemid;
5 #endif
6
7 #ifndef MENUQC
8 MODEL(Strength_ITEM, Item_Model("g_strength.md3"));
9 #endif
10
11 REGISTER_ITEM(Strength, Powerup) {
12 #ifndef MENUQC
13     this.m_model            =   MDL_Strength_ITEM;
14 #endif
15     this.m_sound            =   "misc/powerup.wav";
16     this.m_name             =   "Strength Powerup";
17     this.m_icon             =   "strength";
18     this.m_color            =   '0 0 1';
19     this.m_waypoint         =   _("Strength");
20     this.m_waypointblink    =   2;
21     this.m_itemid           =   IT_STRENGTH;
22 }
23
24 #ifndef MENUQC
25 MODEL(Shield_ITEM, Item_Model("g_invincible.md3"));
26 #endif
27
28 REGISTER_ITEM(Shield, Powerup) {
29 #ifndef MENUQC
30     this.m_model            =   MDL_Shield_ITEM;
31 #endif
32     this.m_sound            =   "misc/powerup_shield.wav";
33     this.m_name             =   "Shield";
34     this.m_icon             =   "shield";
35     this.m_color            =   '1 0 1';
36     this.m_waypoint         =   _("Shield");
37     this.m_waypointblink    =   2;
38     this.m_itemid           =   IT_INVINCIBLE;
39 }