mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Rimworld already has TaleDefOf.GaveBirth, so just use that one
This commit is contained in:
		
							parent
							
								
									68793ff811
								
							
						
					
					
						commit
						20c18c2904
					
				
					 2 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -150,7 +150,7 @@ namespace RJW_Menstruation
 | 
			
		|||
                baby.guest.SetGuestStatus(Faction.OfPlayer, GuestStatus.Prisoner);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (xxx.is_human(mother)) TaleRecorder.RecordTale(VariousDefOf.GaveBirth, new object[] { mother, baby });
 | 
			
		||||
            if (xxx.is_human(mother)) TaleRecorder.RecordTale(TaleDefOf.GaveBirth, new object[] { mother, baby });
 | 
			
		||||
 | 
			
		||||
            PostBirth(mother, father, baby);
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -46,7 +46,6 @@ namespace RJW_Menstruation
 | 
			
		|||
        public static readonly PawnColumnDef RJW_EarnedMoneyByWhore = DefDatabase<PawnColumnDef>.GetNamed("RJW_EarnedMoneyByWhore");
 | 
			
		||||
        public static readonly RecordDef AmountofCreampied = DefDatabase<RecordDef>.GetNamed("AmountofCreampied");
 | 
			
		||||
        public static readonly RecordDef AmountofFertilizedEggs = DefDatabase<RecordDef>.GetNamed("AmountofFertilizedEggs");
 | 
			
		||||
        public static readonly TaleDef GaveBirth = DefDatabase<TaleDef>.GetNamed("GaveBirth");
 | 
			
		||||
        public static readonly TaleDef TaleCameInside = DefDatabase<TaleDef>.GetNamed("CameInside");
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue