rjw-genes/Source/Genes/Life_Force/MentalStates/LifeForceMentalStateWorker.cs
2024-05-26 23:41:32 +02:00

14 lines
312 B
C#

using System;
using Verse;
using Verse.AI;
using rjw;
namespace RJW_Genes
{
public class LifeForceMentalStateWorker : MentalStateWorker
{
public override bool StateCanOccur(Pawn pawn)
{
return base.StateCanOccur(pawn) && (xxx.is_human(pawn) && JobGiver_LifeForce_RandomRape.can_rape(pawn));
}
}
}