mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2026-06-18 19:35:58 +00:00
21 lines
632 B
C#
21 lines
632 B
C#
using RimWorld;
|
|
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_RJWInitiator : BasePawnTest
|
|
{
|
|
List<InteractionDef> interactionDefs = new List<InteractionDef>();
|
|
public override bool PawnTest(Pawn pawn)
|
|
{
|
|
return pawn.jobs?.curDriver is JobDriver_SexBaseInitiator jobDriver_SexBaseInitiator
|
|
&& (interactionDefs.Empty() || interactionDefs.ContainsAny(x => x == jobDriver_SexBaseInitiator.Sexprops.dictionaryKey));
|
|
}
|
|
}
|
|
}
|