From 9ebe2b05b3dcba4e0e3e5361bdc5c6e461169bee Mon Sep 17 00:00:00 2001 From: ManlyMarco <39247311+ManlyMarco@users.noreply.github.com> Date: Sat, 30 Oct 2021 11:13:28 +0200 Subject: [PATCH] [Crest] Reduce log spam --- src/KK_LewdCrestX/LewdCrestXPlugin.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/KK_LewdCrestX/LewdCrestXPlugin.cs b/src/KK_LewdCrestX/LewdCrestXPlugin.cs index 357a5d4..7098c32 100644 --- a/src/KK_LewdCrestX/LewdCrestXPlugin.cs +++ b/src/KK_LewdCrestX/LewdCrestXPlugin.cs @@ -106,11 +106,16 @@ private static void LoadAssets() x.Element("Description").Value, Bundle)); // ReSharper restore PossibleNullReferenceException + + var sb = new System.Text.StringBuilder(300); + sb.Append("Loaded crests:"); foreach (var crestInfo in crestInfos) { - Logger.LogDebug("Added crest " + crestInfo.Id); + sb.Append(' '); + sb.Append(crestInfo.Id); CrestInfos.Add(crestInfo.Id, crestInfo); } + Logger.LogDebug(sb.ToString()); //todo use custom material in the future? might allow glow effects, showing through clothes, adjusting crest location //var mat = new Material(Shader.Find("Standard"));