# Day 12 - Consumable Item Removal System in C++ (Unreal Engine 5)

**URL:** <https://forums.unrealengine.com/t/day-12-consumable-item-removal-system-in-c-unreal-engine-5/2851484>\
**Category:** C++\
**Tags:** unreal-engine, CPP\
**Created:** [November 6, 2026, 11:24am UTC](https://forums.unrealengine.com/t/day-12-consumable-item-removal-system-in-c-unreal-engine-5/2851484 "2026-11-06T11:24:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinpc\_1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kevinpc_1/32/1215238_2.png) [@kevinpc\_1](https://forums.unrealengine.com/u/kevinpc_1)\
**Post date:** [November 6, 2026, 11:24am UTC](https://forums.unrealengine.com/t/day-12-consumable-item-removal-system-in-c-unreal-engine-5/2851484/1 "2026-11-06T11:24:25Z")

</div>

Hello everyone,

I’ve just completed Day 12 of my Unreal Engine 5 Gameplay Engineer journey.

Today I improved my consumable item system by implementing inventory item removal after usage.

Features implemented:

✅ RemoveItem Function

✅ Consumable Item Logic

✅ Inventory Updates

✅ Health Restoration

✅ Equipment Integration

✅ Automatic Re-Equip Logic

Current gameplay flow:

Collect Item

↓

Add To Inventory

↓

Equip Item

↓

Use Item

↓

Restore Health

↓

Remove Item

Example output:

Equipped: Coin

Added Item: Coin

Inventory Size: 1

Using: Coin

Health: 25

Removed Item: Coin

Inventory Size: 0

Healing 25 HP

Current project systems:

🎮 Day 1 - First C++ Actor

🎮 Day 2 - Character Movement

🎮 Day 3 - Health System

🎮 Day 4 - Sprint System

🎮 Day 5 - Double Jump

🎮 Day 6 - Interaction System

🎮 Day 7 - Collectible Items System

🎮 Day 8 - Inventory System

🎮 Day 9 - Equipment System

🎮 Day 10 - Item Usage System

🎮 Day 11 - Consumable Items System

🎮 Day 12 - Consumable Item Removal System

One issue I discovered during testing was that the character became unequipped after consuming an item even when more items were still available in the inventory. I fixed this by automatically equipping the next available item whenever the inventory is not empty.

This project is part of my journey to become a Gameplay Engineer by building gameplay systems from scratch in Unreal Engine 5 using C++.

Video:Day 12:[https://youtu.be/Sd1Jw0DJS58](https://youtu.be/Sd1Jw0DJS58)

[PASTE YOUR YOUTUBE LINK HERE]

Any feedback, suggestions, or code review comments are welcome.

Thank you!
