mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	fix display of breast fullness in gui for rjw-mc-biotech mod
This commit is contained in:
		
							parent
							
								
									23ae342722
								
							
						
					
					
						commit
						48f020d832
					
				
					 1 changed files with 8 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -274,9 +274,15 @@ namespace RJW_Menstruation
 | 
			
		|||
            //List<ThingComp> milkcomp = pawn.AllComps.FindAll(x => x is CompMilkable || x.GetType().ToString().ToLower().Contains("milkable"));
 | 
			
		||||
            ThingComp milkcomp = null;
 | 
			
		||||
            float res = 0;
 | 
			
		||||
            if (VariousDefOf.Hediff_Heavy_Lactating_Permanent != null)
 | 
			
		||||
            if (VariousDefOf.Hediff_Heavy_Lactating_Permanent   != null 
 | 
			
		||||
                || VariousDefOf.Hediff_Lactating_Permanent      != null 
 | 
			
		||||
                || VariousDefOf.Hediff_Lactating_Natural        != null 
 | 
			
		||||
                || VariousDefOf.Hediff_Lactating_Drug           != null)
 | 
			
		||||
            {
 | 
			
		||||
                if (pawn.health.hediffSet.HasHediff(VariousDefOf.Hediff_Heavy_Lactating_Permanent)) milkcomp = pawn.AllComps.FirstOrDefault(x => x.GetType().ToString().ToLower().Contains("hypermilkable"));
 | 
			
		||||
                if (pawn.health.hediffSet.HasHediff(VariousDefOf.Hediff_Heavy_Lactating_Permanent)
 | 
			
		||||
                    || pawn.health.hediffSet.HasHediff(VariousDefOf.Hediff_Lactating_Permanent)
 | 
			
		||||
                    || pawn.health.hediffSet.HasHediff(VariousDefOf.Hediff_Lactating_Natural)
 | 
			
		||||
                    || pawn.health.hediffSet.HasHediff(VariousDefOf.Hediff_Lactating_Drug)) milkcomp = pawn.AllComps.FirstOrDefault(x => x.GetType().ToString().ToLower().Contains("milkablehuman"));
 | 
			
		||||
                else milkcomp = pawn.AllComps.FirstOrDefault(x => x.GetType().ToString().ToLower().Contains("milkable"));
 | 
			
		||||
            }
 | 
			
		||||
            else
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue