rimnude-unofficial/Extra Patches/Debug Patch/Patches/Debug Patch Aliens.xml

22 lines
928 B
XML
Raw Normal View History

2022-01-15 07:19:54 +00:00
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationConditional"><!--looks for a race that is using a rimnude addon-->
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[path="Genitals/FeaturelessCrotch"]</xpath>
<match Class="PatchOperationSequence"><!--found at least one race that is using rimnude addons-->
<operations>
<li Class="PatchOperationInsert"><!--Addons no longer show in debug log-->
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[
hediffGraphics/Penis or
hediffGraphics/Vagina or
hediffGraphics/CatVagina or
2022-09-28 18:55:32 +00:00
hediffGraphics/UdderBreasts or
2022-01-15 07:19:54 +00:00
hediffGraphics/Breasts or
hediffGraphics/RJW_pregnancy]/layerOffset</xpath>
<value>
<debug>false</debug>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>