mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Slow down nipple progress during milking, and use the increment factor setting
This commit is contained in:
parent
e0855fdf24
commit
395c6784b8
5 changed files with 6 additions and 13 deletions
Binary file not shown.
Binary file not shown.
|
@ -29,11 +29,8 @@ namespace MilkModule
|
|||
}
|
||||
|
||||
protected override void PostTickAction()
|
||||
{
|
||||
if (breastcomp != null)
|
||||
{
|
||||
breastcomp.AdjustNippleProgress(Rand.Range(0.0f, 0.01f));
|
||||
}
|
||||
{
|
||||
breastcomp?.AdjustNippleProgress(Rand.Range(0.0f, 0.000005f) * Configurations.MaxNippleIncrementFactor);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -15,18 +15,13 @@ namespace MilkModule
|
|||
}
|
||||
}
|
||||
|
||||
[HarmonyPatch(typeof(HumanCompHasGatherableBodyResource), "Gathered")]
|
||||
[HarmonyPatch(typeof(HumanCompHasGatherableBodyResource), nameof(HumanCompHasGatherableBodyResource.Gathered))]
|
||||
public static class Milk_Patch
|
||||
{
|
||||
public static void Postfix(HumanCompHasGatherableBodyResource __instance)
|
||||
{
|
||||
HediffComp_Breast comp = null;
|
||||
if (__instance.parent is Pawn pawn) comp = pawn.GetBreastComp();
|
||||
if (comp != null)
|
||||
{
|
||||
comp.AdjustNippleProgress(Rand.Range(0.0f, 0.01f));
|
||||
}
|
||||
|
||||
if (__instance.parent is Pawn pawn)
|
||||
pawn.GetBreastComp()?.AdjustNippleProgress(Rand.Range(0.0f, 0.000005f) * Configurations.MaxNippleIncrementFactor);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@ Version 1.0.7.4
|
|||
- Induced ovulators will start with a lower number of eggs, but reasonably enough for a long breeding life. IUDs or sex with poor fertility partners may result in early menopause.
|
||||
- Pawns on caravans and in transport pods will still be simulated.
|
||||
- Updated max size areola images by wruf.
|
||||
- Substantially reduce the speed of nipple variance during milking and respect the max nipple increment setting.
|
||||
- Title addition on pregnancy removed to match RJW 5.1.0.
|
||||
- Improve compatibility with RJW 5.1.0 for multiple wombs.
|
||||
|
||||
|
|
Loading…
Reference in a new issue