<Operation Class="[YOUR C# MOD NAMESPACE].PatchOperationAddOrReplace">
<xpath>/Defs/ThingDef[defName="Plant_TreeBirch"]/plant</xpath>
<key>growDays</key>
<value>22</value>
</Operation>
- This document is still a draft. Don't rely on any information until it is done and tested.
- This is a more advanced guide with some special cases, improvements and optimizations. If you need to know the basics, read this guide.
You can use cores PatchOperationFindMod
to create conditional patches when certain mods are loaded without the need of an external library.
<Operation Class="PatchOperationFindMod">
<mods>