mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2026-08-22 03:35:10 +00:00
Compare commits
4 commits
e46e42a7fb
...
2963c9067b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2963c9067b | ||
|
|
d2f6562108 | ||
|
|
5c83c807a3 | ||
|
|
6f6d3d341f |
10 changed files with 15 additions and 2 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 757 B After Width: | Height: | Size: 12 KiB |
Binary file not shown.
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 />
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue