Program: 171374
Project: 171374
Buggy source:
public String rollForPregnancy(GameCharacter partner){
  float pregnancyChance=0;
  if (partner.getAttributeValue(Attribute.VIRILITY) == 0 || getAttributeValue(Attribute.FERTILITY) == 0) {
    pregnancyChance=0;
  }
 else {
    pregnancyChance=0;
    pregnancyChance+=(partner.getAttributeValue(Attribute.VIRILITY) / 100f) * partner.getPenisCumProduction().getPregnancyModifier();
    pregnancyChance+=(getAttributeValue(Attribute.FERTILITY) / 100f);
  }
  if (pregnancyChance > 1)   pregnancyChance=1;
  String s;
  if (isVisiblyPregnant()) {
    s=PregnancyDescriptor.ALREADY_PREGNANT.getDescriptor(this,partner);
  }
 else {
    PregnancyPossibility pregPoss=new PregnancyPossibility(this,partner,pregnancyChance);
    potentialPartnersAsMother.add(pregPoss);
    partner.getPotentialPartnersAsFather().add(pregPoss);
    if (pregnancyChance <= 0)     s=PregnancyDescriptor.NO_CHANCE.getDescriptor(this,partner);
 else     if (pregnancyChance <= 0.15f)     s=PregnancyDescriptor.LOW_CHANCE.getDescriptor(this,partner);
 else     if (pregnancyChance <= 0.3f)     s=PregnancyDescriptor.AVERAGE_CHANCE.getDescriptor(this,partner);
 else     if (pregnancyChance < 1)     s=PregnancyDescriptor.HIGH_CHANCE.getDescriptor(this,partner);
 else     s=PregnancyDescriptor.CERTAINTY.getDescriptor(this,partner);
  }
  if (!hasStatusEffect(StatusEffect.PREGNANT_0) && !isPregnant()) {
    addStatusEffect(StatusEffect.PREGNANT_0,60 * (4 + Util.random.nextInt(5)));
  }
  if (!isPregnant()) {
    if (Math.random() <= pregnancyChance) {
      int numberOfChildren=0;
      if (getVaginaType() == VaginaType.HUMAN) {
        numberOfChildren=partner.getPenisType().getRace().getNumberOfOffspringLow() + Util.random.nextInt((partner.getPenisType().getRace().getNumberOfOffspringHigh() - partner.getPenisType().getRace().getNumberOfOffspringLow()) + 1);
      }
 else {
        numberOfChildren=getVaginaType().getRace().getNumberOfOffspringLow() + Util.random.nextInt((getVaginaType().getRace().getNumberOfOffspringHigh() - getVaginaType().getRace().getNumberOfOffspringLow()) + 1);
      }
      if (partner.hasFetish(Fetish.FETISH_SEEDER)) {
        numberOfChildren*=2;
      }
      if (hasFetish(Fetish.FETISH_BROODMOTHER)) {
        numberOfChildren*=2;
      }
      List<NPC> offspring=new ArrayList<>();
      for (int i=0; i < numberOfChildren; i++) {
        offspring.add(new NPCOffspring(this,partner));
      }
      pregnantLitter=new Litter(Main.game.getDayNumber(),Main.game.getDayNumber(),this,partner,offspring);
    }
  }
  return s;
}

Fixed version (ground truth):
public String rollForPregnancy(GameCharacter partner){
  float pregnancyChance=0;
  if (partner.getAttributeValue(Attribute.VIRILITY) <= 0 || getAttributeValue(Attribute.FERTILITY) <= 0) {
    pregnancyChance=0;
  }
 else {
    pregnancyChance=0;
    pregnancyChance+=(partner.getAttributeValue(Attribute.VIRILITY) / 100f) * partner.getPenisCumProduction().getPregnancyModifier();
    pregnancyChance+=(getAttributeValue(Attribute.FERTILITY) / 100f);
  }
  if (pregnancyChance > 1)   pregnancyChance=1;
  String s;
  if (isVisiblyPregnant()) {
    s=PregnancyDescriptor.ALREADY_PREGNANT.getDescriptor(this,partner);
  }
 else {
    PregnancyPossibility pregPoss=new PregnancyPossibility(this,partner,pregnancyChance);
    potentialPartnersAsMother.add(pregPoss);
    partner.getPotentialPartnersAsFather().add(pregPoss);
    if (pregnancyChance <= 0)     s=PregnancyDescriptor.NO_CHANCE.getDescriptor(this,partner);
 else     if (pregnancyChance <= 0.15f)     s=PregnancyDescriptor.LOW_CHANCE.getDescriptor(this,partner);
 else     if (pregnancyChance <= 0.3f)     s=PregnancyDescriptor.AVERAGE_CHANCE.getDescriptor(this,partner);
 else     if (pregnancyChance < 1)     s=PregnancyDescriptor.HIGH_CHANCE.getDescriptor(this,partner);
 else     s=PregnancyDescriptor.CERTAINTY.getDescriptor(this,partner);
  }
  if (!hasStatusEffect(StatusEffect.PREGNANT_0) && !isPregnant()) {
    addStatusEffect(StatusEffect.PREGNANT_0,60 * (4 + Util.random.nextInt(5)));
  }
  if (!isPregnant()) {
    if (Math.random() <= pregnancyChance) {
      int numberOfChildren=0;
      if (getVaginaType() == VaginaType.HUMAN) {
        numberOfChildren=partner.getPenisType().getRace().getNumberOfOffspringLow() + Util.random.nextInt((partner.getPenisType().getRace().getNumberOfOffspringHigh() - partner.getPenisType().getRace().getNumberOfOffspringLow()) + 1);
      }
 else {
        numberOfChildren=getVaginaType().getRace().getNumberOfOffspringLow() + Util.random.nextInt((getVaginaType().getRace().getNumberOfOffspringHigh() - getVaginaType().getRace().getNumberOfOffspringLow()) + 1);
      }
      if (partner.hasFetish(Fetish.FETISH_SEEDER)) {
        numberOfChildren*=2;
      }
      if (hasFetish(Fetish.FETISH_BROODMOTHER)) {
        numberOfChildren*=2;
      }
      List<NPC> offspring=new ArrayList<>();
      for (int i=0; i < numberOfChildren; i++) {
        offspring.add(new NPCOffspring(this,partner));
      }
      pregnantLitter=new Litter(Main.game.getDayNumber(),Main.game.getDayNumber(),this,partner,offspring);
    }
  }
  return s;
}