mirror of
				https://github.com/vegapnk/RJW-Genes.git
				synced 2024-08-15 00:23:31 +00:00 
			
		
		
		
	update udder gene
udders are now considered to be another kind of breast
This commit is contained in:
		
							parent
							
								
									8d7f26fdf5
								
							
						
					
					
						commit
						73f1713980
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -42,14 +42,14 @@ namespace RJW_Genes
 | 
			
		|||
 | 
			
		||||
        internal void AddUdders()
 | 
			
		||||
        {
 | 
			
		||||
            CompHediffBodyPart CompHediff = null;
 | 
			
		||||
            BodyPartRecord bpr = Genital_Helper.get_uddersBPR(pawn);
 | 
			
		||||
            HediffComp_SexPart CompHediff = null;
 | 
			
		||||
            BodyPartRecord bpr = Genital_Helper.get_breastsBPR(pawn);
 | 
			
		||||
            added_udders = pawn.health.AddHediff(Genital_Helper.udder_breasts, bpr);
 | 
			
		||||
            added_udders.TryGetComp<rjw.CompHediffBodyPart>();
 | 
			
		||||
            added_udders.TryGetComp<rjw.HediffComp_SexPart>();
 | 
			
		||||
            if (CompHediff != null)
 | 
			
		||||
            {
 | 
			
		||||
                CompHediff.initComp(pawn);
 | 
			
		||||
                CompHediff.updatesize();
 | 
			
		||||
                CompHediff.Init(pawn);
 | 
			
		||||
                CompHediff.UpdateSeverity();
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue