mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
resplice patch
This commit is contained in:
parent
0617ea4995
commit
07a0ab0600
11 changed files with 227 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue