inventory-system

Implement Unity inventory, equipment, and crafting workflows with ScriptableObject item definitions.

3|Updated Jun 27, 2026
One-click install
npx skills add https://github.com/OmerZeyveli/kinglet-unity --skill inventory-system-omerzeyveli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: inventory-system
Source: https://github.com/OmerZeyveli/kinglet-unity/tree/main/.claude/skills/gameplay/inventory-system
Command: npx skills add https://github.com/OmerZeyveli/kinglet-unity --skill inventory-system-omerzeyveli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured approach for implementing item management in Unity without coupling item data, runtime inventory state, equipment logic, crafting, UI updates, pickups, and save data into one fragile system.

Core Features & Use Cases

  • Item Definitions: Create designer-friendly ScriptableObject assets for item identity, stacking, equipment slots, stats, usage effects, and economy data.
  • Inventory and Equipment: Implement slot-based storage, stacking, item removal, equipment replacement, stat aggregation, and change events for responsive gameplay systems.
  • Crafting and UI: Define recipe assets, validate ingredients, bind inventory changes to UGUI slot displays, support drag-and-drop rearrangement, and handle world pickups.
  • Save and Load: Persist inventory contents as item IDs and counts, then reconstruct item references through a central registry.
  • Use Case: Build a player inventory where collected materials stack, weapons can be equipped, crafted items consume ingredients, and the UI updates whenever contents change.

Quick Start

Use the inventory-system skill to implement a slot-based Unity inventory with ScriptableObject item definitions, equipment slots, crafting recipes, UI binding, pickups, and item-ID save/load support.

Frequently Asked Questions about inventory-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure Unity inventory systems using ScriptableObjects?

Unity inventory systems use ScriptableObjects to define item identity, stacking rules, equipment slots, and stats separately from runtime logic. This keeps designer-friendly item assets decoupled from slot-based storage, equipment state, and UI binding.

How to save and load inventory contents in Unity without losing item references?

Save and load inventory contents by persisting item IDs and counts, then reconstructing item references through a central registry. This item-ID reconstruction approach ensures equipment and materials are restored accurately across sessions.

Can I implement drag-and-drop slot swapping and UI binding for a Unity inventory?

Yes, Unity inventory UI binding supports drag-and-drop slot swapping by binding inventory change events directly to UGUI slot displays. This ensures the interface updates immediately when items are moved, equipped, or consumed.

What's the best way to handle crafting recipes and ingredient validation in Unity?

Crafting in Unity is handled by defining ScriptableObject recipe assets and validating ingredients against inventory contents before consumption. This allows crafted items to consume materials while triggering inventory change events.

Does this Unity inventory approach support equipment stat aggregation and gear replacement?

Yes, Unity equipment systems support stat aggregation and gear replacement through slot-based logic. Equipping items triggers change events that update aggregated player stats dynamically.

Why does my Unity inventory system break when coupling item data with save logic?

Coupling item data with save logic creates fragile systems because changes to item definitions break persistence. Using item IDs and a central registry for reconstruction decouples save data from runtime inventory state.