File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,8 +24,15 @@ const HOSTILE: i8 = 70;
2424const KHAJIIT_ANIMATIONS : [ & str ; 2 ] = [ "t_els_ohmes-raht" , "t_els_suthay" ] ;
2525const KHAJIIT_F : & str = "epos_kha_upr_anim_f.nif" ;
2626const KHAJIIT_M : & str = "epos_kha_upr_anim_m.nif" ;
27+ const TSAESCI : & str = "pi_tsa_base_anim.nif" ;
2728
28- fn check_khajiit_animations ( npc : & Npc ) {
29+ fn check_racial_animations ( npc : & Npc ) {
30+ if npc. race . eq_ignore_ascii_case ( "T_Aka_Tsaesci" ) {
31+ if !npc. mesh . eq_ignore_ascii_case ( TSAESCI ) {
32+ println ! ( "Npc {} is not using animation {}" , npc. id, TSAESCI ) ;
33+ }
34+ return ;
35+ }
2936 let requires_animations = KHAJIIT_ANIMATIONS . contains ( & npc. race . to_ascii_lowercase ( ) . as_str ( ) ) ;
3037 let mesh = & npc. mesh ;
3138 if requires_animations {
@@ -62,7 +69,7 @@ impl Handler<'_> for NpcValidator {
6269 ) ;
6370 }
6471 }
65- check_khajiit_animations ( npc) ;
72+ check_racial_animations ( npc) ;
6673 }
6774 }
6875
You can’t perform that action at this time.
0 commit comments