Skip to content

Commit

Permalink
Added compat for the Harvest Organs Post Mortem mod (#409)
Browse files Browse the repository at this point in the history
Not fully tested as I was not able to reproduce the issue, but should (presumably) fix any issues with the mod.
  • Loading branch information
SokyranTheDragon authored Jan 7, 2024
1 parent 70dff09 commit 0126188
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Source/Mods/HarvestOrgansPostMortem.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using Verse;

namespace Multiplayer.Compat
{
/// <summary>
/// Harvest Organs Post Mortem by Smuffle
/// </summary>
/// <see href="https://github.com/DenJur/RimwoldAutopsy"/>
/// <see href="https://steamcommunity.com/sharedfiles/filedetails/?id=1204502413"/>
[MpCompatFor("Smuffle.HarvestOrgansPostMortem")]
public class HarvestOrgansPostMortem
{
public HarvestOrgansPostMortem(ModContentPack mod)
=> PatchingUtilities.PatchSystemRand("Autopsy.NewMedicalRecipesUtility:TraverseBody");
}
}

0 comments on commit 0126188

Please sign in to comment.