mirror of
				https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
				synced 2024-08-15 00:43:45 +00:00 
			
		
		
		
	better futa ordering for anims
This commit is contained in:
		
							parent
							
								
									94aca1c46b
								
							
						
					
					
						commit
						00d8a0be4b
					
				
					 3 changed files with 3 additions and 3 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -19,11 +19,11 @@ namespace Rimworld_Animations {
 | 
			
		|||
            //aggressors last
 | 
			
		||||
            participants = participants.OrderBy(p => p.jobs.curDriver is rjw.JobDriver_SexBaseInitiator).ToList();
 | 
			
		||||
 | 
			
		||||
            participants = participants.OrderByDescending(p => rjw.GenderHelper.GetSex(p) == rjw.GenderHelper.Sex.futa).ToList();
 | 
			
		||||
 | 
			
		||||
            //pawns that can fuck last
 | 
			
		||||
            participants = participants.OrderBy(p => rjw.xxx.can_fuck(p)).ToList();
 | 
			
		||||
 | 
			
		||||
            participants = participants.OrderByDescending(p => rjw.GenderHelper.GetSex(p) == rjw.GenderHelper.Sex.futa).ToList();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
            List<Pawn> localParticipants = new List<Pawn>(participants);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -29,7 +29,7 @@ namespace Rimworld_Animations {
 | 
			
		|||
 | 
			
		||||
				__instance.Animate(pawn, pawn2);
 | 
			
		||||
 | 
			
		||||
				if (!AnimationSettings.soundOverride || !pawn.TryGetComp<CompBodyAnimator>().isAnimating) {
 | 
			
		||||
				if (!AnimationSettings.soundOverride || pawn.TryGetComp<CompBodyAnimator>() == null || !pawn.TryGetComp<CompBodyAnimator>().isAnimating) {
 | 
			
		||||
					__instance.PlaySexSound();
 | 
			
		||||
				}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue