]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/items/item/powerup.qc
Simplify item definitions
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / item / powerup.qc
1 #include "powerup.qh"
2 #include "../../../server/t_items.qh"
3
4 REGISTER_ITEM(Strength, Powerup) {
5     this.m_model    =   "models/items/g_strength.md3";
6     this.m_sound    =   "misc/powerup.wav";
7     this.m_name     =   "Strength Powerup";
8 #ifdef SVQC
9     this.m_itemid   =   IT_STRENGTH;
10 #endif
11 }
12 REGISTER_ITEM(Shield, Powerup) {
13     this.m_model    =   "models/items/g_invincible.md3";
14     this.m_sound    =   "misc/powerup_shield.wav";
15     this.m_name     =   "Shield";
16 #ifdef SVQC
17     this.m_itemid   =   IT_INVINCIBLE;
18 #endif
19 }