]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add slight indent before lists in the guide
authorotta8634 <k9wolf@pm.me>
Thu, 9 Jan 2025 07:30:57 +0000 (15:30 +0800)
committerotta8634 <k9wolf@pm.me>
Thu, 9 Jan 2025 07:30:57 +0000 (15:30 +0800)
This just makes it look slightly better.

qcsrc/common/items/item/ammo.qc
qcsrc/common/mutators/mutator/new_toys/new_toys.qc

index 2b9d5e2f12d6e5651fcc9d99bdf17d432e7c03fe..24f76b60e6517880eaf233abe897f97dddb548a3 100644 (file)
@@ -9,7 +9,7 @@ METHOD(Ammo, describe, string(Ammo this))
     entity ammo = GetAmmoResource(this);
     string s = sprintf(_("The %s ammo type is used by the:"), COLORED_NAME(this));
     FOREACH(Weapons, it.ammo_type == ammo, {
-        s = strcat(s, "\n", COLORED_NAME(it));
+        s = strcat(s, "\n  ", COLORED_NAME(it));
     });
     return s;
 }
index c500a1b956c275c6cc7680c7eacdbd07002578f4..f00a42bfaa2c821883807905d0417e2ee0cc0ff2 100644 (file)
@@ -31,7 +31,7 @@ METHOD(MutatorNewToys, describe, string(MutatorNewToys this))
                "The current %s weapons are:"), // do it like this so that the string doesn't need to change when the list is updated
        COLORED_NAME(this), COLORED_NAME(MUTATOR_mutator_instagib), COLORED_NAME(MUTATOR_ok), COLORED_NAME(this), COLORED_NAME(this));
     FOREACH(Weapons, nt_IsNewToy(it.m_id), {
-        s = strcat(s, "\n", COLORED_NAME(it));
+        s = strcat(s, "\n  ", COLORED_NAME(it));
     });
        return s;
 }