Compare commits

...

37 commits

Author SHA1 Message Date
lutepickle
e6d2446376 Clarify changelog 2023-03-20 16:19:06 -07:00
lutepickle
8de3864a8e Merge branch 'dev' 2023-03-20 16:17:34 -07:00
lutepickle
2ac4e1f8e5 Fix wrong comparison in OvulatoryAction 2023-03-20 16:17:16 -07:00
lutepickle
cb8a001cdf Change removecums to a HashSet 2023-03-19 22:52:39 -07:00
lutepickle
f7e3d6c1c4 Switch deadeggs to a HashSet 2023-03-19 22:48:04 -07:00
lutepickle
310c03a193 Remove the early exit from the implant loop for non-RJW multiple pregnancy. This lets Biotech fraternal twins implant in the same hour. 2023-03-19 22:39:55 -07:00
lutepickle
9ec87537f8 Merge branch 'dev' 2023-03-19 12:02:34 -07:00
lutepickle
c56e275a92 Merge branch 'dev' 2023-03-06 05:49:58 -08:00
lutepickle
db7ca5c77a Remove texture-breaking milk patch 2023-03-03 16:56:07 -08:00
lutepickle
b254273935 Merge branch 'dev' 2023-03-02 21:34:10 -08:00
lutepickle
4fdd66989b Merge branch 'dev' 2023-01-03 19:13:28 -08:00
lutepickle
304724f8d8 Merge branch 'dev' 2022-12-15 14:47:47 -08:00
lutepickle
36064cb4b9 Merge branch 'dev' 2022-11-18 06:49:07 -08:00
lutepickle
06c1ade118 Merge branch 'dev' 2022-11-16 07:46:22 -08:00
lutepickle
c2e9983c4d Merge branch 'dev' 2022-11-08 18:09:21 -08:00
lutepickle
27093a34bb Merge branch 'dev' 2022-10-30 08:59:44 -07:00
lutepickle
468c81bbc8 Use short name for Glux in the changelog 2022-09-30 06:33:04 -07:00
lutepickle
c93072d465 Merge branch 'dev' 2022-09-29 14:58:37 -07:00
lutepickle
4b558ed1e7 Merge branch 'dev' 2022-09-05 10:41:10 -07:00
lutepickle
7678a39368 Merge branch 'dev' 2022-08-27 19:49:49 -07:00
lutepickle
c03aede9f4 Merge branch 'dev' 2022-08-24 11:06:35 -07:00
lutepickle
13359beb3d Merge branch 'dev' 2022-08-15 18:40:42 -07:00
lutepickle
42df92c786 Merge branch 'dev' 2022-07-26 17:32:31 -07:00
lutepickle
3b0dade1bc Merge 1.0.7.0 2022-07-26 07:41:42 -07:00
lutepickle
66acecbef4 Rebuild 2022-07-07 11:26:44 -07:00
lutepickle
264bb9452b Make not-cum not fertilize 2022-07-07 11:26:33 -07:00
lutepickle
25aa9df0cf Merge 1.0.6.6 2022-07-06 06:44:12 -07:00
lutepickle
2367091ede Merge 1.0.6.5 2022-06-05 07:48:17 -07:00
lutepickle
7c505728de Move gather cum gizmo text to this project to account for sexperience removing it 2022-06-02 14:32:31 -07:00
lutepickle
b406656659 Update manifest for 1.0.6.4 2022-05-30 20:33:08 -07:00
lutepickle
6ac50ea7fe Merge 1.0.6.4 2022-05-30 20:32:18 -07:00
lutepickle
ca70b0b1d4 Merge 1.0.6.3 2022-05-29 20:33:47 -07:00
lutepickle
109cde7c55 Add a check for BabyHalfAge <= 0, just to be sure 2022-05-18 08:07:40 -07:00
lutepickle
f17d9110b8 Fix BabyHalfAge for races with one lifestage 2022-05-18 08:07:09 -07:00
lutepickle
41628578bb Merge branch 'dev' 2022-05-10 16:50:42 -07:00
lutepickle
af9a176f3f 1.0.6.1 2022-04-29 07:04:43 -07:00
lutepickle
7a58d3ed3b Fix null reference on missing hybrid def 2022-04-27 17:35:29 -07:00
4 changed files with 16 additions and 32 deletions

Binary file not shown.

View file

@ -1037,7 +1037,7 @@ namespace RJW_Menstruation
if (TotalCum > Props.maxCumCapacity * Pawn.BodySize) leakfactor = Math.Min(1 + (TotalCum - Props.maxCumCapacity * Pawn.BodySize) / 10, 2f);
if (absorber != null && absorber.dirty && !absorber.LeakAfterDirty) leakfactor = 0f;
if (Pawn.CurJobDef == xxx.knotted) leakfactor = 0f;
List<Cum> removecums = new List<Cum>();
HashSet<Cum> removecums = new HashSet<Cum>();
foreach (Cum cum in cums)
{
cum.CumEffects(Pawn);
@ -1050,10 +1050,7 @@ namespace RJW_Menstruation
}
if (cums.Count > 1) MakeCumFilthMixture(totalleak, filthlabels);
else if (cums.Count == 1) MakeCumFilth(cums.First(), totalleak);
foreach (Cum cum in removecums)
{
cums.Remove(cum);
}
cums.RemoveAll(cum => removecums.Contains(cum));
cumd = TotalCumPercent - cumd;
if (totalleak >= 1.0f) AfterCumOut();
AfterFluidOut(cumd);
@ -1073,7 +1070,7 @@ namespace RJW_Menstruation
List<string> filthlabels = new List<string>();
float outcum = 0;
float cumd = TotalCumPercent;
List<Cum> removecums = new List<Cum>();
HashSet<Cum> removecums = new HashSet<Cum>();
foreach (Cum cum in cums)
{
float vd = cum.DismishForce(portion);
@ -1086,10 +1083,7 @@ namespace RJW_Menstruation
}
if (cums.Count > 1) MakeCumFilthMixture(totalleak, filthlabels);
else if (cums.Count == 1) MakeCumFilth(cums.First(), totalleak);
foreach (Cum cum in removecums)
{
cums.Remove(cum);
}
cums.RemoveAll(cum => removecums.Contains(cum));
cumd = TotalCumPercent - cumd;
AfterFluidOut(cumd);
return outcum;
@ -1107,7 +1101,7 @@ namespace RJW_Menstruation
Color color = GetCumMixtureColor;
float totalleak = 0;
List<string> cumlabels = new List<string>();
List<Cum> removecums = new List<Cum>();
HashSet<Cum> removecums = new HashSet<Cum>();
bool pure = true;
foreach (Cum cum in cums)
{
@ -1118,10 +1112,7 @@ namespace RJW_Menstruation
if (cum.ShouldRemove()) removecums.Add(cum);
if (cum.notcum) pure = false;
}
foreach (Cum cum in removecums)
{
cums.Remove(cum);
}
cums.RemoveAll(cum => removecums.Contains(cum));
return new CumMixture(Pawn, totalleak, cumlabels, color, mixtureDef, pure);
}
@ -1364,7 +1355,7 @@ namespace RJW_Menstruation
{
if (eggs.NullOrEmpty()) return false;
List<Egg> deadeggs = new List<Egg>();
HashSet<Egg> deadeggs = new HashSet<Egg>();
bool pregnant = false;
foreach (Egg egg in eggs)
{
@ -1457,9 +1448,7 @@ namespace RJW_Menstruation
rjw_preg.p_start_tick -= egg.fertstage / Configurations.CycleAcceleration * GenDate.TicksPerHour;
rjw_preg.p_end_tick -= egg.fertstage / Configurations.CycleAcceleration * GenDate.TicksPerHour;
}
if (!(pregnancy is Hediff_MultiplePregnancy)) break;
}
}
else
{
@ -1476,12 +1465,7 @@ namespace RJW_Menstruation
return true;
}
else
{
foreach (Egg egg in deadeggs)
{
eggs.Remove(egg);
}
}
eggs.RemoveAll(egg => deadeggs.Contains(egg));
return pregnant;
}
@ -1551,7 +1535,7 @@ namespace RJW_Menstruation
protected void EggDecay()
{
List<Egg> deadeggs = new List<Egg>();
HashSet<Egg> deadeggs = new HashSet<Egg>();
foreach (Egg egg in eggs)
{
egg.position += Configurations.CycleAcceleration;
@ -1562,10 +1546,7 @@ namespace RJW_Menstruation
if (egg.lifespanhrs < 0) deadeggs.Add(egg);
}
}
foreach (Egg egg in deadeggs)
{
eggs.Remove(egg);
}
eggs.RemoveAll(egg => deadeggs.Contains(egg));
}
protected void AddCrampPain()
@ -1629,7 +1610,7 @@ namespace RJW_Menstruation
eggs.Add(new Egg((int)(EggLifespanHours / CycleFactor)));
++ovulated;
}
if(ovulated < ovarypower) ovulated = Math.Max(ovarypower, eggstack);
if(ovulated > ovarypower) ovulated = Math.Min(ovarypower, eggstack);
ovarypower -= ovulated;
eggstack = 0;

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Manifest>
<identifier>RJW Menstruation</identifier>
<version>1.0.8.8</version>
<version>1.0.8.9</version>
<dependencies>
</dependencies>
<incompatibleWith />

View file

@ -1,3 +1,6 @@
Version 1.0.8.9
- Fix bug that sent pawns into menopause very early. Please use the recalculate ovary power dev action to restore lost eggs.
Version 1.0.8.8
- Fix pawns skipping straight to menopause instead of going through climacteric stages.
- Fix father appearing as "Null" in womb dialog for some Biotech pregnancies.
@ -30,7 +33,7 @@ Version 1.0.8.5
- Babies born from multiple pregnancy will properly produce the prompt to name them.
- Hopefully improve compatibility with xenotype inhertiance-altering mods for multiple pregnancy.
- Pawns that have stopped aging will no longer have larger breasts during and after pregnancy.
- Experimental "periodic ovulator" cycle type, currently not used. See Patches/Hediffs_Private_Parts_Animal.xml.
- Experimental "periodic ovulator" cycle type added, currently not used. See Patches/Hediffs_Private_Parts_Animal.xml for an example.
Version 1.0.8.4
- Fix Biotech xenotype inheritance for single-child pregnancies.