diff --git a/1.5/Source/Animations/PawnTests/PawnTest_Trait.cs b/1.5/Source/Animations/PawnTests/PawnTest_Trait.cs
new file mode 100644
index 0000000..dd67038
--- /dev/null
+++ b/1.5/Source/Animations/PawnTests/PawnTest_Trait.cs
@@ -0,0 +1,27 @@
+using RimWorld;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Verse;
+
+namespace Rimworld_Animations
+{
+ public class PawnTest_Trait : BasePawnTest
+ {
+ TraitDef traitDef;
+ int? degree;
+
+ public override bool PawnTest(Pawn pawn)
+ {
+
+ if (degree != null)
+ {
+ return pawn.story.traits.HasTrait(traitDef, (int)degree);
+ }
+
+ return pawn.story.traits.HasTrait(traitDef);
+ }
+ }
+}
diff --git a/Rimworld-Animations.csproj b/Rimworld-Animations.csproj
index b8ae4cf..9e14a16 100644
--- a/Rimworld-Animations.csproj
+++ b/Rimworld-Animations.csproj
@@ -93,6 +93,7 @@
+