Plants Def Extensions - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki
The Plants module adds two def mod extensions:
- Dual Crop Extension: Allows dual crops, ie crops that harvest into two different ingredients.
- Winter Blooming Extension: Congigurable graphics for plants during the winter period (for example, cherry trees)
How do I use this code?
Def Extensions are added to the <modExtensions> tag of the ThingDef of the plant you want to add them to.
If you aren't sure if the def ALREADY has an extension (for example, if you think another mod will add their own), always use XPATH (xml patching) to add an extension, as there is already a PatchOperationAddModExtension to ensure they don't collide.