mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2026-08-22 11:43:22 +00:00
Compare commits
1 commit
9034debc0c
...
222507ad2f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
222507ad2f |
7 changed files with 0 additions and 11 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,12 +1,10 @@
|
||||||
using HarmonyLib;
|
using HarmonyLib;
|
||||||
using RimWorld;
|
using RimWorld;
|
||||||
using rjw;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Reflection.Emit;
|
using System.Reflection.Emit;
|
||||||
using UnityEngine;
|
|
||||||
using Verse;
|
using Verse;
|
||||||
|
|
||||||
namespace RJW_Menstruation
|
namespace RJW_Menstruation
|
||||||
|
|
@ -52,14 +50,6 @@ namespace RJW_Menstruation
|
||||||
{
|
{
|
||||||
HediffComp_Menstruation comp = __instance.GetMenstruationCompFromPregnancy();
|
HediffComp_Menstruation comp = __instance.GetMenstruationCompFromPregnancy();
|
||||||
if (comp == null) return;
|
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;
|
comp.Pregnancy = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
Version 1.6.2.5
|
Version 1.6.2.5
|
||||||
- The vagina morph after birth setting will now apply to Biotech pregnancies.
|
|
||||||
|
|
||||||
Version 1.6.2.4
|
Version 1.6.2.4
|
||||||
- Fix error on startup and missing womb status in RJW tab with RJW 6.1.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