mirror of
				https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
				synced 2024-08-15 00:43:45 +00:00 
			
		
		
		
	Added humanlike pawn test
This commit is contained in:
		
							parent
							
								
									31cba83bc2
								
							
						
					
					
						commit
						a458f3b83f
					
				
					 3 changed files with 18 additions and 0 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										17
									
								
								1.5/Source/Animations/PawnTests/PawnTest_Humanlike.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								1.5/Source/Animations/PawnTests/PawnTest_Humanlike.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,17 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using System.Threading.Tasks;
 | 
			
		||||
using Verse;
 | 
			
		||||
 | 
			
		||||
namespace Rimworld_Animations
 | 
			
		||||
{
 | 
			
		||||
    public class PawnTest_Humanlike : BasePawnTest
 | 
			
		||||
    {
 | 
			
		||||
        public override bool PawnTest(Pawn pawn)
 | 
			
		||||
        {
 | 
			
		||||
            return pawn.RaceProps.Humanlike;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -86,6 +86,7 @@
 | 
			
		|||
    <Compile Include="1.5\Source\Animations\AnimationProps\AnimationPropDef.cs" />
 | 
			
		||||
    <Compile Include="1.5\Source\Animations\AnimationWorkers\AnimationWorker_KeyframesExtended.cs" />
 | 
			
		||||
    <Compile Include="1.5\Source\Animations\PawnTests\BasePawnTest.cs" />
 | 
			
		||||
    <Compile Include="1.5\Source\Animations\PawnTests\PawnTest_Humanlike.cs" />
 | 
			
		||||
    <Compile Include="1.5\Source\Animations\PawnTests\PawnTest_PrisonerOfColony.cs" />
 | 
			
		||||
    <Compile Include="1.5\Source\Animations\PawnTests\PawnTest_SlaveOfColony.cs" />
 | 
			
		||||
    <Compile Include="1.5\Source\Animations\PawnTests\PawnTest_Always.cs" />
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue