fixes for futa/male and futa/futa anim role selection

This commit is contained in:
c0ffee 2022-11-22 11:24:41 -08:00
parent 82d1e2f614
commit eb7fe1a280
2 changed files with 4 additions and 9 deletions

View File

@ -22,16 +22,10 @@ namespace Rimworld_Animations {
InteractionWithExtension interaction = InteractionHelper.GetWithExtension(sexProps.dictionaryKey);
if(interaction.HasInteractionTag(InteractionTag.Reverse))
{
Pawn buffer = participants[1];
participants[1] = participants[0];
participants[0] = buffer;
}
participants =
participants.OrderBy(p => p.jobs.curDriver is rjw.JobDriver_SexBaseInitiator)
participants.OrderBy(p =>
p.jobs.curDriver is rjw.JobDriver_Sex
&& !(p.jobs.curDriver as rjw.JobDriver_Sex).Sexprops.isReceiver)
.OrderBy(p => rjw.xxx.can_fuck(p))
.ToList();
@ -136,6 +130,7 @@ namespace Rimworld_Animations {
return true;
});
List<AnimationDef> optionsWithInteractionType = options.ToList().FindAll(x => x.interactionDefTypes != null && x.interactionDefTypes.Contains(sexProps.sexType.ToStringSafe()));
if (optionsWithInteractionType.Any()) {
if (AnimationSettings.debugMode)