coffees-rjw-ideology-addons/CRIALactation/Patches/Patch_LactationInduction.xml

29 lines
788 B
XML
Raw Normal View History

2021-07-30 01:33:08 +00:00
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationConditional">
<xpath>/Defs/ThingDef/comps</xpath>
<success>Always</success>
<nomatch Class="PatchOperationAdd">
<xpath>/Defs/ThingDef</xpath>
<value>
<comps />
</value>
</nomatch>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[@Name="BasePawn"]/comps</xpath>
<value>
<li Class="CRIALactation.CompProperties_InduceLactation">
<DaysToLactating>15</DaysToLactating>
<TimesMassagedADay>2.5</TimesMassagedADay>
</li>
</value>
</li>
</operations>
</Operation>
</Patch>