Jump to content

Rimjobworld - Highmate Patch 1.0.1


2 Screenshots

About This File

Allows RJW sex to fulfill the Lovin' need introduced in Vanilla Races Expanded - Highmate.

 

Made with

  • Rimworld v1.6
  • RJW v6.1.2 (April 2, 2026)
  • VRE - Highmate v3.0.2 (October 10, 2025)

 

It would be great of a larger race compatibility patch author could include this with their file.

 

Instructions:

  1. Extract to the Rimworld Mods folder
  2. Activate mod with mod manager or in game.
  3. Make sure patch is below the following mods
    1. VRE - Highmate
    2. RJW

 

Safe to add midgame.


Source code for the DLL patch (v1.01):

Spoiler

 

using HarmonyLib;
using rjw;
using System;
using System.Net;
using System.Reflection;
using VanillaRacesExpandedHighmate;
using RimWorld;
using Verse;

namespace RJWHighmatePatch
{
    [StaticConstructorOnStartup]
    public class ModInitializer
    {
        static ModInitializer()
        {
            new Harmony("com.RJWHighmatePatch").PatchAll(Assembly.GetExecutingAssembly());
        }
    }
}

[HarmonyPatch(typeof(SexUtility), "SatisfyPersonal")]
public static class RJW_LovinSex_Patch
{
    [HarmonyPostfix]
    public static void Postfix(SexProps props, float satisfaction)
    {
        Pawn pawn = props.pawn;
        if (pawn == null || !pawn.Spawned) return;
        Need_Lovin need_Lovin;
        Pawn_NeedsTracker needs = pawn.needs;
        need_Lovin = ((needs != null) ? needs.TryGetNeed<Need_Lovin>() : null);

        if (need_Lovin != null)
        {
            need_Lovin.CurLevel = 1f;
        }
    }
}

 

 

Edited by kilana
Updated source code for 1.01


What's New in Version 1.0.1

Released

Fixed Harmony error on game load.


×
×
  • Create New...