inventory

Register item definitions, create instances, and manage CSL game inventories.

Updated Feb 7, 2026
One-click install
npx skills add https://github.com/All-Out-Games/reusable-weapons-csl --skill inventory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: inventory
Source: https://github.com/All-Out-Games/reusable-weapons-csl/tree/main/.claude/skills/inventory
Command: npx skills add https://github.com/All-Out-Games/reusable-weapons-csl --skill inventory

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The inventory system unifies item management by providing templates for items (Item_Definition), per-item data (Item_Instance), and player inventories, reducing boilerplate and errors when building game UIs and logic.

Core Features & Use Cases

  • Item_Definition and Item_Instance templates enable defining weapons, consumables, and resources with per-item properties and serialized data.
  • Inventory containers and a player's built-in default_inventory simplify storage, transfer, and UI integration.
  • Registration & Management helpers let you create definitions and instances, move items between inventories, and inspect contents.
  • UI Helpers such as hotbar and inventory drawing support rapid UI construction and interaction.
  • Use Case: create a new sword item, instantiate it, equip it to a player, and display it in the hotbar and inventory UI.

Quick Start

Register an item definition, create an item instance for it, and move the item into the player's default_inventory to begin using the system.

Frequently Asked Questions about inventory

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

FAQPage Schema
How do I create an item system for a CSL game with inventory and hotbar UI?

To create an item system for a CSL game, register Item_Definition templates and instantiate them as Item_Instance data. This allows you to add items to a player's default_inventory, move them between slots, and render a hotbar UI for item usage.

What is the difference between Item_Definition and Item_Instance in game inventory management?

Item_Definition serves as a template for defining items like weapons or consumables, while Item_Instance holds the per-item properties and serialized data. This distinction reduces boilerplate and errors when building game UIs and logic.

How do I add a new weapon to a player's inventory and display it in the hotbar UI?

To add a weapon, register its Item_Definition, create an Item_Instance for it, and move the item into the player's default_inventory using the registration and management helpers. You can then use the UI helpers to draw the hotbar for interaction.

Does this inventory system support serialized data for individual item instances?

Yes, the inventory system supports serialized data for individual item instances. Item_Instance data utilizes CSL APIs and serialization to store per-item properties, ensuring persistent state for resources and consumables.

Can I move items between different inventory containers in CSL?

You can move items between different inventory containers in CSL. The system provides management helpers to transfer items between slots and inventories, simplifying storage and transfer operations.

Do I need any external dependencies to use this CSL item management system?

No external dependencies are required to use this CSL item management system. It operates independently to provide item registration, inventory operations, and UI utilities for your game development workflow.