Compare commits

...

4 commits

Author SHA1 Message Date
ElToro
2963c9067b Merge branch 'dev' into 'dev'
Udder size 01 image

See merge request lutepickle/rjw_menstruation!17
2026-08-12 10:51:10 +04:00
lutepickle
d2f6562108 Apply vagina morph to Biotech births 2026-08-09 06:41:54 -07:00
lutepickle
5c83c807a3 Make InterspeciesImplantFactor public 2026-08-05 06:08:23 -07:00
DukeElToro
6f6d3d341f Udder size 01 image 2026-02-27 09:56:08 +03:00
10 changed files with 15 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 757 B

After

Width:  |  Height:  |  Size: 12 KiB

Before After
Before After

View file

@ -1971,7 +1971,7 @@ namespace RJW_Menstruation
}
}
protected float InterspeciesImplantFactor(Pawn fertilizer)
public float InterspeciesImplantFactor(Pawn fertilizer)
{
if (fertilizer.def.defName == Pawn.def.defName) return 1.0f;
else

View file

@ -1,10 +1,12 @@
using HarmonyLib;
using RimWorld;
using rjw;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using UnityEngine;
using Verse;
namespace RJW_Menstruation
@ -50,6 +52,14 @@ namespace RJW_Menstruation
{
HediffComp_Menstruation comp = __instance.GetMenstruationCompFromPregnancy();
if (comp == null) return;
if (Configurations.EnableBirthVaginaMorph)
{
HediffComp_SexPart vaginaComp = comp.parent?.TryGetComp<HediffComp_SexPart>();
if (vaginaComp == null) return;
float morph = Mathf.Max(LifeStageDefOf.HumanlikeBaby.bodySizeFactor - Mathf.Pow(vaginaComp.Size, 2), 0f);
vaginaComp.baseSize += morph * Configurations.VaginaMorphPower;
vaginaComp.UpdateSeverity();
}
comp.Pregnancy = null;
}
}

View file

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

View file

@ -1,3 +1,6 @@
Version 1.6.2.5
- The vagina morph after birth setting will now apply to Biotech pregnancies.
Version 1.6.2.4
- Fix error on startup and missing womb status in RJW tab with RJW 6.1.4.