File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -558,7 +558,18 @@ public async Task<List<string>> GetMaterialFiles(int materialVariant = -1)
558
558
materials . Add ( path ) ;
559
559
}
560
560
561
- materialVariant = 1 ;
561
+ if ( Info . PrimaryId == XivRace . Hrothgar . GetRaceCodeInt ( ) )
562
+ {
563
+ // JK, Hrothgar actually have 5 material sets (that's how their fur pattern stuff is set)
564
+ for ( int i = 2 ; i <= 5 ; i ++ )
565
+ {
566
+ var mSet = i . ToString ( ) . PadLeft ( 4 , '0' ) ;
567
+ path = $ "chara/human/c{ primary } /obj/body/b{ body } /material/v{ mSet } /mt_c{ primary } b{ body } _a.mtrl";
568
+ materials . Add ( path ) ;
569
+ }
570
+ }
571
+
572
+ materialVariant = - 1 ;
562
573
}
563
574
else
564
575
{
Original file line number Diff line number Diff line change @@ -1098,9 +1098,9 @@ public static async Task<int> GetMaterialSetId(IItem item)
1098
1098
public string GetMtrlFolder ( XivDependencyRootInfo root , int materialSet = - 1 )
1099
1099
{
1100
1100
// These types have exactly one material set, but don't have an IMC file saying so.
1101
- if ( root . SecondaryType == XivItemType . hair ||
1101
+ if ( ( root . SecondaryType == XivItemType . hair ||
1102
1102
root . SecondaryType == XivItemType . body ||
1103
- root . SecondaryType == XivItemType . tail )
1103
+ root . SecondaryType == XivItemType . tail ) && materialSet <= 0 )
1104
1104
{
1105
1105
materialSet = 1 ;
1106
1106
}
You can’t perform that action at this time.
0 commit comments