Jump to content

[mod] rjw_corpse_drawnude_fix


Recommended Posts

Posted

rjw_corpse_drawnude_fix

View File

Short Version: After raping a corpse, you may want to put their clothes back by using mod like "Dress Corpse". But you can't make their clothes appear without this mod.
Longer version:

The issue appears to come from RJW leaving a corpse's drawNude state stuck at true.

The problem chain seems to work like this:

JobDriver_SexBaseInitiator.Start() sets drawNude = true for both the initiator and the partner.
When the target is a corpse, the partner is resolved as Corpse.InnerPawn, so the dead pawn inside the corpse also gets drawNude = true.

Normally, this state is supposed to be cleared later.
However, in corpse-related cases, that cleanup is not symmetrical:

  • JobDriver_SexBaseInitiator.End() reliably clears the initiator's drawNude
  • but the corpse-side pawn does not run a normal receiver job, so it does not get the same cleanup path
  • and the fallback cleanup in CompRJW.DoUpkeep() only runs for living pawns, because dead pawns are excluded from that logic

As a result, a dead pawn can remain permanently stuck with drawNude = true.

Once that happens, RJW's render patches treat the pawn as being in a nude-render state.
Its apparel render nodes get the PawnRenderNodeWorker_Apparel_DrawNude subworker attached, and that worker's CanDrawNowSub(...) simply returns false.
In practice, this means the apparel nodes are still there, but they are prevented from drawing.

That is why the corpse can still technically have apparel equipped, while the clothes do not appear visually.

So this mod exists to fix that specific broken state by clearing stuck drawNude data on dead pawns, instead of changing general apparel behavior.


  • Submitter
  • Submitted
    03/27/26
  • Category
  • Requirements
  • Install Instructions

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...