diff --git a/About/Manifest.xml b/About/Manifest.xml
index 2608cf3..169317e 100644
--- a/About/Manifest.xml
+++ b/About/Manifest.xml
@@ -1,7 +1,7 @@
RJW Menstruation
- 1.0.1.15
+ 1.0.2.0
@@ -9,4 +9,6 @@
+ https://github.com/moreoreganostodump/RJW_Menstruation/blob/master/About/Manifest.xml
+ https://github.com/moreoreganostodump/RJW_Menstruation
\ No newline at end of file
diff --git a/Assemblies/RJW_Menstruation.dll b/Assemblies/RJW_Menstruation.dll
index 9864ab0..080a78c 100644
Binary files a/Assemblies/RJW_Menstruation.dll and b/Assemblies/RJW_Menstruation.dll differ
diff --git a/LoadFolders.xml b/LoadFolders.xml
new file mode 100644
index 0000000..2d69929
--- /dev/null
+++ b/LoadFolders.xml
@@ -0,0 +1,7 @@
+
+
+
+ /
+ RJW Menstruation Race Support
+
+
\ No newline at end of file
diff --git a/RJW Menstruation Race Support/About/About.xml b/RJW Menstruation Race Support/About/About.xml
new file mode 100644
index 0000000..b3aa6ce
--- /dev/null
+++ b/RJW Menstruation Race Support/About/About.xml
@@ -0,0 +1,26 @@
+
+
+ RJW Menstruation Cycle Race Support
+ a
+
+ 1.2
+
+
+
+ rjw.menstruation
+ RJW Menstruation
+ https://github.com/moreoreganostodump/RJW_Menstruation
+
+
+ Abraxas.RJW.RaceSupport
+ RJW - RaceSupport
+ https://gitgud.io/Abraxas/rjw-race-support
+
+
+
+ Abraxas.RJW.RaceSupport
+ rjw.menstruation
+
+ rjw.menstruation.racesupport
+ good good
+
\ No newline at end of file
diff --git a/RJW Menstruation Race Support/About/Manifest.xml b/RJW Menstruation Race Support/About/Manifest.xml
new file mode 100644
index 0000000..1904137
--- /dev/null
+++ b/RJW Menstruation Race Support/About/Manifest.xml
@@ -0,0 +1,12 @@
+
+
+ RJW Menstruation Race Support
+ 8.9.0
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/RJW Menstruation Race Support/Patches/Hediffs_PrivateParts_Animal.xml b/RJW Menstruation Race Support/Patches/Hediffs_PrivateParts_Animal.xml
new file mode 100644
index 0000000..eb7c72c
--- /dev/null
+++ b/RJW Menstruation Race Support/Patches/Hediffs_PrivateParts_Animal.xml
@@ -0,0 +1,167 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Defs/rjw.HediffDef_PartBase[defName="CervineVagina"]
+
+
+
+ 18
+ 1.0
+ 1.0
+ 0.05
+ 10
+ 10
+ 4
+ 30
+ 2
+ Womb/Womb
+ Genitals/Vagina
+ SecondHalf
+
+
+
+
+
+
+ Defs/rjw.HediffDef_PartBase[defName="CactoidVagina"]
+
+
+
+ 8
+ 1.0
+ 1.0
+ 0.05
+ 8
+ 12
+ 0
+ 0
+ 2
+ Womb/Womb
+ Genitals/Vagina
+ Summer
+
+
+
+
+
+
+ Defs/rjw.HediffDef_PartBase[defName="TreeVagina"]
+
+
+
+ 15
+ 1.0
+ 1.0
+ 0.05
+ 10
+ 12
+ 0
+ 30
+ 2
+ Womb/Womb
+ Genitals/Vagina
+ Fall
+
+
+
+
+
+
+ Defs/rjw.HediffDef_PartBase[defName="PistilVagina"]
+
+
+
+ 8
+ 1.0
+ 1.0
+ 0.05
+ 6
+ 12
+ 0
+ 30
+ 2
+ Womb/Womb
+ Genitals/Vagina
+ Fall
+
+
+
+
+
+
+ Defs/rjw.HediffDef_PartBase[defName="NephilaSlimeVagina"]
+
+
+
+ 12
+ 1.0
+ 1.0
+ 0.05
+ 14
+ 20
+ 0
+ 30
+ 8
+ Womb/Womb
+ Genitals/Vagina
+
+
+
+
+
+
+
+ Defs/rjw.HediffDef_PartBase[defName="GhostVagina"]
+
+
+
+ 2
+ 0.1
+ 0.1
+ 0.05
+ 14
+ 14
+ 0
+ 0
+ 1
+ Womb/Womb
+ Genitals/Vagina
+ true
+
+
+
+
+
+
+ Defs/rjw.HediffDef_PartBase[defName="NecroVagina"]
+
+
+
+ 10
+ 0.1
+ 0.1
+ 0.05
+ 14
+ 14
+ 0
+ 0
+ 1
+ Womb/Womb
+ Genitals/Vagina
+ true
+
+
+
+
+
+
\ No newline at end of file
diff --git a/RJW Menstruation Race Support/Patches/Hediffs_PrivateParts_Humanlike.xml b/RJW Menstruation Race Support/Patches/Hediffs_PrivateParts_Humanlike.xml
new file mode 100644
index 0000000..d7fc0fc
--- /dev/null
+++ b/RJW Menstruation Race Support/Patches/Hediffs_PrivateParts_Humanlike.xml
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+ Defs/rjw.HediffDef_PartBase[defName="ElfVagina"]
+
+
+
+ 10
+ 1.0
+ 1.0
+ 0.05
+ 1800
+ 1800
+ 6
+ 30
+ 1
+ Womb/Womb
+ Genitals/Vagina
+ 620
+ true
+
+
+
+
+
+
+ Defs/rjw.HediffDef_PartBase[defName="ElfAnus"]
+
+
+
+ Genitals/Anal
+
+
+
+
+
+
+ Defs/rjw.HediffDef_PartBase[defName="OrcVagina"]
+
+
+
+ 10
+ 1.0
+ 1.0
+ 0.05
+ 7
+ 10
+ 0
+ 10
+ 1
+ Womb/Womb
+ Genitals/Vagina
+ 620
+ true
+
+
+
+
+
+
+ Defs/rjw.HediffDef_PartBase[defName="OrcAnus"]
+
+
+
+ Genitals/Anal
+
+
+
+
+
+
+
+
+ Defs/rjw.HediffDef_PartBase[defName="GhoulVagina"]
+
+
+
+ 10
+ 0.2
+ 0.2
+ 0.05
+ 14
+ 14
+ 0
+ 10
+ 1
+ Womb/Womb
+ Genitals/Vagina
+ 420
+ true
+
+
+
+
+
+
+ Defs/rjw.HediffDef_PartBase[defName="GhoulAnus"]
+
+
+
+ Genitals/Anal
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/changelogs.txt b/changelogs.txt
index b07ec8e..5f5942d 100644
--- a/changelogs.txt
+++ b/changelogs.txt
@@ -1,3 +1,7 @@
+Version 1.0.2.0
+ - support for RJW Race Support
+ - fixed erros with pawns that the litter size curve is not defined
+
Version 1.0.1.15
- added more descrption on the mod options
- sick thought of in period removed
@@ -6,7 +10,6 @@ Version 1.0.1.15
- added description for tampon about infection
- infection chance of dirty tampon decreased 2% to 1%
-
Version 1.0.1.14
- requires RJW 4.6.1 or later
- fixed interspecies factor applied to normal pregnancy
diff --git a/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs b/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs
index bf9d725..ff1fe4b 100644
--- a/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs
+++ b/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs
@@ -1232,12 +1232,22 @@ namespace RJW_Menstruation
{
estrusflag = false;
int i = 0;
+ float eggnum;
+ try
+ {
+ eggnum = Rand.ByCurve(parent.pawn.RaceProps.litterSizeCurve) + eggstack;
+ }
+ catch(NullReferenceException)
+ {
+ eggnum = 1 + eggstack;
+ }
+
do
{
ovarypower--;
eggs.Add(new Egg((int)(Props.eggLifespanDays * 24 / CycleFactor)));
i++;
- } while (i < Rand.ByCurve(parent.pawn.RaceProps.litterSizeCurve) + eggstack);
+ } while (i < (int)eggnum);
eggstack = 0;
if (Configurations.EnableMenopause && ovarypower < 1)
{