• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Changing passive effects on ingredients

bloodlust67

New member
Can someone explain why this works:

<remove xpath="//recipe[contains(@name,'armorPreacher')]/effect_group/passive_effect[@name='CraftingIngredientCount' and @operation='base_add' and @tags='resourceForgedSteel']" />

but this does not:

<set xpath="//recipe[contains(@name,'armorPreacher')]/effect_group/passive_effect[@name='CraftingIngredientCount' and @operation='base_add' and @tags='resourceForgedIron']">resourcePlatePolymer</set>

it still shows Forged Iron as the ingredient

 
Changing the bit in the effect group is just for perk scaling, it won't change what is actually used for the recipe, that's in the ingredient name part above the effect group. You'd need to change both.

 
Changing the bit in the effect group is just for perk scaling, it won't change what is actually used for the recipe, that's in the ingredient name part above the effect group. You'd need to change both.
Im away from home for a bit, but I did use set xpath to change the ingredient from forged iron to polymer plate, but in the crafting window it still shows forged iron being used and scaled. Maybe I didn't do that part correctly but I didn't get a yellow "did not apply" error. Don't have access to that code at the moment...

 
Back
Top