mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Properly initialize ovaries for bad litterSizeCurves
This commit is contained in:
		
							parent
							
								
									6fc9b3d59a
								
							
						
					
					
						commit
						b292c3f931
					
				
					 3 changed files with 5 additions and 1 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -948,7 +948,8 @@ namespace RJW_Menstruation
 | 
				
			||||||
            float avglittersize;
 | 
					            float avglittersize;
 | 
				
			||||||
            try
 | 
					            try
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                avglittersize = Rand.ByCurveAverage(pawn.def.race.litterSizeCurve);
 | 
					                if (pawn.def.race.litterSizeCurve.Points.Count < 3) avglittersize = 1;  // Account for busted littersizecurves
 | 
				
			||||||
 | 
					                else avglittersize = Rand.ByCurveAverage(pawn.def.race.litterSizeCurve);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            catch (NullReferenceException)
 | 
					            catch (NullReferenceException)
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,3 +1,6 @@
 | 
				
			||||||
 | 
					Version 1.0.6.4
 | 
				
			||||||
 | 
					 - Fix ovary initialization for races with invalid litter sizes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Version 1.0.6.3
 | 
					Version 1.0.6.3
 | 
				
			||||||
 - Fix pawn generation for races with a single lifestage.
 | 
					 - Fix pawn generation for races with a single lifestage.
 | 
				
			||||||
 - Show womb gizmo for males with vaginas, too.
 | 
					 - Show womb gizmo for males with vaginas, too.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue