Skip to content

SusInventoryItem

Package

SusGame · Inventory (commercial)

Grid-placed item: icon, rarity frame, stack, durability, drag & drop, context menu (equip / unequip / delete). Hover opens kit SusTooltip built from ItemDef.

No API metadata for SusInventoryItem. Run npm run extract.

Hover tooltip

Uses SusTooltip (OverlayHost Tooltip layer). Native UITK tooltip is cleared. Content comes from ItemDef (name, rarity · category · subcategory, description, weight, modifiers).

Usage

Prefer parent SusInventory via SusInventorySession — do not place orphan items without a grid/model.

csharp
// Session mounts SusInventory; items get Def + DnD + tooltip automatically
var session = SusInventorySession.Attach(host);
session.SetCatalog(defs);
session.SeedItems(seeds);
session.Apply();

Open-core: Core & Router MIT · Kit & Game commercial