]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/items/item/powerup.qc
Merge branch 'master' into Mario/vehicles
[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    =   "models/items/g_strength.md3";
9     this.m_sound    =   "misc/powerup.wav";
10     this.m_name     =   "Strength Powerup";
11     this.m_itemid   =   IT_STRENGTH;
12 }
13 REGISTER_ITEM(Shield, Powerup) {
14     this.m_model    =   "models/items/g_invincible.md3";
15     this.m_sound    =   "misc/powerup_shield.wav";
16     this.m_name     =   "Shield";
17     this.m_itemid   =   IT_INVINCIBLE;
18 }