rimworld-animations/1.6/Source/Animations/PawnTests/RJW/PawnTest_RJWRape.cs

19 lines
430 B
C#

using rjw;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;
namespace Rimworld_Animations
{
public class PawnTest_RJWRape : BasePawnTest
{
public override bool PawnTest(Pawn pawn)
{
return pawn?.jobs?.curDriver is JobDriver_Sex pawnSexJobDriver
&& pawnSexJobDriver.Sexprops.isRape;
}
}
}