resplice patch

This commit is contained in:
Jaaldabaoth 2024-05-27 01:27:10 +02:00
parent 0617ea4995
commit 07a0ab0600
11 changed files with 227 additions and 12 deletions

View file

@ -2,6 +2,7 @@
using HarmonyLib;
using System;
using rjw;
using RJWLoveFeeding;
namespace RJW_Genes
{
@ -16,7 +17,10 @@ namespace RJW_Genes
harmony.Unpatch(original, HarmonyPatchType.Prefix, "rjw");
harmony.PatchAll();
if (ModsConfig.BiotechActive)
{
harmony.Patch(typeof(SexUtility).GetMethod("ProcessSex"), new HarmonyMethod(typeof(LustFeeding), "Postfix", null));
}
// Patch Licentia, if Licentia exists
// Logic & Explanation taken from https://rimworldwiki.com/wiki/Modding_Tutorials/Compatibility_with_DLLs