Ir al contenido
Medios 1 para el artículo RPG Inventory Kit

Descripción

The inventory system out of a working tab-target RPG, pulled out and generalised. Every behaviour in it exists because a game needed it.

No Gameplay Ability System dependency: the runtime module needs Core, CoreUObject and Engine, and nothing else.

FEATURES

• Nested bags with per-bag weight reduction. Bags never nest inside bags, and the guard is in the system rather than your UI code.

• Encumbrance counting bag contents, worn gear and the physical weight of your coin purse. Movement speed falls off past your carry cap.

• 17 equipment slot types with automatic pair expansion: declare Ring, get Ring1 and Ring2. Slot types and pairings are configurable data, not hardcoded.

• Data-driven items. One DataTable row carries stack size, weight, value, stat modifiers, weapon damage and delay, container capacity, consumable effects, cooldowns and rarity.

• Trade maths that cannot cheat you. Buying is per-unit and deducts only after the item lands, so a batch that half-fits never overcharges.

• Corpse runs. One call strips bags, bag contents, worn gear and coin into a list you pour into a corpse actor.

• Drag, drop, shift-split and swap, all type-checked. Drops land exactly where you aim them, with no fallback to the first free slot.

• Radial cooldown sweeps, hover tooltips, and rarity-tinted cells.

BUILT TO LIVE WITH

• Three modules that peel off bottom-up: Demo, UI, runtime. Bring your own interface and never link UMG.

• The UI is code, not assets. Nothing to migrate, no redirectors, nothing to re-hook after an engine upgrade.

• Restyle by subclassing the slot widget in Blueprint. No C++ needed.

• Fully Blueprint-exposed, SaveGame-ready, and shipped with automated tests.

• Documentation written by someone who has debugged it: quickstart, a full configuration table, and eleven real footguns.

TRY IT IN 30 SECONDS

Set the GameMode override to RIKDemoGameMode and press Play. You get a stocked inventory, gear on the paper-doll, and an open bag showing its weight reduction at work.

HONEST LIMITATIONS

• Single-player. The component is authoritative-local and is not replicated.

• Version 1.0 is inventory and equipment. Loot, bank, vendor and crafting windows are planned for 1.1.

• Demo icons are AI-generated pixel-art placeholders in Content/Demo. Bring your own art; items with no icon fall back to their name.

Full documentation and support: https://emcdevelopment.github.io/rpg-inventory-kit/

Formatos incluidos