rimworld-animations-patch_m.../Patches/BodyParts_Humanoid.xml
AbstractConcept 767317773b v2.0.1
Change log v 2.0.1
- Fixed issue with a hand animation calling a missing method
- Fixed errored that was triggering at the end of sex
- Dependency on Humanoid Alien Race is now listed and enforced in the mod load screen
- Made XML patching more robust
2023-02-06 10:15:30 -06:00

32 lines
No EOL
831 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<!-- Moves genitals to the legs -->
<Operation Class="PatchOperationConditional">
<xpath>Defs/BodyDef/corePart/parts/li[def = "Genitals"]/groups</xpath>
<match Class="PatchOperationReplace">
<xpath>Defs/BodyDef/corePart/parts/li[def = "Genitals"]/groups</xpath>
<value>
<groups>
<li>Legs</li>
<li>GenitalsBPG</li>
</groups>
</value>
</match>
</Operation>
<!-- Moves anus to the legs -->
<Operation Class="PatchOperationConditional">
<xpath>Defs/BodyDef/corePart/parts/li[def = "Anus"]/groups</xpath>
<match Class="PatchOperationReplace">
<xpath>Defs/BodyDef/corePart/parts/li[def = "Anus"]/groups</xpath>
<value>
<groups>
<li>Legs</li>
<li>AnusBPG</li>
</groups>
</value>
</match>
</Operation>
</Patch>