RimWorld

RimWorld

[NL] Facial Animation - WIP
Wraith Sep 15, 2024 @ 2:56am
Suggestion: Make sanguophages close their eyes during deathrest
I've already patched this into my own game like so and it seems to work fine:

<Patch> <Operation Class="PatchOperationAdd"> <xpath>Defs/FacialAnimation.FaceAnimationDef[defName="laydown"]/targetJobs</xpath> <value> <li>Deathrest</li> </value> </Operation> </Patch>

It seems simple enough that it could just be incorporated into the main mod. I guess there would have to be some sort of check for whether Biotech is installed. Not sure how much that complicates things.
< >
Showing 1-1 of 1 comments
Kane 17 hours ago 
Amazing, thanks for this. If the patch is like so it wont cause issues without biotech:
<?xml version="1.0" encoding="utf-8"?> <Patch> <Operation Class="PatchOperationFindMod"> <mods> <li>Biotech</li> </mods> <match Class="PatchOperationAdd"> <xpath>Defs/FacialAnimation.FaceAnimationDef[defName="laydown"]/targetJobs</xpath> <value> <li>Deathrest</li> </value> </match> </Operation> </Patch>
< >
Showing 1-1 of 1 comments
Per page: 1530 50