bloodlust67
New member
I want to change all armor ingredients using resourceLeather to my new resourceTannedLeather that is made with Soap using Soapwort plants.
I added this to my recipes.xml:
<set xpath="/recipes/recipe[@name='armorFarmerHelmet']/ingredient[@name='resourceLeather']">resourceTannedLeather</set>
<set xpath="/recipes/recipe[@name='armorFarmerHelmet']/passive_effect[@name='CraftingIngredientCount']/tags[@name='resourceLeather']">resourceTannedLeather</set>
It did not apply the second line. Can someone tell me why that is?
Here is the original recipe for a Farmer's Hat:
<recipe name="armorFarmerHelmet" count="1" craft_area="workbench" tags="perkMediumArmor,learnable">
<ingredient name="resourceArmorCraftingKit" count="1"/>
<ingredient name="resourceLeather" count="5"/>
<ingredient name="resourceForgedIron" count="0"/>
<ingredient name="resourceForgedSteel" count="0"/>
<ingredient name="resourceLegendaryParts" count="0"/>
<effect_group>
<passive_effect name="CraftingIngredientCount" level="2,6" operation="base_add" value="1,5" tags="resourceArmorCraftingKit"/>
<passive_effect name="CraftingIngredientCount" level="2,3,4,5,6" operation="base_add" value="5,10,15,20,20" tags="resourceLeather"/>
<passive_effect name="CraftingIngredientCount" level="3,4,5,6" operation="base_add" value="5,10,25,25" tags="resourceForgedIron"/>
<passive_effect name="CraftingIngredientCount" level="5,6" operation="base_add" value="10,25" tags="resourceForgedSteel"/>
<passive_effect name="CraftingIngredientCount" level="6" operation="base_add" value="1" tags="resourceLegendaryParts"/>
</effect_group>
</recipe>
Thanks in advance!
just tried this, and it didn't work either:
<set xpath="/recipes/recipe[@name='armorFarmerHelmet']/effect_group/passive_effect[@name='CraftingIngredientCount']/tags[@name='resourceLeather']">resourceTannedLeather</set>
I added this to my recipes.xml:
<set xpath="/recipes/recipe[@name='armorFarmerHelmet']/ingredient[@name='resourceLeather']">resourceTannedLeather</set>
<set xpath="/recipes/recipe[@name='armorFarmerHelmet']/passive_effect[@name='CraftingIngredientCount']/tags[@name='resourceLeather']">resourceTannedLeather</set>
It did not apply the second line. Can someone tell me why that is?
Here is the original recipe for a Farmer's Hat:
<recipe name="armorFarmerHelmet" count="1" craft_area="workbench" tags="perkMediumArmor,learnable">
<ingredient name="resourceArmorCraftingKit" count="1"/>
<ingredient name="resourceLeather" count="5"/>
<ingredient name="resourceForgedIron" count="0"/>
<ingredient name="resourceForgedSteel" count="0"/>
<ingredient name="resourceLegendaryParts" count="0"/>
<effect_group>
<passive_effect name="CraftingIngredientCount" level="2,6" operation="base_add" value="1,5" tags="resourceArmorCraftingKit"/>
<passive_effect name="CraftingIngredientCount" level="2,3,4,5,6" operation="base_add" value="5,10,15,20,20" tags="resourceLeather"/>
<passive_effect name="CraftingIngredientCount" level="3,4,5,6" operation="base_add" value="5,10,25,25" tags="resourceForgedIron"/>
<passive_effect name="CraftingIngredientCount" level="5,6" operation="base_add" value="10,25" tags="resourceForgedSteel"/>
<passive_effect name="CraftingIngredientCount" level="6" operation="base_add" value="1" tags="resourceLegendaryParts"/>
</effect_group>
</recipe>
Thanks in advance!
just tried this, and it didn't work either:
<set xpath="/recipes/recipe[@name='armorFarmerHelmet']/effect_group/passive_effect[@name='CraftingIngredientCount']/tags[@name='resourceLeather']">resourceTannedLeather</set>