using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Verse; using HarmonyLib; using RimNudeWorld; namespace Rimworld_Animations_Patch { [StaticConstructorOnStartup] public static class HarmonyPatch_RimNudeWorld { /*static HarmonyPatch_RimNudeWorld() { try { ((Action)(() => { if (LoadedModManager.RunningModsListForReading.Any(x => x.PackageIdPlayerFacing == "shauaputa.rimnudeworld")) { (new Harmony("Rimworld_Animations_Patch")).Patch(AccessTools.Method(AccessTools.TypeByName("RevealingApparel.HarmonyPatch_DrawAddons"), "Postfix"), prefix: new HarmonyMethod(AccessTools.Method(typeof(HarmonyPatch_RimNudeWorld), "Prefix_DrawAddons"))); } }))(); } catch (TypeLoadException) { } } // Patch RimNudeWorld to override the revealing apparel feature; this task is handled by the new apparel settings system public static bool Prefix_DrawAddons() { return false; }*/ } }