Пример #1
0
 private static void Postfix(Pawn p, ref bool __result)
 {
     if (!__result && p.kindDef is RaceAddonPawnKindDef pkd && RaceAddonTools.IsWildMan(pkd))
     {
         __result = true;
     }
 }
Пример #2
0
 private static void Postfix(Pawn pawn, PawnKindDef ___pawnKind, ref bool __result)
 {
     if (__result == false && ___pawnKind == PawnKindDefOf.WildMan && pawn.kindDef is RaceAddonPawnKindDef pkd && RaceAddonTools.IsWildMan(pkd))
     {
         __result = true;
     }
 }