rjw-pregnancy-stages-graphics/Patches/PregnantPatch-Ratkin.xml
2022-11-14 21:35:43 +03:00

109 lines
No EOL
3.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>NewRatkinPlus</li>
<li>RimNudeWorld</li>
</mods>
<success>Always</success>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationConditional">
<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Ratkin"]/alienRace/generalSettings/alienPartGenerator/bodyAddons</xpath>
<success>Always</success>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Ratkin"]/alienRace/generalSettings/alienPartGenerator</xpath>
<value>
<bodyAddons />
</value>
</nomatch>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Ratkin"]/alienRace/generalSettings/alienPartGenerator/bodyAddons</xpath>
<value>
<!-- bellies -->
<li>
<debug>false</debug>
<bodyPart>Torso</bodyPart>
<path>Genitals/FeaturelessCrotch</path>
<shaderType>Transparent</shaderType>
<inFrontOfBody>true</inFrontOfBody>
<colorChannel>skin</colorChannel>
<drawnInBed>false</drawnInBed>
<!--Hide the belly under clothing-->
<hiddenUnderApparelFor>
<li>Torso</li>
</hiddenUnderApparelFor>
<hediffGraphics>
<!--Replace graphics for implanted pregnancy-->
<RJW_UnknownEgg>
<path>Belly/ratkin/belly_cumM</path>
</RJW_UnknownEgg>
<RJW_InsectHiveEgg>
<path>Belly/ratkin/belly_cumM</path>
</RJW_InsectHiveEgg>
<RJW_pregnancy_mech>
<path>Belly/ratkin/belly_cumM</path>
</RJW_pregnancy_mech>
<!--Replace graphics for beast pregnancy-->
<RJW_pregnancy_beast>
<path>Genitals/FeaturelessCrotch</path>
<severity>
<a0.9>Belly/ratkin/belly_cumI</a0.9>
<a0.6>Belly/ratkin/belly_cumM</a0.6>
<a0.3>Belly/ratkin/belly_cumS</a0.3>
<a0.0>Belly/null</a0.0>
</severity>
</RJW_pregnancy_beast>
<!--Replace graphics for normal pregnancy-->
<RJW_pregnancy>
<path>Genitals/FeaturelessCrotch</path>
<severity>
<a0.9>Belly/ratkin/belly_cumI</a0.9>
<a0.6>Belly/ratkin/belly_cumM</a0.6>
<a0.3>Belly/ratkin/belly_cumS</a0.3>
<a0.0>Belly/null</a0.0>
</severity>
</RJW_pregnancy>
<PregnantHuman MayRequire="Ludeon.Rimworld.Biotech">
<path>Genitals/FeaturelessCrotch</path>
<severity>
<a0.9>Belly/ratkin/belly_cumI</a0.9>
<a0.6>Belly/ratkin/belly_cumM</a0.6>
<a0.3>Belly/ratkin/belly_cumS</a0.3>
<a0.0>Belly/null</a0.0>
</severity>
</PregnantHuman>
</hediffGraphics>
<offsets>
<south>
<layerOffset>-0.28</layerOffset>
<bodyTypes>
<Thin>(0,0)</Thin>
</bodyTypes>
</south>
<north>
<layerOffset>-0.28</layerOffset>
<bodyTypes>
<Thin>(0,0)</Thin>
</bodyTypes>
</north>
<east>
<layerOffset>-0.28</layerOffset>
<bodyTypes>
<Thin>(0,0)</Thin>
</bodyTypes>
</east>
</offsets>
</li>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>