RJW-Sexperience/RJWSexperience/IdeologyAddon/Ideology/Rituals/LordJob_Rituals.cs
moreoreganostodump 71fef3848f 1.0.2.0
2021-09-25 00:14:02 +09:00

30 lines
864 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;
using Verse.AI;
using RimWorld;
namespace RJWSexperience.Ideology
{
public class LordJob_Ritual_Gangbang : LordJob_Ritual
{
public LordJob_Ritual_Gangbang() { }
public LordJob_Ritual_Gangbang(string targetID ,TargetInfo selectedTarget, Precept_Ritual ritual, RitualObligation obligation, List<RitualStage> allStages, RitualRoleAssignments assignments, Pawn organizer = null) : base(selectedTarget, ritual, obligation, allStages, assignments, organizer)
{
foreach (RitualRole ritualRole in assignments.AllRolesForReading)
{
if (ritualRole != null && ritualRole.id.Contains(targetID))
{
Pawn item = assignments.FirstAssignedPawn(ritualRole);
pawnsDeathIgnored.Add(item);
}
}
}
}
}