public override void GiveBirth() { if (babies.NullOrEmpty()) { ModLog.Warning(" no babies (debug?) " + this.GetType().Name); if (father == null) { father = Trytogetfather(ref pawn); } Initialize(pawn, father); } List <Pawn> siblings = new List <Pawn>(); foreach (Pawn baby in babies) { if (xxx.is_animal(baby)) { BestialBirth(baby, siblings); } else { HumanlikeBirth(baby, siblings); } } pawn.health.RemoveHediff(this); }