private static void Postfix(Pawn pawn, ThoughtDef def, ref bool __result) { if (!RaceAddonTools.CheckMood(pawn.def, def)) { __result = false; } }