mirror of
https://gitgud.io/c0ffeeeeeeee/coffees-rjw-ideology-addons.git
synced 2024-08-14 23:57:38 +00:00
lactation precepts
This commit is contained in:
parent
edada8ff48
commit
5752647b4f
10 changed files with 231 additions and 17 deletions
|
@ -15,13 +15,16 @@ namespace CRIALactation
|
|||
|
||||
protected override ThoughtState ShouldHaveThought(Pawn p)
|
||||
{
|
||||
|
||||
if (!p.IsColonistPlayerControlled) return false;
|
||||
|
||||
if (ThoughtUtility.ThoughtNullified(p, this.def))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
if (!Genital_Helper.has_breasts(p) || Genital_Helper.has_male_breasts(p))
|
||||
if(!LactationUtility.HasMilkableBreasts(p))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -31,8 +34,18 @@ namespace CRIALactation
|
|||
return ThoughtState.ActiveAtStage(0);
|
||||
}
|
||||
|
||||
return ThoughtState.ActiveAtStage(1);
|
||||
|
||||
if(ExpectationsUtility.CurrentExpectationFor(p).order <= ExpectationDefOf.VeryLow.order)
|
||||
{
|
||||
return ThoughtState.ActiveAtStage(1);
|
||||
}
|
||||
else if(ExpectationsUtility.CurrentExpectationFor(p).order <= ExpectationDefOf.Moderate.order)
|
||||
{
|
||||
return ThoughtState.ActiveAtStage(2);
|
||||
}
|
||||
else
|
||||
{
|
||||
return ThoughtState.ActiveAtStage(3);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue