Dbzes Posted December 13, 2023 Share Posted December 13, 2023 (edited) Hi all, I have a problem and i searched during 2 day.... but I have the block in recipes.xml Do you have a idea ? Thank you very much ! Edited December 13, 2023 by Dbzes (see edit history) Link to comment Share on other sites More sharing options...
BFT2020 Posted December 13, 2023 Share Posted December 13, 2023 1 hour ago, Dbzes said: Hi all, I have a problem and i searched during 2 day.... but I have the block in recipes.xml Do you have a idea ? Thank you very much ! It needs to be defined in the items file or the blocks file as an object. If you do have it, check the name as you might have it incorrectly in one of the two files. For example, just putting this in my recipes file will cause issues <recipe name="foodTunaNoddleCasserol" count="1" craft_area="campfire" craft_tool="toolCookingPot" tags="perkMasterChef,learnable"> <ingredient name="foodCanTuna" count="1"/> <ingredient name="foodCanPasta" count="1"/> <ingredient name="foodCropMushrooms" count="1"/> <ingredient name="foodCornMeal" count="1"/> <ingredient name="drinkJarBoiledWater" count="1"/> </recipe> unless I have this in the items file <item name="foodTunaNoddleCasserol"> <property name="Tags" value="food"/> <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="Mplants"/> <property name="CustomIcon" value="foodSpaghetti"/> <property name="CustomIconTint" value="ff0000"/> <property name="Material" value="Mplants"/> <property name="Stacknumber" value="10"/> <!-- STK resource --> <property name="EconomicValue" value="250"/> <property name="EconomicBundleSize" value="1"/> <property name="CraftingIngredientTime" value="10"/> <property class="Action0"> <property name="Class" value="Eat"/> <property name="Delay" value="1.0"/> <property name="Use_time" value="..."/> <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="40"/> <triggered_effect trigger="onSelfPrimaryActionEnd" action="ModifyCVar" cvar="foodHealthAmount" operation="add" value="15"/> <triggered_effect trigger="onSelfPrimaryActionEnd" action="ModifyCVar" cvar=".foodStaminaBonusAdd" operation="add" value="20"/> <triggered_effect trigger="onSelfPrimaryActionEnd" action="AddBuff" buff="buffProcessConsumables"/> </effect_group> </item> Link to comment Share on other sites More sharing options...
Dbzes Posted December 16, 2023 Author Share Posted December 16, 2023 A great !! I forgot the block.xml thank you very much !!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now