# Day 13 - Stackable Inventory System in C++ (Unreal Engine 5)

**URL:** <https://forums.unrealengine.com/t/day-13-stackable-inventory-system-in-c-unreal-engine-5/2852818>\
**Category:** C++\
**Tags:** unreal-engine, CPP\
**Created:** [November 9, 2026, 11:58am UTC](https://forums.unrealengine.com/t/day-13-stackable-inventory-system-in-c-unreal-engine-5/2852818 "2026-11-09T11:58:08Z")\
**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 9, 2026, 11:58am UTC](https://forums.unrealengine.com/t/day-13-stackable-inventory-system-in-c-unreal-engine-5/2852818/1 "2026-11-09T11:58:09Z")

</div>

Hello everyone,

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

Today I upgraded my inventory system by implementing item stacking in C++.

Before this update, collecting three coins created three separate inventory entries:

Coin

Coin

Coin

Now the inventory automatically groups identical items into a single stack:

Coin x3

Features implemented:

✅ Stackable Inventory System

✅ Quantity Tracking

✅ Inventory Stack Management

✅ Consumable Integration

✅ Stack Reduction on Item Use

✅ Automatic Stack Removal

Current gameplay flow:

Collect Item

↓

Create Stack

↓

Increase Quantity

↓

Use Item

↓

Reduce Quantity

↓

Remove Empty Stack

Example output:

Coin x1

Coin x2

Coin x3

Using: Coin

Coin x2

Using: Coin

Coin x1

Using: Coin

Inventory Empty

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

🎮 Day 13 - Stackable Inventory System

This upgrade makes the inventory behave much closer to a real RPG, survival game, or loot-based system.

Video:Day 13:[https://youtu.be/GxD\_hRCeYnI](https://youtu.be/GxD_hRCeYnI)

I’d love to hear feedback, suggestions, or code review comments from other Unreal Engine developers.

Thank you!
