From 01261885d52694a95d43a7d58b4406efda3cd25e Mon Sep 17 00:00:00 2001
From: SokyranTheDragon <36712560+SokyranTheDragon@users.noreply.github.com>
Date: Sun, 7 Jan 2024 23:43:38 +0100
Subject: [PATCH] Added compat for the Harvest Organs Post Mortem mod (#409)
Not fully tested as I was not able to reproduce the issue, but should (presumably) fix any issues with the mod.
---
Source/Mods/HarvestOrgansPostMortem.cs | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 Source/Mods/HarvestOrgansPostMortem.cs
diff --git a/Source/Mods/HarvestOrgansPostMortem.cs b/Source/Mods/HarvestOrgansPostMortem.cs
new file mode 100644
index 0000000..36025ba
--- /dev/null
+++ b/Source/Mods/HarvestOrgansPostMortem.cs
@@ -0,0 +1,16 @@
+using Verse;
+
+namespace Multiplayer.Compat
+{
+ ///
+ /// Harvest Organs Post Mortem by Smuffle
+ ///
+ ///
+ ///
+ [MpCompatFor("Smuffle.HarvestOrgansPostMortem")]
+ public class HarvestOrgansPostMortem
+ {
+ public HarvestOrgansPostMortem(ModContentPack mod)
+ => PatchingUtilities.PatchSystemRand("Autopsy.NewMedicalRecipesUtility:TraverseBody");
+ }
+}
\ No newline at end of file