I have a mod that adds new food to the campfire and I have it showing up in all the correct places. I don't get any warnings and the food icon shows up in the craftingFood skill window,, but attaining the correct skill level doesn't unlock the recipe. I have been wracking my brain and scouring the code for mistakes, but everything looks correct. Anyone else have this problem, and maybe found a solution to get the recipe unlock to work?
This is the Items.xml code
<append xpath="items">
<item name="foodCornDogs">
<property name="CustomIcon" value="foodCornDogs"/>
<property name="Tags" value="food,foodSkill"/>
<property name="HoldType" value="31"/>
<property name="DisplayType" value="food"/>
<property name="Meshfile" value="#Other/Items?Misc/parcelPrefab.prefab"/>
<property name="DropMeshfile" value="#Other/Items?Misc/sack_droppedPrefab.prefab"/>
<property name="Material" value="Morganic"/>
<property name="Stacknumber" value="10"/>
<property name="EconomicValue" value="63"/>
<property name="UnlockedBy" value="craftingFood"/>
<property class="Action0">
<property name="Class" value="Eat"/>
<property name="Delay" value="1.0"/>
<property name="Sound_start" value="player_eating"/>
</property>
<property name="Group" value="Food/Cooking,CFFood/Cooking"/>
<effect_group tiered="false" name="Food Tier 2">
<triggered_effect trigger="onSelfPrimaryActionEnd" action="ModifyCVar" cvar="$foodAmountAdd" operation="add" value="44"/>
<triggered_effect trigger="onSelfPrimaryActionEnd" action="ModifyCVar" cvar=".foodStaminaBonusAdd" operation="add" value="20"/>
<triggered_effect trigger="onSelfPrimaryActionEnd" action="AddBuff" buff="buffProcessConsumables"/>
</effect_group>
</item>
</append>
Here is the Recipes.xml code
<append xpath="/recipes">
<recipe name="foodCornDogs" count="1" craft_area="campfire" craft_tool="toolCookingPot" craft_time="20" tags="perkMasterChef,learnable">
<ingredient name="foodRawMeat" count="1"/>
<ingredient name="resourceAnimalFat" count="1"/>
<ingredient name="foodCornMeal" count="1"/>
<ingredient name="resourceWood" count="1"/>
</recipe>
</append>
And this is the Progression.xml code
<append xpath="//crafting_skill[@name='craftingFood']/display_entry[@icon='foodPumpkinBread,foodPumpkinPie,foodPumpkinCheesecake,foodMeatStew,foodSteakAndPotato']">
<unlock_entry item="foodCornDogs,resourceAnimalFat" unlock_tier="1" />
</append>
Like I said. everything shows up correctly, and all of the code looks fine to me, but the recipe just doesn't unlock. I am stumped. if anyone could help me see what I am missing, that would be much appreciated.