mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Make fertilization add to the pawn's record again
This commit is contained in:
		
							parent
							
								
									b5b9002930
								
							
						
					
					
						commit
						4ebf45aeb8
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -1114,7 +1114,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            if (cums.NullOrEmpty()) return null;
 | 
					            if (cums.NullOrEmpty()) return null;
 | 
				
			||||||
            float totalFertPower = 0;
 | 
					            float totalFertPower = 0;
 | 
				
			||||||
            List<Cum> eligibleCum = cums.FindAll(c => c.FertVolume > 0 && (RJWPregnancySettings.bestial_pregnancy_enabled || xxx.is_animal(parent.pawn) == xxx.is_animal(c.pawn)));
 | 
					            List<Cum> eligibleCum = cums.FindAll(cum => cum.FertVolume > 0 && (RJWPregnancySettings.bestial_pregnancy_enabled || xxx.is_animal(parent.pawn) == xxx.is_animal(cum.pawn)));
 | 
				
			||||||
            if (eligibleCum.Count == 0) return null;
 | 
					            if (eligibleCum.Count == 0) return null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            foreach (Cum cum in eligibleCum)
 | 
					            foreach (Cum cum in eligibleCum)
 | 
				
			||||||
| 
						 | 
					@ -1123,6 +1123,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
            if (Rand.Range(0.0f, 1.0f) > totalFertPower * Configurations.FertilizeChance * Props.basefertilizationChanceFactor)
 | 
					            if (Rand.Range(0.0f, 1.0f) > totalFertPower * Configurations.FertilizeChance * Props.basefertilizationChanceFactor)
 | 
				
			||||||
                return null;
 | 
					                return null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            parent.pawn.records.AddTo(VariousDefOf.AmountofFertilizedEggs, 1);
 | 
				
			||||||
            float selection = Rand.Range(0.0f, totalFertPower);
 | 
					            float selection = Rand.Range(0.0f, totalFertPower);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            foreach (Cum cum in eligibleCum)
 | 
					            foreach (Cum cum in eligibleCum)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue