using HarmonyLib; using rjw; using System; using System.Collections.Generic; using System.Linq; using System.Reflection.Emit; using System.Reflection; using System.Text; using System.Threading.Tasks; using Verse; using rjwquirks.Modules.Quirks; namespace rjwquirks.HarmonyPatches { [HarmonyPatch(typeof(JobGiver_Masturbate), nameof(JobGiver_Masturbate.WantsToMasturbate))] public class Patch_JobGiver_Masturbate { [HarmonyPostfix] public static void ApplyQuirkToMasturbate(Pawn pawn, ref bool __result) { if (!__result && pawn.HasQuirk(QuirkDefOf.Exhibitionist)) { __result = true; } } } }