Compare commits

..

1 commit

Author SHA1 Message Date
Hikaro
2adc4c3af1 Merge branch 'dev' into 'dev'
Ukrainian localization

See merge request lutepickle/rjw_menstruation!8
2026-06-09 08:36:34 +03:00
9 changed files with 2 additions and 15 deletions

Binary file not shown.

Binary file not shown.

View file

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

View file

@ -1,12 +1,10 @@
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
@ -52,14 +50,6 @@ 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.5</version>
<version>1.6.2.4</version>
<dependencies>
</dependencies>
<incompatibleWith />

View file

@ -1,6 +1,3 @@
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.