mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Pick up pregnancies on embryo implantation
This commit is contained in:
parent
a8793765c5
commit
8b7902bc8a
4 changed files with 11 additions and 0 deletions
Binary file not shown.
Binary file not shown.
|
@ -98,4 +98,14 @@ namespace RJW_Menstruation
|
||||||
mostEggs.ovarypower--;
|
mostEggs.ovarypower--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[HarmonyPatch(typeof(Recipe_ImplantEmbryo), nameof(Recipe_ImplantEmbryo.ApplyOnPawn))]
|
||||||
|
public class ImplantEmbryo_ApplyOnPawn_Patch
|
||||||
|
{
|
||||||
|
public static void PostFix(Pawn pawn)
|
||||||
|
{
|
||||||
|
foreach (HediffComp_Menstruation comp in pawn.GetMenstruationComps())
|
||||||
|
comp.TakeLoosePregnancy();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
Version 1.0.8.2
|
Version 1.0.8.2
|
||||||
- Updated race support patches for new and removed vaginas.
|
- Updated race support patches for new and removed vaginas.
|
||||||
- The Biotech extract ovum operation will now remove an egg from a pawn's ovaries.
|
- The Biotech extract ovum operation will now remove an egg from a pawn's ovaries.
|
||||||
|
- A pawn's womb should now recognize an implanted embryo.
|
||||||
|
|
||||||
Version 1.0.8.1
|
Version 1.0.8.1
|
||||||
- Added the option for humans to start Biotech pregnancies if the DLC is enabled. If set, non-humans will use the old multiple pregnancy instead.
|
- Added the option for humans to start Biotech pregnancies if the DLC is enabled. If set, non-humans will use the old multiple pregnancy instead.
|
||||||
|
|
Loading…
Reference in a new issue