Rimworld already has TaleDefOf.GaveBirth, so just use that one

This commit is contained in:
lutepickle 2022-07-23 15:49:33 -07:00
parent 68793ff811
commit 20c18c2904
2 changed files with 1 additions and 2 deletions

View file

@ -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);
}

View file

@ -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");