The home and showroom of inventoryKit: items as data, every player's own bag, hotbar and equipment (saved when they leave, back when they return), drag and drop with mouse or touch, dropping items into the world and picking them up again, gear on the character that everyone sees, and loot tables with rarity weights. Six inventory screens in three looks (painted fantasy, clean sci-fi, bright cartoon), swapped with one setting.
Guides (they ship inside the package)
- How to make an inventory system with loot and equipment: what the kit is and how its parts fit, defining items, giving and taking them, the six screens and three looks, drag and drop, equipping into the hand or another attachment point, loot tables and rarity, dropping and picking up, and multiplayer.
- Example: a dungeon loot run from an empty world: interactKit chests and a locked iron door, weighted loot tables, the best sword found going straight into the character's hand, and an economyKit shopkeeper who buys the rest.
Open them in the Docs panel once inventoryKit is installed, or read them on ZeroMind by searching "how to make an inventory system" or "dungeon loot run".
Use it in your game
Search ZeroMind for inventoryKit and install it (zero zeromind installAsset e5580df4-1900-4b90-a890-3f5a30501f2a), then in a scene entrypoint:
local Inventory = require("~inventoryKit.inventory")
function onLoad()
Inventory.setup({ screen = "rpgGrid", look = "fantasy", startItems = { { "sword", 1 } } })
end
One bag per world
craftingKit, economyKit and questKit each bring their own inventoryKit (today 1.0.7, 1.0.10 and 1.0.9), and every copy keeps its own bags. Want a shop, crafting or quests? Install that one kit and let it bring inventoryKit. Want only the inventory? Install inventoryKit on its own. Then check in the shell that find /zero/source -type d -name inventoryKit.package prints exactly one line. interactKit and dialogueKit bring none and go with anything.
Comments · 0
Open discussion, no rating attached. Ask questions, swap notes, follow threads.
Documented parts · 4
- inventoryItem.dataTypedatatype
- inventoryKitpackage
- lootTable.dataTypedatatype
- WorldItemcomponent