Setup PatchOperationAdd XML crop patches

This commit is contained in:
2023-07-16 13:44:28 -05:00
parent 46e9a9f244
commit 5a2f9f6597

24
Patches/crop.xml Normal file
View File

@@ -0,0 +1,24 @@
<Patch>
<!-- Using 'Append' explicitly is considered verbose here, yes. -->
<Operation Class="PatchOperationAdd">
<xpath>*/ThingDef[defName="Plant_Devilstrand"]/plant/sowTags</xpath>
<order>Append</order>
<value>
<li>Hydroponic</li>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>*/ThingDef[defName="Plant_Corn"]/plant/sowTags</xpath>
<order>Append</order>
<value>
<li>Hydroponic</li>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>*/ThingDef[defName="Plant_Haygrass"]/plant/sowTags</xpath>
<order>Append</order>
<value>
<li>Hydroponic</li>
</value>
</Operation>
</Patch>