using System.Collections.Generic;
using Verse;
using Verse.AI;
using RimWorld;
using rjw;

namespace SCE
{
    public static class JobUtility
    {
        public static void SetSexFailConditions(JobDriver_Sex driver)
        {
            driver.FailOnDespawnedOrNull(driver.iTarget);
            driver.FailOn(() => !driver.Partner.health.capacities.CanBeAwake);
            driver.FailOn(() => driver.pawn.Drafted);
        }
    }
}