RimWorld

RimWorld

Vanilla Iron and Steel
Early Times Coal Patch
If you're attempting to use this mod with the Early Times mod and you find that the bloomery does not take the coal chunks that spawn on the map, navigate to the mod file at:

Steam\steamapps\workshop\content\294100\1883690422\Patches

Once you locate the Patch_Coal file, open it up with a text editor (like notepad++). Then, copy the piece of code from below and paste it into an empty spot in the file. After that, save the file and you should be all set. If you did it correctly, then the next time you open the bloomery bills you will be able to use the coal chunks to smelt the iron.

<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationTest">
<xpath>Defs/ThingDef[defName="Resource_Coal"]</xpath>
</li>
<li Class="PatchOperationAdd">
<xpath>
Defs/*[self::RecipeDef[defName="NECForgeSteel"] or
self::RecipeDef[defName="NECForgeSteelBulk"] or
self::RecipeDef[defName="NECForgeSteelBulker"] or
self::RecipeDef[defName="NECForgeSteelMoreBulker"] or
self::ThingDef[defName="NECBloomery"]]
//thingDefs[parent::filter and
not(li/text()="NECIron") or parent::fixedIngredientFilter or parent::fuelFilter]
</xpath>
<value>
<li>Resource_Coal</li>
</value>
</li>
</operations>
</Operation>