Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of SuitFix v1.0.0
SuitFix.dll
Decompiled 2 years agousing System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.Configuration; using GameNetcodeStuff; using HarmonyLib; using TMPro; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("SuitFix")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("SuitFix")] [assembly: AssemblyCopyright("Copyright © 2024")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("2c3fac03-164e-412b-be8c-0a967ba124d1")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace SuitFix; [BepInPlugin("com.ashk3000.SuitFix", "SuitFix", "1.0.0")] public class LethalLogoMod : BaseUnityPlugin { public const string modGUID = "com.ashk3000.SuitFix"; public const string modName = "SuitFix"; public const string modVersion = "1.0.0"; public static ConfigEntry<string> imagePath; private readonly Harmony harmony = new Harmony("com.ashk3000.SuitFix"); private void Awake() { harmony.PatchAll(typeof(MenuManagerPatch)); } } [HarmonyPatch(typeof(PlayerControllerB))] internal class MenuManagerPatch { [HarmonyPatch("SetHoverTipAndCurrentInteractTrigger")] [HarmonyPostfix] private static void Postfix(PlayerControllerB __instance) { if (((TMP_Text)__instance.cursorTip).text == "Change suit") { ((TMP_Text)__instance.cursorTip).text = "Change: Decoy suit"; } } }