mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Add option to disable GatherCum gizmo
This commit is contained in:
parent
454f50c97c
commit
7d22c91433
4 changed files with 14 additions and 7 deletions
|
@ -44,7 +44,7 @@
|
||||||
<Option7_Label>cycle accelerate</Option7_Label>
|
<Option7_Label>cycle accelerate</Option7_Label>
|
||||||
<Option7_Desc>accelerate menstrution cycle This can cause early menopause and infertility. Setting this lower than x12 is recommended. Rimworld's timescale: x6(default) </Option7_Desc>
|
<Option7_Desc>accelerate menstrution cycle This can cause early menopause and infertility. Setting this lower than x12 is recommended. Rimworld's timescale: x6(default) </Option7_Desc>
|
||||||
<Option8_Label>Debug</Option8_Label>
|
<Option8_Label>Debug</Option8_Label>
|
||||||
<Option8_Desc>Show debug informations. Also overrides "Fetus information level" to All</Option8_Desc>
|
<Option8_Desc>Show debug informations. Also overrides "Fetus information level" to All</Option8_Desc>
|
||||||
<Option9_Label>womb status</Option9_Label>
|
<Option9_Label>womb status</Option9_Label>
|
||||||
<Option9_Desc>draw womb icon in status window</Option9_Desc>
|
<Option9_Desc>draw womb icon in status window</Option9_Desc>
|
||||||
<Option10_Label>vagina and breast status</Option10_Label>
|
<Option10_Label>vagina and breast status</Option10_Label>
|
||||||
|
@ -101,6 +101,7 @@
|
||||||
<Option31_Desc>Enable permanent vagina stretch after birth. If you are using another mod handling this, turn off this option.</Option31_Desc>
|
<Option31_Desc>Enable permanent vagina stretch after birth. If you are using another mod handling this, turn off this option.</Option31_Desc>
|
||||||
<Option32_Label>Morph power</Option32_Label>
|
<Option32_Label>Morph power</Option32_Label>
|
||||||
<Option32_Desc>Set morph power.</Option32_Desc>
|
<Option32_Desc>Set morph power.</Option32_Desc>
|
||||||
|
<Option_EnableGatherCumGizmo_Label>Enable Gather Cum Gizmo</Option_EnableGatherCumGizmo_Label>
|
||||||
<EstimatedCumLifespan>Estimated sperm lifespan</EstimatedCumLifespan>
|
<EstimatedCumLifespan>Estimated sperm lifespan</EstimatedCumLifespan>
|
||||||
<EstimatedEggLifespan>Estimated egg lifespan</EstimatedEggLifespan>
|
<EstimatedEggLifespan>Estimated egg lifespan</EstimatedEggLifespan>
|
||||||
<FertilityDesc>Chance of fertilization within an hour: {0}% The chance of pregnancy of fertilized egg. The white overlay is indicates fertilization chance of sperms in womb.</FertilityDesc>
|
<FertilityDesc>Chance of fertilization within an hour: {0}% The chance of pregnancy of fertilized egg. The white overlay is indicates fertilization chance of sperms in womb.</FertilityDesc>
|
||||||
|
|
|
@ -54,6 +54,7 @@ namespace RJW_Menstruation
|
||||||
public static int MaxEnzygoticTwins = MaxEnzygoticTwinsDefault;
|
public static int MaxEnzygoticTwins = MaxEnzygoticTwinsDefault;
|
||||||
public static int BleedingAmount = BleedingAmountDefault;
|
public static int BleedingAmount = BleedingAmountDefault;
|
||||||
public static bool EnableButtonInHT = false;
|
public static bool EnableButtonInHT = false;
|
||||||
|
public static bool EnableGatherCumGizmo = true;
|
||||||
public static PawnFlags ShowFlag = PawnFlags.Colonist | PawnFlags.Prisoner;
|
public static PawnFlags ShowFlag = PawnFlags.Colonist | PawnFlags.Prisoner;
|
||||||
public static bool UseHybridExtention = true;
|
public static bool UseHybridExtention = true;
|
||||||
public static bool MotherFirst = false;
|
public static bool MotherFirst = false;
|
||||||
|
@ -81,6 +82,7 @@ namespace RJW_Menstruation
|
||||||
CumDecayRatioAdjust = CumDecayRatioAdjustDefault;
|
CumDecayRatioAdjust = CumDecayRatioAdjustDefault;
|
||||||
CumFertilityDecayRatioAdjust = CumFertilityDecayRatioAdjustDefault;
|
CumFertilityDecayRatioAdjust = CumFertilityDecayRatioAdjustDefault;
|
||||||
EnableWombIcon = true;
|
EnableWombIcon = true;
|
||||||
|
EnableGatherCumGizmo = true;
|
||||||
EnableAnimalCycle = false;
|
EnableAnimalCycle = false;
|
||||||
CycleAcceleration = CycleAccelerationDefault;
|
CycleAcceleration = CycleAccelerationDefault;
|
||||||
EnzygoticTwinsChanceAdjust = EnzygoticTwinsChanceAdjustDefault;
|
EnzygoticTwinsChanceAdjust = EnzygoticTwinsChanceAdjustDefault;
|
||||||
|
@ -195,6 +197,7 @@ namespace RJW_Menstruation
|
||||||
Scribe_Values.Look(ref MaxEnzygoticTwins, "MaxEnzygoticTwins", MaxEnzygoticTwins, true);
|
Scribe_Values.Look(ref MaxEnzygoticTwins, "MaxEnzygoticTwins", MaxEnzygoticTwins, true);
|
||||||
Scribe_Values.Look(ref BleedingAmount, "BleedingAmount", BleedingAmount, true);
|
Scribe_Values.Look(ref BleedingAmount, "BleedingAmount", BleedingAmount, true);
|
||||||
Scribe_Values.Look(ref EnableButtonInHT, "EnableButtonInHT", EnableButtonInHT, true);
|
Scribe_Values.Look(ref EnableButtonInHT, "EnableButtonInHT", EnableButtonInHT, true);
|
||||||
|
Scribe_Values.Look(ref EnableGatherCumGizmo, "EnableGatherCumGizmo", true, true);
|
||||||
Scribe_Values.Look(ref ShowFlag, "ShowFlag", ShowFlag, true);
|
Scribe_Values.Look(ref ShowFlag, "ShowFlag", ShowFlag, true);
|
||||||
Scribe_Values.Look(ref UseHybridExtention, "UseHybridExtention", UseHybridExtention, true);
|
Scribe_Values.Look(ref UseHybridExtention, "UseHybridExtention", UseHybridExtention, true);
|
||||||
Scribe_Values.Look(ref MotherFirst, "MotherFirst", MotherFirst, true);
|
Scribe_Values.Look(ref MotherFirst, "MotherFirst", MotherFirst, true);
|
||||||
|
@ -266,10 +269,11 @@ namespace RJW_Menstruation
|
||||||
Widgets.BeginScrollView(outRect, ref scroll, mainRect);
|
Widgets.BeginScrollView(outRect, ref scroll, mainRect);
|
||||||
listmain.Begin(mainRect);
|
listmain.Begin(mainRect);
|
||||||
listmain.Gap(20f);
|
listmain.Gap(20f);
|
||||||
Rect optionrect1 = listmain.GetRect(30f);
|
Rect firstLine = listmain.GetRect(30f);
|
||||||
Widgets.CheckboxLabeled(optionrect1.LeftHalf(), Translations.Option1_Label_1, ref Configurations.EnableWombIcon,false,null,null,true);
|
firstLine.SplitVertically(firstLine.width / 3, out Rect leftCell, out Rect middleAndRightCells);
|
||||||
Widgets.CheckboxLabeled(optionrect1.RightHalf(), Translations.Option1_Label_2, ref Configurations.EnableButtonInHT, false, null, null, true);
|
Widgets.CheckboxLabeled(leftCell, Translations.Option1_Label_1, ref Configurations.EnableWombIcon, false, null, null, true);
|
||||||
//listmain.CheckboxLabeled(Translations.Option1_Label, ref Configurations.EnableWombIcon, Translations.Option1_Desc);
|
Widgets.CheckboxLabeled(middleAndRightCells.LeftHalf(), Translations.Option1_Label_2, ref Configurations.EnableButtonInHT, false, null, null, true);
|
||||||
|
Widgets.CheckboxLabeled(middleAndRightCells.RightHalf(), Translations.Option_EnableGatherCumGizmo_Label, ref Configurations.EnableGatherCumGizmo, false, null, null, true);
|
||||||
if (Configurations.EnableWombIcon || Configurations.EnableButtonInHT)
|
if (Configurations.EnableWombIcon || Configurations.EnableButtonInHT)
|
||||||
{
|
{
|
||||||
Listing_Standard wombsection = listmain.BeginSection(400);
|
Listing_Standard wombsection = listmain.BeginSection(400);
|
||||||
|
|
|
@ -107,6 +107,7 @@ namespace RJW_Menstruation
|
||||||
public static readonly string Option31_Desc = "Option31_Desc".Translate();
|
public static readonly string Option31_Desc = "Option31_Desc".Translate();
|
||||||
public static readonly string Option32_Label = "Option32_Label".Translate();
|
public static readonly string Option32_Label = "Option32_Label".Translate();
|
||||||
public static readonly string Option32_Desc = "Option32_Desc".Translate();
|
public static readonly string Option32_Desc = "Option32_Desc".Translate();
|
||||||
|
public static readonly string Option_EnableGatherCumGizmo_Label = "Option_EnableGatherCumGizmo_Label".Translate();
|
||||||
|
|
||||||
public static readonly string Button_ResetToDefault = "Button_ResetToDefault".Translate();
|
public static readonly string Button_ResetToDefault = "Button_ResetToDefault".Translate();
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@ namespace RJW_Menstruation.Sexperience
|
||||||
{
|
{
|
||||||
public static void Postfix(Pawn pawn, HediffComp_Menstruation comp, ref List<Gizmo> __result)
|
public static void Postfix(Pawn pawn, HediffComp_Menstruation comp, ref List<Gizmo> __result)
|
||||||
{
|
{
|
||||||
|
if (Configurations.EnableGatherCumGizmo)
|
||||||
__result.Add(CreateGizmo_GatherCum(comp));
|
__result.Add(CreateGizmo_GatherCum(comp));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue