Beispiel #1
0
 public bool TryApply(Pawn pawn, List <Hediff> outAddedHediffs = null)
 {
     if (pawn.IsQuestLodger() && !allowOnLodgers)
     {
         return(false);
     }
     return(HediffGiverUtility.TryApply(pawn, hediff, partsToAffect, canAffectAnyLivePart, countToAffect, outAddedHediffs));
 }
 public bool TryApply(Pawn pawn, List <Hediff> outAddedHediffs = null)
 {
     return(HediffGiverUtility.TryApply(pawn, this.hediff, this.partsToAffect, this.canAffectAnyLivePart, this.countToAffect, outAddedHediffs));
 }