My mod:https://mods.vintagestory.at/heavyforlonarmor
Mod that I have compatibility problems with:https://mods.vintagestory.at/show/mod/11264
The problem is that my and this mod ovverite the game file "game:worldproperties/block/metal.json" the problem is that spearexpansion has always load priority. my added metal stays in game and isnt causing errors but It no longer can be made becasue alloy recipes are gone. I tied patching it with compatibility lib patch structure, but it didnt rly worked. help plzz
heres the patch file \assets\heavyforlonarmor\compatibility\spearexpantion\patches
there is the patch itself.
[
{
"file": "game:worldproperties/block/metal.json",
"op": "addmerge",
"path": "/variants",
"value": [{code: "temporalit", meltPoint: 1668, boilPoint: 3287, density: 4510, specificHeatCapacity: 0.54, elemental: false, tier: 4}],
"dependsOn":[{ "modid": "spearexpantion" }]
},
{
"file": "game:worldproperties/block/metal.json",
"op": "addmerge",
"path": "/variants",
"value": [{code: "ancientgold", meltPoint: 1020, boilPoint: 1040, density: 4510, specificHeatCapacity: 0.54, elemental: false, tier: 3}],
"dependsOn": [{ "modid": "spearexpantion" }]
},
{
"file": "game:worldproperties/block/metal.json",
"op": "addmerge",
"path": "/variants",
"value": [{code: "hardmeteor", meltPoint: 1020, boilPoint: 1040, density: 4510, specificHeatCapacity: 0.54, elemental: false, tier: 3}],
"dependsOn": [{ "modid": "spearexpantion" }]
}
]