Fix the 'consealed' typo

This commit is contained in:
lutepickle 2022-03-18 07:14:14 -07:00
parent 052b7661e4
commit 9e8441ca2e
8 changed files with 15 additions and 15 deletions

Binary file not shown.

View file

@ -204,10 +204,10 @@
</comps>
</HediffDef>
<HediffDef Name="Hediff_Estrus_Consealed">
<HediffDef Name="Hediff_Estrus_Concealed">
<hediffClass>HediffWithComps</hediffClass>
<defName>Hediff_Estrus_Consealed</defName>
<label>Estrus(consealed)</label>
<defName>Hediff_Estrus_Concealed</defName>
<label>Estrus(concealed)</label>
<labelNoun>estrus</labelNoun>
<description>estrus</description>
<defaultLabelColor>(1.00,0.60,0.75)</defaultLabelColor>

View file

@ -16,8 +16,8 @@
<Hediff_Menopause.description>임신할수 없습니다.</Hediff_Menopause.description>
<Hediff_Estrus.label>발정기</Hediff_Estrus.label>
<Hediff_Estrus.description>발정기입니다.</Hediff_Estrus.description>
<Hediff_Estrus_Consealed.label>발정기(숨김)</Hediff_Estrus_Consealed.label>
<Hediff_Estrus_Consealed.description>발정기입니다.</Hediff_Estrus_Consealed.description>
<Hediff_Estrus_Concealed.label>발정기(숨김)</Hediff_Estrus_Concealed.label>
<Hediff_Estrus_Concealed.description>발정기입니다.</Hediff_Estrus_Concealed.description>
<Hediff_PainReliever.label>진통제</Hediff_PainReliever.label>
<Hediff_PainReliever.description>약간의 고통을 줄여줍니다.</Hediff_PainReliever.description>

View file

@ -25,7 +25,7 @@
<wombTex>Womb/Womb</wombTex>
<vagTex>Genitals/Vagina</vagTex>
<ovaryPower>420</ovaryPower>
<consealedEstrus>true</consealedEstrus>
<concealedEstrus>true</concealedEstrus>
</li>
</comps>
</value>
@ -97,7 +97,7 @@
<eggLifespanDays>3</eggLifespanDays>
<wombTex>Womb/Womb</wombTex>
<vagTex>Genitals/Vagina</vagTex>
<consealedEstrus>true</consealedEstrus>
<concealedEstrus>true</concealedEstrus>
</li>
</comps>
</value>

View file

@ -136,7 +136,7 @@
<eggLifespanDays>1</eggLifespanDays>
<wombTex>Womb/Womb</wombTex>
<vagTex>Genitals/Vagina</vagTex>
<consealedEstrus>true</consealedEstrus>
<concealedEstrus>true</concealedEstrus>
</li>
</comps>
</value>
@ -158,7 +158,7 @@
<eggLifespanDays>1</eggLifespanDays>
<wombTex>Womb/Womb</wombTex>
<vagTex>Genitals/Vagina</vagTex>
<consealedEstrus>true</consealedEstrus>
<concealedEstrus>true</concealedEstrus>
</li>
</comps>
</value>

View file

@ -25,7 +25,7 @@
<wombTex>Womb/Womb</wombTex>
<vagTex>Genitals/Vagina</vagTex>
<ovaryPower>620</ovaryPower>
<consealedEstrus>true</consealedEstrus>
<concealedEstrus>true</concealedEstrus>
</li>
</comps>
</value>
@ -59,7 +59,7 @@
<wombTex>Womb/Womb</wombTex>
<vagTex>Genitals/Vagina</vagTex>
<ovaryPower>620</ovaryPower>
<consealedEstrus>true</consealedEstrus>
<concealedEstrus>true</concealedEstrus>
</li>
</comps>
</value>
@ -95,7 +95,7 @@
<wombTex>Womb/Womb</wombTex>
<vagTex>Genitals/Vagina</vagTex>
<ovaryPower>420</ovaryPower>
<consealedEstrus>true</consealedEstrus>
<concealedEstrus>true</concealedEstrus>
</li>
</comps>
</value>

View file

@ -37,7 +37,7 @@ namespace RJW_Menstruation
public string vagTex = "Genitals/Vagina"; //fertiledays = ovaluationday - spermlifespan ~ ovaluationday + egglifespanday
public bool infertile = false;
public int ovaryPower = 600000000; // default: almost unlimited ovulation
public bool consealedEstrus = false;
public bool concealedEstrus = false;
public SeasonalBreed breedingSeason = SeasonalBreed.Always;
public int estrusDaysBeforeOvulation = 3;
@ -993,7 +993,7 @@ namespace RJW_Menstruation
public void SetEstrus(int days)
{
HediffDef estrusdef;
if (Props.consealedEstrus) estrusdef = VariousDefOf.Hediff_Estrus_Consealed;
if (Props.concealedEstrus) estrusdef = VariousDefOf.Hediff_Estrus_Concealed;
else estrusdef = VariousDefOf.Hediff_Estrus;
HediffWithComps hediff = (HediffWithComps)parent.pawn.health.hediffSet.GetFirstHediffOfDef(estrusdef);

View file

@ -19,7 +19,7 @@ namespace RJW_Menstruation
public static readonly HediffDef Hediff_Climacteric = DefDatabase<HediffDef>.GetNamed("Hediff_Climacteric");
public static readonly HediffDef Hediff_Menopause = DefDatabase<HediffDef>.GetNamed("Hediff_Menopause");
public static readonly HediffDef Hediff_Estrus = DefDatabase<HediffDef>.GetNamed("Hediff_Estrus");
public static readonly HediffDef Hediff_Estrus_Consealed = DefDatabase<HediffDef>.GetNamed("Hediff_Estrus_Consealed");
public static readonly HediffDef Hediff_Estrus_Concealed = DefDatabase<HediffDef>.GetNamed("Hediff_Estrus_Concealed");
public static readonly HediffDef Hediff_ASA = DefDatabase<HediffDef>.GetNamed("Hediff_ASA");
public static readonly StatDef MaxAbsorbable = DefDatabase<StatDef>.GetNamed("MaxAbsorbable");
public static readonly PawnRelationDef Relation_birthgiver = DefDatabase<PawnRelationDef>.AllDefs.FirstOrDefault(d => d.defName == "RJW_Sire");