Created
July 3, 2022 11:15
-
-
Save slippycheeze/1cdef5d70e1087ab2bae32640631abfe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Patch> | |
<Operation Class="XmlExtensions.Conditional"> | |
<xpath>Defs/ThingDef[defName="VFEA_AncientChemfuelPoweredGenerator"]</xpath> | |
<caseTrue> | |
<Operation Class="XmlExtensions.PatchOperationSafeAdd"> | |
<xpath>Defs/ThingDef[defName="VFEA_AncientChemfuelPoweredGenerator"]/comps/li/fuelFilter/thingDefs</xpath> | |
<compare>Both</compare> | |
<value> | |
<li MayRequire="Scruffy.Content.ONIAnimals">OxR_Coal</li> | |
</value> | |
</Operation> | |
</caseTrue> | |
</Operation> | |
</Patch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment