]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mutators/mutator/buffs/all.inc
Experimental status effects system: general backend for buffs and debuffs networked...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mutators / mutator / buffs / all.inc
index 5b53b3d651c2d76e49ac25e6778fc24a781e7fde..46a96f6612940e29ab53ee86a6f713e8d91722c0 100644 (file)
@@ -15,6 +15,7 @@ string Buff_UndeprecateName(string buffname)
 REGISTER_BUFF(AMMO) {
     this.m_name = _("Ammo");
     this.netname = "ammo";
+    this.m_icon = "buff_ammo";
     this.m_skin = 3;
     this.m_color = '0.76 1 0.1';
 }
@@ -24,6 +25,7 @@ BUFF_SPAWNFUNC_Q3TA_COMPAT(ammoregen, BUFF_AMMO)
 REGISTER_BUFF(RESISTANCE) {
     this.m_name = _("Resistance");
     this.netname = "resistance";
+    this.m_icon = "buff_resistance";
     this.m_skin = 0;
     this.m_color = '0.36 1 0.07';
 }
@@ -33,6 +35,7 @@ BUFF_SPAWNFUNC_Q3TA_COMPAT(guard, BUFF_RESISTANCE)
 REGISTER_BUFF(SPEED) {
     this.m_name = _("Speed");
     this.netname = "speed";
+    this.m_icon = "buff_speed";
     this.m_skin = 9;
     this.m_color = '0.1 1 0.84';
 }
@@ -43,6 +46,7 @@ BUFF_SPAWNFUNC_Q3TA_COMPAT(scout, BUFF_SPEED)
 REGISTER_BUFF(MEDIC) {
     this.m_name = _("Medic");
     this.netname = "medic";
+    this.m_icon = "buff_medic";
     this.m_skin = 1;
     this.m_color = '1 0.12 0';
 }
@@ -53,6 +57,7 @@ BUFF_SPAWNFUNC_Q3TA_COMPAT(revival, BUFF_MEDIC)
 REGISTER_BUFF(BASH) {
     this.m_name = _("Bash");
     this.netname = "bash";
+    this.m_icon = "buff_bash";
     this.m_skin = 5;
     this.m_color = '1 0.39 0';
 }
@@ -62,6 +67,7 @@ BUFF_SPAWNFUNC_Q3TA_COMPAT(doubler, BUFF_BASH)
 REGISTER_BUFF(VAMPIRE) {
     this.m_name = _("Vampire");
     this.netname = "vampire";
+    this.m_icon = "buff_vampire";
     this.m_skin = 2;
     this.m_color = '1 0 0.24';
 }
@@ -70,6 +76,7 @@ BUFF_SPAWNFUNCS(vampire, BUFF_VAMPIRE)
 REGISTER_BUFF(DISABILITY) {
     this.m_name = _("Disability");
     this.netname = "disability";
+    this.m_icon = "buff_disability";
     this.m_skin = 7;
     this.m_color = '0.94 0.3 1';
 }
@@ -78,6 +85,7 @@ BUFF_SPAWNFUNCS(disability, BUFF_DISABILITY)
 REGISTER_BUFF(VENGEANCE) {
     this.m_name = _("Vengeance");
     this.netname = "vengeance";
+    this.m_icon = "buff_vengeance";
     this.m_skin = 15;
     this.m_color = '1 0.23 0.61';
 }
@@ -86,6 +94,7 @@ BUFF_SPAWNFUNCS(vengeance, BUFF_VENGEANCE)
 REGISTER_BUFF(JUMP) {
     this.m_name = _("Jump");
     this.netname = "jump";
+    this.m_icon = "buff_jump";
     this.m_skin = 10;
     this.m_color = '0.24 0.78 1';
 }
@@ -95,6 +104,7 @@ BUFF_SPAWNFUNC_Q3TA_COMPAT(jumper, BUFF_JUMP)
 REGISTER_BUFF(INVISIBLE) {
     this.m_name = _("Invisible");
     this.netname = "invisible";
+    this.m_icon = "buff_invisible";
     this.m_skin = 12;
     this.m_color = '0.5 0.5 1';
 }
@@ -104,6 +114,7 @@ BUFF_SPAWNFUNC_Q3TA_COMPAT(invis, BUFF_INVISIBLE)
 REGISTER_BUFF(INFERNO) {
     this.m_name = _("Inferno");
     this.netname = "inferno";
+    this.m_icon = "buff_inferno";
     this.m_skin = 16;
     this.m_color = '1 0.62 0';
 }
@@ -112,6 +123,7 @@ BUFF_SPAWNFUNCS(inferno, BUFF_INFERNO)
 REGISTER_BUFF(SWAPPER) {
     this.m_name = _("Swapper");
     this.netname = "swapper";
+    this.m_icon = "buff_swapper";
     this.m_skin = 17;
     this.m_color = '0.63 0.36 1';
 }
@@ -120,6 +132,7 @@ BUFF_SPAWNFUNCS(swapper, BUFF_SWAPPER)
 REGISTER_BUFF(MAGNET) {
     this.m_name = _("Magnet");
     this.netname = "magnet";
+    this.m_icon = "buff_magnet";
     this.m_skin = 18;
     this.m_color = '1 0.95 0.18';
 }
@@ -128,6 +141,7 @@ BUFF_SPAWNFUNCS(magnet, BUFF_MAGNET)
 REGISTER_BUFF(LUCK) {
     this.m_name = _("Luck");
     this.netname = "luck";
+    this.m_icon = "buff_luck";
     this.m_skin = 19;
     this.m_color = '1 0.23 0.44';
 }
@@ -136,6 +150,7 @@ BUFF_SPAWNFUNCS(luck, BUFF_LUCK)
 REGISTER_BUFF(FLIGHT) {
     this.m_name = _("Flight");
     this.netname = "flight";
+    this.m_icon = "buff_flight";
     this.m_skin = 11;
     this.m_color = '0.23 0.44 1';
 }