mirror of
				https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
				synced 2024-08-15 00:43:45 +00:00 
			
		
		
		
	fixes for futa/male and futa/futa anim role selection
This commit is contained in:
		
							parent
							
								
									82d1e2f614
								
							
						
					
					
						commit
						eb7fe1a280
					
				
					 2 changed files with 4 additions and 9 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -22,16 +22,10 @@ namespace Rimworld_Animations {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            InteractionWithExtension interaction = InteractionHelper.GetWithExtension(sexProps.dictionaryKey);
 | 
					            InteractionWithExtension interaction = InteractionHelper.GetWithExtension(sexProps.dictionaryKey);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
            if(interaction.HasInteractionTag(InteractionTag.Reverse))
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
                Pawn buffer = participants[1];
 | 
					 | 
				
			||||||
                participants[1] = participants[0];
 | 
					 | 
				
			||||||
                participants[0] = buffer;
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            participants =
 | 
					            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))
 | 
					                .OrderBy(p => rjw.xxx.can_fuck(p))
 | 
				
			||||||
                .ToList();
 | 
					                .ToList();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -136,6 +130,7 @@ namespace Rimworld_Animations {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                return true;
 | 
					                return true;
 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            List<AnimationDef> optionsWithInteractionType = options.ToList().FindAll(x => x.interactionDefTypes != null && x.interactionDefTypes.Contains(sexProps.sexType.ToStringSafe()));
 | 
					            List<AnimationDef> optionsWithInteractionType = options.ToList().FindAll(x => x.interactionDefTypes != null && x.interactionDefTypes.Contains(sexProps.sexType.ToStringSafe()));
 | 
				
			||||||
            if (optionsWithInteractionType.Any()) {
 | 
					            if (optionsWithInteractionType.Any()) {
 | 
				
			||||||
                if (AnimationSettings.debugMode)
 | 
					                if (AnimationSettings.debugMode)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue