From 660b26f35a52fa610566457c32c70d680c3abd48 Mon Sep 17 00:00:00 2001 From: lutepickle <28810-lutepickle@users.noreply.gitgud.io> Date: Sat, 16 Jul 2022 14:52:51 -0700 Subject: [PATCH] Rename VariousDefOf.Vagina/VaginaCompProperties (used in the config screen) to HumanVagina for clarity --- .../RJW_Menstruation/RJW_Menstruation/Configurations.cs | 2 +- 1.3/source/RJW_Menstruation/RJW_Menstruation/VariousDefOf.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/1.3/source/RJW_Menstruation/RJW_Menstruation/Configurations.cs b/1.3/source/RJW_Menstruation/RJW_Menstruation/Configurations.cs index f177914..2ef752e 100644 --- a/1.3/source/RJW_Menstruation/RJW_Menstruation/Configurations.cs +++ b/1.3/source/RJW_Menstruation/RJW_Menstruation/Configurations.cs @@ -242,7 +242,7 @@ namespace RJW_Menstruation { get { - int days = VariousDefOf.VaginaCompProperties.bleedingIntervalDays; + int days = VariousDefOf.HumanVaginaCompProperties.bleedingIntervalDays; return days * 0.03f * Configurations.BleedingAmount * 6; } } diff --git a/1.3/source/RJW_Menstruation/RJW_Menstruation/VariousDefOf.cs b/1.3/source/RJW_Menstruation/RJW_Menstruation/VariousDefOf.cs index a052799..036b4e8 100644 --- a/1.3/source/RJW_Menstruation/RJW_Menstruation/VariousDefOf.cs +++ b/1.3/source/RJW_Menstruation/RJW_Menstruation/VariousDefOf.cs @@ -39,8 +39,8 @@ namespace RJW_Menstruation public static readonly ThoughtDef UnwantedPregnancyMild = DefDatabase.GetNamed("UnwantedPregnancyMild"); public static readonly ThoughtDef TookContraceptivePill = DefDatabase.GetNamed("TookContraceptivePill"); public static readonly ThoughtDef HateTookContraceptivePill = DefDatabase.GetNamed("HateTookContraceptivePill"); - public static readonly HediffDef_PartBase Vagina = DefDatabase.GetNamed("Vagina"); - public static readonly CompProperties_Menstruation VaginaCompProperties = (CompProperties_Menstruation)Vagina.comps.FirstOrDefault(x => x is CompProperties_Menstruation); + public static readonly HediffDef_PartBase HumanVagina = DefDatabase.GetNamed("Vagina"); + public static readonly CompProperties_Menstruation HumanVaginaCompProperties = (CompProperties_Menstruation)HumanVagina.comps.FirstOrDefault(x => x is CompProperties_Menstruation); public static readonly KeyBindingDef OpenStatusWindowKey = DefDatabase.GetNamed("OpenStatusWindow"); public static readonly PawnColumnDef RJW_EarnedMoneyByWhore = DefDatabase.GetNamed("RJW_EarnedMoneyByWhore"); public static readonly RecordDef AmountofCreampied = DefDatabase.GetNamed("AmountofCreampied");