]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add notes to the hidden status effects and disable their icons, matching master
authorMario <mario.mario@y7mail.com>
Tue, 15 Jun 2021 23:30:51 +0000 (09:30 +1000)
committerMario <mario.mario@y7mail.com>
Tue, 15 Jun 2021 23:30:51 +0000 (09:30 +1000)
qcsrc/common/monsters/monster/spider.qh
qcsrc/common/mutators/mutator/buffs/all.inc
qcsrc/common/mutators/mutator/status_effects/status_effect/spawnshield.qh

index ac4770517ceda6832b603d4df07f6714cdbf362d..943833f9909777894290d181bc2b1b39cdae72e5 100644 (file)
@@ -33,8 +33,12 @@ REGISTER_WEAPON(SPIDER_ATTACK, NEW(SpiderAttack));
 
 CLASS(Webbed, StatusEffects)
     ATTRIB(Webbed, netname, string, "webbed");
+#if 0
+    // NOTE: status effect name and icon disabled as they are not displayed
+    // re-enable if status effects are given a visual element
     ATTRIB(Webbed, m_name, string, _("Webbed"));
     ATTRIB(Webbed, m_icon, string, "buff_disability");
+#endif
     ATTRIB(Webbed, m_color, vector, '0.94 0.3 1');
     ATTRIB(Webbed, m_hidden, bool, true);
     ATTRIB(Webbed, m_lifetime, float, 10);
index 8739c3a400d874e59d467606db6276c56ce2cbca..72f54dcd28cb658a9a99c9ad842c5300e16c2218 100644 (file)
@@ -77,8 +77,12 @@ BUFF_SPAWNFUNCS(disability, BUFF_DISABILITY)
 // status effect applied to targets by the disability buff
 CLASS(Disabled, StatusEffects)
     ATTRIB(Disabled, netname, string, "disabled");
+#if 0
+    // NOTE: status effect name and icon disabled as they are not displayed
+    // re-enable if status effects are given a visual element
     ATTRIB(Disabled, m_name, string, _("Disabled"));
     ATTRIB(Disabled, m_icon, string, "buff_disability");
+#endif
     ATTRIB(Disabled, m_color, vector, '0.94 0.3 1');
     ATTRIB(Disabled, m_hidden, bool, true);
     ATTRIB(Disabled, m_lifetime, float, 10);
index af31e7b347d7d7c8e8063cc0ad52db162ba69397..14db808079376d0cd8ff008db616acd39de83820 100644 (file)
@@ -4,8 +4,12 @@
 
 CLASS(SpawnShield, StatusEffects)
     ATTRIB(SpawnShield, netname, string, "spawnshield");
+#if 0
+    // NOTE: status effect name and icon disabled as they are not displayed
+    // re-enable if status effects are given a visual element
     ATTRIB(SpawnShield, m_name, string, _("Spawn Shield"));
     ATTRIB(SpawnShield, m_icon, string, "shield");
+#endif
     ATTRIB(SpawnShield, m_color, vector, '0.36 1 0.07');
     ATTRIB(SpawnShield, m_hidden, bool, true);
     ATTRIB(SpawnShield, m_lifetime, float, 10);