mirror of
https://gitgud.io/c0ffeeeeeeee/coffees-rjw-ideology-addons.git
synced 2024-08-14 23:57:38 +00:00
bugfixes
This commit is contained in:
parent
40c79dd0cd
commit
ef4b1dc57e
4 changed files with 24 additions and 13 deletions
Binary file not shown.
|
@ -48,9 +48,15 @@
|
||||||
<workerClass>CRIALactation.ThoughtWorker_Precept_Lactating_Essential</workerClass>
|
<workerClass>CRIALactation.ThoughtWorker_Precept_Lactating_Essential</workerClass>
|
||||||
<stages>
|
<stages>
|
||||||
<li>
|
<li>
|
||||||
<label>producing milk</label>
|
<label>producing milk (hucow)</label>
|
||||||
<description>I'm a good cow to be producing milk. Moo!</description>
|
<description>I'm a good cow to be producing milk. Moo!</description>
|
||||||
<baseMoodEffect>8</baseMoodEffect>
|
<baseMoodEffect>7</baseMoodEffect>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<label>producing milk</label>
|
||||||
|
<description>I'm glad I can support my colony by producing some milk.</description>
|
||||||
|
<baseMoodEffect>3</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -23,28 +23,30 @@ namespace CRIALactation
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(!LactationUtility.HasMilkableBreasts(p))
|
if(!LactationUtility.HasMilkableBreasts(p))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (LactationUtility.IsHucow(p))
|
||||||
if(LactationUtility.IsLactating(p))
|
|
||||||
{
|
{
|
||||||
return ThoughtState.ActiveAtStage(0);
|
return ThoughtState.ActiveAtStage(0);
|
||||||
}
|
}
|
||||||
|
if (LactationUtility.IsLactating(p))
|
||||||
|
{
|
||||||
|
return ThoughtState.ActiveAtStage(1);
|
||||||
|
}
|
||||||
|
|
||||||
if(ExpectationsUtility.CurrentExpectationFor(p).order <= ExpectationDefOf.VeryLow.order)
|
if(ExpectationsUtility.CurrentExpectationFor(p).order <= ExpectationDefOf.VeryLow.order)
|
||||||
{
|
{
|
||||||
return ThoughtState.ActiveAtStage(1);
|
return ThoughtState.ActiveAtStage(2);
|
||||||
}
|
}
|
||||||
else if(ExpectationsUtility.CurrentExpectationFor(p).order <= ExpectationDefOf.Moderate.order)
|
else if(ExpectationsUtility.CurrentExpectationFor(p).order <= ExpectationDefOf.Moderate.order)
|
||||||
{
|
{
|
||||||
return ThoughtState.ActiveAtStage(2);
|
return ThoughtState.ActiveAtStage(3);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return ThoughtState.ActiveAtStage(3);
|
return ThoughtState.ActiveAtStage(4);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,24 +17,27 @@ namespace CRIALactation
|
||||||
|
|
||||||
if (!LactationUtility.HasMilkableBreasts(otherPawn)) return false;
|
if (!LactationUtility.HasMilkableBreasts(otherPawn)) return false;
|
||||||
|
|
||||||
if(LactationUtility.IsLactating(otherPawn))
|
if (LactationUtility.IsHucow(otherPawn))
|
||||||
{
|
{
|
||||||
|
|
||||||
return ThoughtState.ActiveAtStage(0);
|
return ThoughtState.ActiveAtStage(0);
|
||||||
|
}
|
||||||
|
else if (LactationUtility.IsLactating(otherPawn))
|
||||||
|
{
|
||||||
|
return ThoughtState.ActiveAtStage(1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ExpectationsUtility.CurrentExpectationFor(p).order <= ExpectationDefOf.VeryLow.order)
|
if (ExpectationsUtility.CurrentExpectationFor(p).order <= ExpectationDefOf.VeryLow.order)
|
||||||
{
|
{
|
||||||
return ThoughtState.ActiveAtStage(1);
|
return ThoughtState.ActiveAtStage(2);
|
||||||
}
|
}
|
||||||
else if (ExpectationsUtility.CurrentExpectationFor(p).order <= ExpectationDefOf.Moderate.order)
|
else if (ExpectationsUtility.CurrentExpectationFor(p).order <= ExpectationDefOf.Moderate.order)
|
||||||
{
|
{
|
||||||
return ThoughtState.ActiveAtStage(2);
|
return ThoughtState.ActiveAtStage(3);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return ThoughtState.ActiveAtStage(3);
|
return ThoughtState.ActiveAtStage(4);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue