Advanced 2D Grid Inventory System
A downloadable assets
# 📦 Advanced 2D Grid Inventory & Stacking System (C#)
Add a **professional, production-ready Inventory and Item Stacking system** to your game. This advanced standalone C# script provides clean, robust data logic to handle player storage layouts, automatic stacking thresholds, and item depletion tracking seamlessly.
Perfect for 2D survival games, RPGs, metroidvanias, or sandbox adventures!
---
### 🚀 Key Features
* **Smart Stacking Architecture:** Automatically scans active inventory data layers to find matching Item IDs and fills existing stacks up to your custom limit before allocating a new slot.
* **Dynamic Layout Allocation:** Gracefully assigns new unallocated slot indexes if item structures fall below the defined maximum storage capacity parameters.
* **Reverse Extraction Logic:** Built-in item depletion systems run efficient reverse loops to cleanly deduct or erase stored items when consumed or discarded.
* **Developer-Friendly Event Logging:** Clean Unity console logs keep developers updated in real time whenever items are successfully stacked, allocated, or if storage limits are exceeded.
---
### ⚙️ Core Structure Parameters
Configure your items and storage layout metrics instantly inside your scripts or inspector panels:
* `totalSlots` (Maximum high-capacity slot limit configuration)
* `maxStackSize` (Maximum item quantity allowed per individual slot layout)
* `itemName` / `itemID` / `itemIcon` (Custom item configuration parameters)
---
### 📦 Package Content
* `RustCloudInventory.cs` (Fully commented, optimized source code with zero external dependencies)
*Brought to you by **RustCloud Studio**. Professional tools for independent game creators.*
| Status | Released |
| Category | Assets |
| Author | RUSTCLOUD STUDIO |
| Genre | Role Playing, Survival |
| Tags | 2D, assets, csharp, inventory, inventory-system, PuzzleScript, Unity |
| AI Disclosure | AI Assisted, Code |
Purchase
In order to download this assets you must purchase it at or above the minimum price of $2.99 USD. You will get access to the following files:

Leave a comment
Log in with itch.io to leave a comment.