X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fitems%2Fitem%2Fpowerup.qc;h=7c7405b75bb4e34dcad03f2260454c637f19ef48;hb=60b0e81cdaed847a7aac9d234f219937ab9462b2;hp=7deba67df50bb48c9ddedeed3a455c9bab126c0e;hpb=e9f30b97435c6afe3d6911f21e1f4fd1b97e93da;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/items/item/powerup.qc b/qcsrc/common/items/item/powerup.qc index 7deba67df..7c7405b75 100644 --- a/qcsrc/common/items/item/powerup.qc +++ b/qcsrc/common/items/item/powerup.qc @@ -1,41 +1 @@ #include "powerup.qh" - -#ifndef SVQC -.int m_itemid; -#endif - -#ifndef MENUQC -MODEL(Strength_ITEM, Item_Model("g_strength.md3")); -SOUND(Strength, "misc/powerup"); -#endif - -REGISTER_ITEM(Strength, Powerup) { -#ifndef MENUQC - this.m_model = MDL_Strength_ITEM; - this.m_sound = SND_Strength; -#endif - this.m_name = "Strength Powerup"; - this.m_icon = "strength"; - this.m_color = '0 0 1'; - this.m_waypoint = _("Strength"); - this.m_waypointblink = 2; - this.m_itemid = IT_STRENGTH; -} - -#ifndef MENUQC -MODEL(Shield_ITEM, Item_Model("g_invincible.md3")); -SOUND(Shield, "misc/powerup_shield"); -#endif - -REGISTER_ITEM(Shield, Powerup) { -#ifndef MENUQC - this.m_model = MDL_Shield_ITEM; - this.m_sound = SND_Shield; -#endif - this.m_name = "Shield"; - this.m_icon = "shield"; - this.m_color = '1 0 1'; - this.m_waypoint = _("Shield"); - this.m_waypointblink = 2; - this.m_itemid = IT_INVINCIBLE; -}