coffees-rjw-ideology-addons/CRIAPregnancy/Source/Thoughts/ThoughtWorker_Pregnancy.cs

32 lines
679 B
C#

using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;
using RimWorld;
using rjw;
using UnityEngine;
namespace CRIAPregnancy
{
class ThoughtWorker_Pregnancy : ThoughtWorker_Precept
{
public static bool CanBePregnant(Pawn p)
{
if(p.RaceHasPregnancy()
&& Genital_Helper.has_vagina(p)
&& p.health.capacities.GetLevel(xxx.reproduction) > 0)
{
return true;
}
return false;
}
protected override ThoughtState ShouldHaveThought(Pawn p)
{
if (p)
}
}
}