]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Update Ammo Buff note
authorotta8634 <k9wolf@pm.me>
Sun, 5 Jan 2025 11:54:11 +0000 (19:54 +0800)
committerotta8634 <k9wolf@pm.me>
Sun, 5 Jan 2025 11:54:11 +0000 (19:54 +0800)
Forgot to mention that it removes the need to reload.

qcsrc/common/mutators/mutator/buffs/all.inc

index dc6fc52251a00cee0e43fa065664f95d0130fa9c..a4cca013d4aa6acdab768e026597a9c797ffb174 100644 (file)
@@ -1,3 +1,5 @@
+#include <common/weapons/weapon/rifle.qh>
+
 string Buff_CompatName(string buffname)
 {
     switch(buffname)
@@ -25,8 +27,9 @@ CLASS(AmmoBuff, Buff)
     METHOD(AmmoBuff, describe, string(AmmoBuff this))
     {
         TC(AmmoBuff, this);
-        return sprintf(_("The %s gives you infinite ammo until the buff expires, so you don't need to worry about running out of ammo"),
-        COLORED_NAME_WITH_CONCAT(this, _("Buff")));
+        return sprintf(_("The %s gives you infinite ammo until the buff expires, so you don't need to worry about running out of ammo\n\n"
+            "It also removes the need to reload any weapons that require reloading, like the %s"),
+        COLORED_NAME_WITH_CONCAT(this, _("Buff")), COLORED_NAME(WEP_RIFLE));
     }
 #endif
 ENDCLASS(AmmoBuff)