coffees-rjw-ideology-addons/CRIAOrgy/Source/RitualOutcomeEffectWorkers/RitualOutcomeEffectWorker_Orgy.cs

41 lines
1 KiB
C#
Raw Permalink Normal View History

2021-07-28 06:37:21 +00:00
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;
using RimWorld;
using rjw;
using UnityEngine;
namespace CRIAOrgy
{
public class RitualOutcomeEffectWorker_Orgy : RitualOutcomeEffectWorker_FromQuality
{
2021-07-28 13:21:35 +00:00
public RitualOutcomeEffectWorker_Orgy()
{
2023-02-06 03:17:06 +00:00
2021-07-28 13:21:35 +00:00
}
public RitualOutcomeEffectWorker_Orgy(RitualOutcomeEffectDef def) : base(def)
{
}
2021-07-28 06:37:21 +00:00
public override void Apply(float progress, Dictionary<Pawn, int> totalPresence, LordJob_Ritual jobRitual)
{
foreach (KeyValuePair<Pawn, int> keyValuePair in totalPresence)
{
Pawn participant = keyValuePair.Key;
participant.mindState.Notify_OutfitChanged();
GlobalTextureAtlasManager.TryMarkPawnFrameSetDirty(participant);
if (xxx.is_human(participant))
2024-06-21 02:36:21 +00:00
participant.Drawer.renderer.renderTree.SetDirty();
2021-07-28 06:37:21 +00:00
}
base.Apply(progress, totalPresence, jobRitual);
}
}
}