]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/items/item/powerup.qc
Merge branch 'master' into Mario/sound_model_paths
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / item / powerup.qc
1 #include "powerup.qh"
2 #include "../../../server/t_items.qh"
3
4 #ifndef SVQC
5 .int m_itemid;
6 #endif
7 REGISTER_ITEM(Strength, Powerup) {
8     this.m_model            =   "g_strength.md3";
9     this.m_sound            =   "misc/powerup.wav";
10     this.m_name             =   "Strength Powerup";
11     this.m_icon             =   "strength";
12     this.m_color            =   '0 0 1';
13     this.m_waypoint         =   _("Strength");
14     this.m_waypointblink    =   2;
15     this.m_itemid           =   IT_STRENGTH;
16 }
17 REGISTER_ITEM(Shield, Powerup) {
18     this.m_model            =   "g_invincible.md3";
19     this.m_sound            =   "misc/powerup_shield.wav";
20     this.m_name             =   "Shield";
21     this.m_icon             =   "shield";
22     this.m_color            =   '1 0 1';
23     this.m_waypoint         =   _("Shield");
24     this.m_waypointblink    =   2;
25     this.m_itemid           =   IT_INVINCIBLE;
26 }