Milian_Farmer/1.5/Patches/MiliranF_Patch.xml

39 lines
984 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>
<li>Milian_Mechanoid_FarmII</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>Milian_Mechanoid_FarmII</li>
<li>Milira_ResurrectMilian_Farm</li>
</value>
</li>
</operations>
</Operation>
</Patch>