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

namespace SCE
{
    public class StageEndTrigger_SexFinished : StageEndTrigger
    {
        public string role;

        public override Trigger MakeTrigger(LordJob_Ritual ritual, TargetInfo spot, IEnumerable<TargetInfo> foci, RitualStage stage)
        {
            var trigger = new Trigger_SexFinished();
            trigger.pawn = ritual.PawnWithRole(role);
            return trigger;
        }

        public override void ExposeData()
        {
            Scribe_Values.Look(ref role, "roleID");
        }
    }
}