using RimWorld;
using rjw;
using Verse;

namespace SCE
{
    public class PreceptComp_NonParticipantMemory : PreceptComp_KnowsMemoryThought
    {
        public override void Notify_MemberWitnessedAction(HistoryEvent ev, Precept precept, Pawn member)
        {
            if (ev.args.TryGetArg(SCEHistoryEventArgNames.SexProps, out SexProps props) && (member == props.pawn || member == props.partner))
            {
                return;
            }
            base.Notify_MemberWitnessedAction(ev, precept, member);
        }
    }
}