We don't have to test for existing biotech pregs on implantation. The existing code will catch a non-multiple. This will also allow multiwomb pregnancy properly with one in biotech.

This commit is contained in:
lutepickle 2022-10-29 19:04:13 -07:00
parent bd8128aba7
commit 67e6818d73
2 changed files with 3 additions and 9 deletions

View File

@ -1223,13 +1223,6 @@ namespace RJW_Menstruation
deadeggs.Add(egg);
continue;
}
else if (Pawn.IsBiotechPregnant())
{
// TODO: Initiate Biotech pregnancy
if (Configurations.Debug) Log.Message($"Could not implant {Pawn}'s egg due to existing Biotech pregnancy");
deadeggs.Add(egg);
continue;
}
else if (Pawn.health.hediffSet.GetFirstHediff<Hediff_InsectEgg>() != null || pregnancy is Hediff_MechanoidPregnancy)
{
if (Configurations.Debug) Log.Message($"Could not implant {Pawn}'s egg due to insect or mechanoid pregnancy");

View File

@ -1,7 +1,8 @@
Version 1.0.8.0
- Support for RimWorld 1.4. All future changes to Menstruation will only be for Rimworld 1.4.
- Biotech pregnancies will appear in a womb, but no support for multiple wombs/pregnancies yet.
- Biotech: A pawn will lactate upon giving birth with multiple pregnancy.
- Existing Biotech pregnancies will appear in a womb, but no support yet for starting a Biotech pregnancy.
- Identical twins will have identical genes.
- Biotech: A human will lactate upon giving birth with multiple pregnancy.
- Updated Traditional Chinese translation by Hydrogen.
Version 1.0.7.5