mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Compare commits
No commits in common. "8752aa1437811a95c4caadc5330b27d55067cafe" and "e4583fe9d75cc6206fcebad82caa3989b609c91c" have entirely different histories.
8752aa1437
...
e4583fe9d7
7 changed files with 40 additions and 45 deletions
Binary file not shown.
|
|
@ -11,6 +11,27 @@
|
|||
|
||||
<Patch>
|
||||
<Operation Class="PatchOperationAdd">
|
||||
<xpath>/Defs/rjw.HediffDef_PartBase[defName="DogVagina"]</xpath>
|
||||
<value>
|
||||
<comps>
|
||||
<li Class="RJW_Menstruation.CompProperties_Menstruation">
|
||||
<maxCumCapacity>8</maxCumCapacity>
|
||||
<baseImplantationChanceFactor>1.0</baseImplantationChanceFactor>
|
||||
<basefertilizationChanceFactor>1.0</basefertilizationChanceFactor>
|
||||
<follicularIntervalDays>14</follicularIntervalDays>
|
||||
<lutealIntervalDays>166</lutealIntervalDays>
|
||||
<bleedingIntervalDays>8</bleedingIntervalDays>
|
||||
<recoveryIntervalDays>15</recoveryIntervalDays>
|
||||
<eggLifespanDays>4</eggLifespanDays>
|
||||
<wombTex>Womb/Womb</wombTex>
|
||||
<vagTex>Genitals/Vagina</vagTex>
|
||||
<estrusDaysBeforeOvulation>9</estrusDaysBeforeOvulation>
|
||||
</li>
|
||||
</comps>
|
||||
</value>
|
||||
</Operation>
|
||||
|
||||
<!--<Operation Class="PatchOperationAdd">
|
||||
<xpath>/Defs/rjw.HediffDef_PartBase[defName="DogVagina"]</xpath>
|
||||
<value>
|
||||
<comps>
|
||||
|
|
@ -30,7 +51,7 @@
|
|||
</li>
|
||||
</comps>
|
||||
</value>
|
||||
</Operation>
|
||||
</Operation>-->
|
||||
|
||||
<Operation Class="PatchOperationAdd">
|
||||
<xpath>/Defs/rjw.HediffDef_PartBase[defName="CatVagina"]</xpath>
|
||||
|
|
|
|||
17
1.4/Patches/MilkPatch.xml
Normal file
17
1.4/Patches/MilkPatch.xml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Patch>
|
||||
<Operation Class="PatchOperationConditional">
|
||||
<xpath>/Defs/ThingDef[defName="HumanMilk" or defName="HumanoidMilk"]/graphicData</xpath>
|
||||
<match Class="PatchOperationReplace">
|
||||
<xpath>/Defs/ThingDef[defName="HumanMilk" or defName="HumanoidMilk"]/graphicData</xpath>
|
||||
<value>
|
||||
<graphicData>
|
||||
<texPath>Things/Item/Milkbottle</texPath>
|
||||
<graphicClass>Graphic_StackCount</graphicClass>
|
||||
</graphicData>
|
||||
</value>
|
||||
</match>
|
||||
</Operation>
|
||||
|
||||
|
||||
</Patch>
|
||||
|
|
@ -744,38 +744,6 @@ namespace RJW_Menstruation
|
|||
base.CompPostPostRemoved();
|
||||
}
|
||||
|
||||
public override string CompTipStringExtra
|
||||
{
|
||||
get
|
||||
{
|
||||
StringBuilder tip = new StringBuilder();
|
||||
tip.Append(Translations.Dialog_WombInfo01);
|
||||
tip.Append(": ");
|
||||
tip.Append(GetCurStageLabel);
|
||||
string fertInfo = GetFertilizingInfo;
|
||||
if(CurrentVisibleStage == Stage.Luteal && fertInfo.Length > 0)
|
||||
{
|
||||
tip.AppendLine();
|
||||
tip.Append(fertInfo);
|
||||
}
|
||||
return tip.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual int HoursToNextStage()
|
||||
{
|
||||
return Math.Max(0,(currentIntervalHours - curStageHrs) / Configurations.CycleAcceleration);
|
||||
}
|
||||
|
||||
public override string CompDebugString()
|
||||
{
|
||||
if (curStage == Stage.None || curStage == Stage.Infertile || curStage == Stage.Pregnant) return base.CompDebugString();
|
||||
StringBuilder debugString = new StringBuilder();
|
||||
debugString.Append($"Time to next state: ");
|
||||
debugString.Append(GenDate.ToStringTicksToPeriod(HoursToNextStage() * GenDate.TicksPerHour));
|
||||
return debugString.ToString();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get fluid in womb that not a cum
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -57,12 +57,6 @@ namespace RJW_Menstruation
|
|||
Scribe_Values.Look(ref averageCycleIntervalHours, "averageCycleIntervalHours", averageCycleIntervalHours, true);
|
||||
}
|
||||
|
||||
protected override int HoursToNextStage()
|
||||
{
|
||||
if (curStage == Stage.Anestrus && hoursToNextCycle > 0) return hoursToNextCycle / Configurations.CycleAcceleration;
|
||||
else return base.HoursToNextStage();
|
||||
}
|
||||
|
||||
protected override void BleedingAction()
|
||||
{
|
||||
if (curStageHrs >= currentIntervalHours)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<Manifest>
|
||||
<identifier>RJW Menstruation</identifier>
|
||||
<version>1.0.8.7</version>
|
||||
<version>1.0.8.6</version>
|
||||
<dependencies>
|
||||
</dependencies>
|
||||
<incompatibleWith />
|
||||
|
|
|
|||
|
|
@ -1,8 +1,3 @@
|
|||
Version 1.0.8.7
|
||||
- Fix missing texture when using Milkable Colonists.
|
||||
- Canine vaginas now use the new periodic ovulator cycle.
|
||||
- Hovering over a vagina hediff will show the current state in the tooltip.
|
||||
|
||||
Version 1.0.8.6
|
||||
- Updated Traditional Chinese translation by Hydrogen.
|
||||
- Fix error when trying to terminate a non-Biotech pregnancy.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue