mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Update for RJW 5.3.0.7
This commit is contained in:
parent
8b7902bc8a
commit
80686dc008
4 changed files with 5 additions and 3 deletions
Binary file not shown.
|
@ -1260,7 +1260,7 @@ namespace RJW_Menstruation
|
||||||
case Configurations.PregnancyType.BaseRJW:
|
case Configurations.PregnancyType.BaseRJW:
|
||||||
|
|
||||||
if (Configurations.Debug) Log.Message($"Creating new base RJW pregnancy");
|
if (Configurations.Debug) Log.Message($"Creating new base RJW pregnancy");
|
||||||
PregnancyHelper.PregnancyDecider(Pawn, egg.fertilizer);
|
PregnancyHelper.AddPregnancyHediff(Pawn, egg.fertilizer);
|
||||||
// I hate having to do this, but it gets the newest pregnancy
|
// I hate having to do this, but it gets the newest pregnancy
|
||||||
List<Hediff_BasePregnancy> pregnancies = new List<Hediff_BasePregnancy>();
|
List<Hediff_BasePregnancy> pregnancies = new List<Hediff_BasePregnancy>();
|
||||||
Pawn.health.hediffSet.GetHediffs(ref pregnancies);
|
Pawn.health.hediffSet.GetHediffs(ref pregnancies);
|
||||||
|
|
|
@ -38,7 +38,7 @@ namespace RJW_Menstruation
|
||||||
|
|
||||||
if (Genital_Helper.has_penis_fertile(pawn, pawnparts) && PregnancyHelper.CanImpregnate(pawn, partner, sextype))
|
if (Genital_Helper.has_penis_fertile(pawn, pawnparts) && PregnancyHelper.CanImpregnate(pawn, partner, sextype))
|
||||||
{
|
{
|
||||||
PregnancyHelper.Doimpregnate(pawn, partner);
|
PregnancyHelper.DoImpregnate(pawn, partner);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else if (Genital_Helper.has_ovipositorM(pawn, pawnparts))
|
else if (Genital_Helper.has_ovipositorM(pawn, pawnparts))
|
||||||
|
@ -95,7 +95,7 @@ namespace RJW_Menstruation
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[HarmonyPatch(typeof(PregnancyHelper), nameof(PregnancyHelper.Doimpregnate))]
|
[HarmonyPatch(typeof(PregnancyHelper), nameof(PregnancyHelper.DoImpregnate))]
|
||||||
public static class Doimpregnate_Patch
|
public static class Doimpregnate_Patch
|
||||||
{
|
{
|
||||||
public static bool Prefix(Pawn pawn, Pawn partner) // partner has vagina
|
public static bool Prefix(Pawn pawn, Pawn partner) // partner has vagina
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
Version 1.0.8.2
|
Version 1.0.8.2
|
||||||
|
- Compatibility update for RJW 5.3.0.7
|
||||||
|
- Requires RJW 5.3.0.7
|
||||||
- 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.
|
- A pawn's womb should now recognize an implanted embryo.
|
||||||
|
|
Loading…
Reference in a new issue