public static bool IsCheapAndHumanlike(this FactionDef def) { return(def.MinPointsToGeneratePawnGroup(PawnGroupKindDefOf.Combat) <= 35 && def.humanlikeFaction); }