mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2026-06-18 11:26:06 +00:00
Compare commits
2 commits
47183d4006
...
21c48dfa60
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
21c48dfa60 | ||
|
|
d8b98ca05e |
9 changed files with 8 additions and 11 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -2,12 +2,6 @@
|
|||
<Patch>
|
||||
<Operation Class="PatchOperationSequence">
|
||||
<operations>
|
||||
<li Class="PatchOperationInsert">
|
||||
<xpath>/Defs/PawnTableDef[defName="RJW_PawnTable_Humanlikes"]/columns/li[text()="Pregnant"]</xpath>
|
||||
<value>
|
||||
<li>RJWMenstruation_Womb</li>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationInsert">
|
||||
<xpath>/Defs/PawnTableDef[defName="RJW_PawnTable_Colonists"]/columns/li[text()="Pregnant"]</xpath>
|
||||
<value>
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -126,7 +126,7 @@ namespace RJW_Menstruation
|
|||
protected int? opcache = null;
|
||||
protected float antisperm = 0.0f;
|
||||
// RJW pregnancy, or Biotech pregnancy/labor/laborpushing
|
||||
protected Hediff pregnancy = null;
|
||||
protected Hediff pregnancy = null; // Remove, instead reference per-genital pregnancy list
|
||||
|
||||
protected int eggLifeSpanTicks = GenDate.DaysToTicks(2);
|
||||
protected EstrusLevel estrusLevel = EstrusLevel.Visible;
|
||||
|
|
@ -313,7 +313,7 @@ namespace RJW_Menstruation
|
|||
{
|
||||
StatDefOf.Fertility.Worker.ClearCacheForThing(Pawn); // No effect for now, but a future RW update might add caching for this
|
||||
calculatingOvulationChance = true;
|
||||
ovulationChance *= PawnCapacityUtility.CalculateCapacityLevel(Pawn.health.hediffSet, xxx.reproduction);
|
||||
ovulationChance *= PawnCapacityUtility.CalculateCapacityLevel(Pawn.health.hediffSet, xxx.reproduction); // Add genital fertility
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
|
@ -1481,7 +1481,7 @@ namespace RJW_Menstruation
|
|||
try
|
||||
{
|
||||
if (Configurations.Debug) Log.Message($"Implanting fertilized egg of {Pawn} into {parent}, father {egg.fertilizer}");
|
||||
if (pregnancy == null)
|
||||
if (pregnancy == null) // Support pregnancy list, maybe split off into function
|
||||
{
|
||||
Configurations.PregnancyType usePregnancy = xxx.is_human(Pawn) ? Configurations.PregnancySource : Configurations.PregnancyType.MultiplePregnancy;
|
||||
switch (usePregnancy)
|
||||
|
|
@ -1499,7 +1499,7 @@ namespace RJW_Menstruation
|
|||
|
||||
case Configurations.PregnancyType.MultiplePregnancy:
|
||||
if (Configurations.Debug) Log.Message($"Creating new menstruation pregnancy");
|
||||
pregnancy = Hediff_BasePregnancy.Create<Hediff_MultiplePregnancy>(Pawn, egg.fertilizer);
|
||||
pregnancy = Hediff_BasePregnancy.Create<Hediff_MultiplePregnancy>(Pawn, egg.fertilizer); // Add fertility comp of mother
|
||||
pregnant = true;
|
||||
deadeggs.Add(egg);
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<Manifest>
|
||||
<identifier>RJW Menstruation</identifier>
|
||||
<version>1.6.2.3</version>
|
||||
<version>1.6.2.4</version>
|
||||
<dependencies>
|
||||
</dependencies>
|
||||
<incompatibleWith />
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
Version 1.6.2.4
|
||||
- Fix error on startup and missing womb status in RJW tab with RJW 6.1.4.
|
||||
|
||||
Version 1.6.2.3
|
||||
- Fix multiple breasts not appearing in the menstruation UI.
|
||||
- Status of wombs now appears in RJW main tab, contributed by GhostClinic.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue