removed some logging

This commit is contained in:
NotAKidoS 2025-12-28 21:16:57 -06:00
parent 72078b2f40
commit 3b103b685e
3 changed files with 6 additions and 5 deletions

View file

@ -139,8 +139,8 @@ public static class DPS
fixRoot.Register(render, dpsRoot, length); fixRoot.Register(render, dpsRoot, length);
PlapPlapForAllMod.Logger.Msg( // PlapPlapForAllMod.Logger.Msg(
$"Added shared DPS penetrator light for mesh '{render.name}' in object '{rootObject.name}'."); // $"Added shared DPS penetrator light for mesh '{render.name}' in object '{rootObject.name}'.");
} }
} }
} }

View file

@ -35,9 +35,10 @@ public sealed class SkinnedDickFixRoot : MonoBehaviour
Array.Copy(old, _entries, old.Length); Array.Copy(old, _entries, old.Length);
} }
// TODO: Noachi said light should be at base, but i am too lazy to test it now
GameObject lightObj = new("[PlapPlapForAllMod] Auto DPS Tip Light"); GameObject lightObj = new("[PlapPlapForAllMod] Auto DPS Tip Light");
lightObj.transform.SetParent(dpsRoot, false); lightObj.transform.SetParent(dpsRoot, false);
lightObj.transform.localPosition = new Vector3(0f, 0f, length * 0.5f); // Noachi said should be at base lightObj.transform.localPosition = new Vector3(0f, 0f, length * 0.5f);
lightObj.SetActive(false); // Initially off lightObj.SetActive(false); // Initially off
Light l = lightObj.AddComponent<Light>(); Light l = lightObj.AddComponent<Light>();

View file

@ -67,8 +67,8 @@ public class PlapPlapForAllMod : MelonMod
if (dpsOrifices.Count != 0) if (dpsOrifices.Count != 0)
{ {
// Log found orifices // Log found orifices
Logger.Msg($"Found {dpsOrifices.Count} DPS orifices on avatar '{avatarObject.name}' for player '{player.PlayerUsername}':"); // Logger.Msg($"Found {dpsOrifices.Count} DPS orifices on avatar '{avatarObject.name}' for player '{player.PlayerUsername}':");
foreach (DPSOrifice dpsOrifice in dpsOrifices) Logger.Msg($"- Orifice Type: {dpsOrifice.type}, DPS Light: {dpsOrifice.dpsLight.name}, Normal Light: {(dpsOrifice.normalLight != null ? dpsOrifice.normalLight.name : "None")}"); // foreach (DPSOrifice dpsOrifice in dpsOrifices) Logger.Msg($"- Orifice Type: {dpsOrifice.type}, DPS Light: {dpsOrifice.dpsLight.name}, Normal Light: {(dpsOrifice.normalLight != null ? dpsOrifice.normalLight.name : "None")}");
// Configure PlapPlap for each orifice // Configure PlapPlap for each orifice
Animator avatarAnimator = player.Animator; Animator avatarAnimator = player.Animator;