This adds the ability to have an item that gets uses as fuel to return an item when it gets used. For example this could be used to have your wood fuel item to give charcoal when its used as fuel.

Please make a backup of your project before following this guide.

Start by going to the S_ItemDetails and copy the video below.

Next play in editor, this might take a while to load, once the player loads in your can exit play in editor.

Next go to the BP_CookingComponent and copy the video below.

Next create a new function called AddBurntFuelItem then create a new local variable called InventorySlotL and set its type to S_InvSlot then create another local variable called NewItemL and set its type to S_InvItem. Then create another local variable called BurntReturnItemL and set its type to S_CraftingCost.

Next copy the images below adding the highlighted nodes, note there are 2 images for this function.

Part One
Part Two

Add the highlighted nodes shown in the image below, location at the top of the image.

Next go to the BP_CraftingComponent and copy the video below.

Next create a new function called AddBurntFuelItem then create a new local variable called BurnReturnItemL and set its type to S_CraftingCost, then create another local variable called NewItemL and set its type to S_InvItem. Then create another local variable called RemainingInvItemL and set its type to S_InvItem.

Next copy the images below adding the highlighted nodes, note there are 2 images for this function.

Part One
Part Two

Add the highlighted nodes shown in the image below, location at the top of the image.

I recommend playing in editor again, once the character loads exit play in editor and click the save all button in the content browser.

You can now set the Burnt Fuel Item in the ItemList for fuel items, once they have been used as fuel the Burnt Fuel Item will be added to the cooking or crafting containers inventory. If the inventory is full the item will spawn near by on the floor.