using Verse;
using RimWorld;

namespace SCE
{
    public class RitualPosition_ConditionalTargetDef : RitualPosition_Conditional
    {
        public ThingDef def;

        public override bool CanUseInt(IntVec3 spot, Pawn p, LordJob_Ritual ritual)
        {
            return ritual.selectedTarget.Thing.def == def;
        }

        public override void ExposeData()
        {
            base.ExposeData();
            Scribe_Defs.Look(ref def, "def");
        }
    }
}