Milian_Farmer/1.5/Patches/MiliranF_Patch.xml

37 lines
908 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationTest">
<xpath>Defs/ThingDef[defName="Milian_Lining"]/comps/li/targetableMilianPawnkinds</xpath>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Milian_Lining"]/comps/li/targetableMilianPawnkinds</xpath>
<value>
<li>Milian_Mechanoid_FarmI</li>
</value>
</li>
</operations>
</Operation>
<Operation Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationTest">
<xpath>Defs/ThingDef[defName="Milian_Gestator"]/recipes</xpath>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Milian_Gestator"]/recipes</xpath>
<value>
<li>Milian_Mechanoid_FarmI</li>
<li>Milira_ResurrectMilian_Farm</li>
</value>
</li>
</operations>
</Operation>
</Patch>