Пример #1
0
 public override void PostIngested(Pawn ingester)
 {
     if (Stage != 0 && FoodUtility.GetFoodPoisonChanceFactor(ingester) > float.Epsilon)
     {
         FoodUtility.AddFoodPoisoningHediff(ingester, parent, FoodPoisonCause.Rotten);
     }
 }
 public override void PostIngested(Pawn ingester)
 {
     if (Rand.Chance(poisonPct * FoodUtility.GetFoodPoisonChanceFactor(ingester)))
     {
         FoodUtility.AddFoodPoisoningHediff(ingester, parent, cause);
     }
 }