diff --git a/1.3/Assemblies/RJW_patch_Autopsy.dll b/1.3/Assemblies/RJW_patch_Autopsy.dll
index d9df314..71963e7 100644
Binary files a/1.3/Assemblies/RJW_patch_Autopsy.dll and b/1.3/Assemblies/RJW_patch_Autopsy.dll differ
diff --git a/About/Manifest.xml b/About/Manifest.xml
index 0c1a845..e890ac9 100644
--- a/About/Manifest.xml
+++ b/About/Manifest.xml
@@ -2,5 +2,5 @@
RJW patch - Harvest Organs Post Mortem
- 4943.0.1.4
+ 4945.0.1.4
\ No newline at end of file
diff --git a/Assemblies/RJW_patch_Autopsy.dll b/Assemblies/RJW_patch_Autopsy.dll
index d9df314..71963e7 100644
Binary files a/Assemblies/RJW_patch_Autopsy.dll and b/Assemblies/RJW_patch_Autopsy.dll differ
diff --git a/Source/RJW_patch_Autopsy/Patches/Harmony.cs b/Source/RJW_patch_Autopsy/Patches/Harmony.cs
index 2abc5c6..5d6b2f4 100644
--- a/Source/RJW_patch_Autopsy/Patches/Harmony.cs
+++ b/Source/RJW_patch_Autopsy/Patches/Harmony.cs
@@ -5,10 +5,23 @@ using Verse;
namespace RJW_patch_Autopsy
{
[StaticConstructorOnStartup]
- internal static class First
+ public class AutopsyPatch
{
- static First()
+ public static bool SizedApparelActive = false;
+
+ static AutopsyPatch()
{
+ //check SJW
+ if (LoadedModManager.RunningModsListForReading.Any(x => x.Name == "SizedApparel"))
+ {
+ SizedApparelActive = true;
+ }
+
+ if (LoadedModManager.RunningModsListForReading.Any(x => x.PackageId == "OTYOTY.SizedApparel"))
+ {
+ SizedApparelActive = true;
+ }
+
var har = new Harmony("Stardust3D.RJW.patch.Autopsy");
har.PatchAll(Assembly.GetExecutingAssembly());
}
diff --git a/Source/RJW_patch_Autopsy/Properties/AssemblyInfo.cs b/Source/RJW_patch_Autopsy/Properties/AssemblyInfo.cs
index 648c1dc..9c0dd45 100644
--- a/Source/RJW_patch_Autopsy/Properties/AssemblyInfo.cs
+++ b/Source/RJW_patch_Autopsy/Properties/AssemblyInfo.cs
@@ -33,5 +33,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("4943.0.1.4")]
-[assembly: AssemblyFileVersion("4943.0.1.4")]
\ No newline at end of file
+[assembly: AssemblyVersion("4945.0.1.4")]
+[assembly: AssemblyFileVersion("4945.0.1.4")]
\ No newline at end of file
diff --git a/Source/RJW_patch_Autopsy/RJW_patch_Autopsy.csproj b/Source/RJW_patch_Autopsy/RJW_patch_Autopsy.csproj
index da46f81..d2ab116 100644
--- a/Source/RJW_patch_Autopsy/RJW_patch_Autopsy.csproj
+++ b/Source/RJW_patch_Autopsy/RJW_patch_Autopsy.csproj
@@ -49,16 +49,17 @@
false
-
+
..\packages\Lib.Harmony.2.2.0\lib\net48\0Harmony.dll
+ True
..\..\..\..\RimWorldWin64_Data\Managed\Assembly-CSharp.dll
False
-
- ..\..\..\..\..\..\workshop\content\294100\818773962\Assemblies\HugsLib.dll
- False
+
+ ..\packages\UnlimitedHugs.Rimworld.HugsLib.9.0.1\lib\net472\HugsLib.dll
+ True
diff --git a/Source/RJW_patch_Autopsy/packages.config b/Source/RJW_patch_Autopsy/packages.config
index 722dba4..dcd1369 100644
--- a/Source/RJW_patch_Autopsy/packages.config
+++ b/Source/RJW_patch_Autopsy/packages.config
@@ -1,4 +1,5 @@
-
+
+
\ No newline at end of file
diff --git a/Source/build.gradle.kts b/Source/build.gradle.kts
index cc978e1..810b2b8 100644
--- a/Source/build.gradle.kts
+++ b/Source/build.gradle.kts
@@ -11,7 +11,7 @@ plugins {
//id("com.ullink.nunit") version "1.12"
}
-version = "4943.0.1.4"
+version = "4945.0.1.4"
val friendlyName = "rjw-patch-autopsy"
tasks.register("buildC#") {