Hello, i am struggling to get appendage of perk recipe unlocks for a mod i am making. I dont understand why i cant append the perks in the same way that you can append and overwrite weapons by simply copying the code into your modlets hirearchy. I have looked up a couple threads on Xpath, im using an example from a user called stompbox108 here: https://community.7daystodie.com/topic/11088-does-anyone-have-a-good-example-of-actually-adding-a-new-perk-or-skill-level/
Basically what i am trying to do is add recipes to be unlocked to the Master Chef perk. It keeps on returning the following error:
"2021-01-16T23:20:07 1029.551 WRN XML patch for "progression.xml" from mod "Jamoy's Ammunition Emporium" did not apply: <append xpath="/progression/perks[@name=perkMasterChef]/effect_group" "
It does not give me any useful information as to why this is happened. This is the code that i am trying to append:
<configs>
<append xpath="/progression/perks[@name=perkMasterChef]/effect_group">
<passive_effect name="RecipeTagUnlocked" operation="base_set" level="1,5" value="1" tags="foodBreadLoaf"/>
</append>
</configs>
This is the most simple form i have tried, with a single recipe to be unlocked, yet it still "Did not apply because reasons"
Any idea what i am doing wrong?
Basically what i am trying to do is add recipes to be unlocked to the Master Chef perk. It keeps on returning the following error:
"2021-01-16T23:20:07 1029.551 WRN XML patch for "progression.xml" from mod "Jamoy's Ammunition Emporium" did not apply: <append xpath="/progression/perks[@name=perkMasterChef]/effect_group" "
It does not give me any useful information as to why this is happened. This is the code that i am trying to append:
<configs>
<append xpath="/progression/perks[@name=perkMasterChef]/effect_group">
<passive_effect name="RecipeTagUnlocked" operation="base_set" level="1,5" value="1" tags="foodBreadLoaf"/>
</append>
</configs>
This is the most simple form i have tried, with a single recipe to be unlocked, yet it still "Did not apply because reasons"
Any idea what i am doing wrong?