mirror of
https://gitgud.io/ll.mirrors/sizedapparel.git
synced 2024-08-15 00:43:40 +00:00
Mirror of 1.4.18 from Lovers Lab
This commit is contained in:
parent
ac3b77b5ba
commit
5d0da3bc88
172 changed files with 121 additions and 4 deletions
|
@ -62,6 +62,8 @@ namespace SizedApparel
|
|||
public static void Postfix(Pawn ___pawn)
|
||||
{
|
||||
var comp = ___pawn.GetComp<ApparelRecorderComp>();
|
||||
if (comp == null)
|
||||
return;
|
||||
comp.SetDirty(false,false,false,true,true);//Apparel and Hediff will be changed with other reason. just set skeleton dirty.
|
||||
}
|
||||
}
|
||||
|
@ -942,6 +944,8 @@ namespace SizedApparel
|
|||
public static void Postfix(PawnRenderer __instance, Pawn ___pawn, Vector3 shellLoc, Rot4 facing, Quaternion quat, PawnRenderFlags flags)
|
||||
{
|
||||
var comp = ___pawn.GetComp<ApparelRecorderComp>();
|
||||
if (comp == null)
|
||||
return;
|
||||
float angle;
|
||||
Vector3 v;
|
||||
//angle = Quaternion.Angle(quat, Quaternion.AngleAxis(0, Vector3.up));
|
||||
|
@ -981,6 +985,8 @@ namespace SizedApparel
|
|||
if (__result == null)
|
||||
return;
|
||||
var comp = __instance.pawn.GetComp<ApparelRecorderComp>();
|
||||
if (comp == null)
|
||||
return;
|
||||
Material sizedApparelBaseBodyMat = null;
|
||||
|
||||
if (comp.graphicbaseBodyFurCovered != null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue