RoughHades Inventory
A grid-based inventory with real weight and real equip slots.
Prerequisites
- RoughHades Core Framework installed and running.
- RoughHades Target installed and running -- used for the "Open" interaction on ground loot piles.
- A recent
cerulean-branch FXServer build.
Installation
- Download the resource from your Tebex purchase and extract it into your
resourcesdirectory. - Rename the extracted folder to
REPLACE_ME_resource_folder_nameif it isn't already. - Add it to
server.cfg, below Core Framework and Target:
ensure REPLACE_ME_resource_folder_name
- Open
config.luaand set weight limits, grid size, and ground-loot pile expiry time.
Usage (for other resources/developers)
This resource exports a full item API other resources can call directly:
exports.REPLACE_ME_resource_folder_name:AddItem(source, itemName, count)
exports.REPLACE_ME_resource_folder_name:RemoveItem(source, itemName, count)
exports.REPLACE_ME_resource_folder_name:GetItemCount(source, itemName)
exports.REPLACE_ME_resource_folder_name:GetSnapshot(source)
exports.REPLACE_ME_resource_folder_name:RegisterUsable(itemName, callback)
exports.REPLACE_ME_resource_folder_name:GrantStashAccess(source, stashId)
exports.REPLACE_ME_resource_folder_name:CreateGroundLoot(coords, items)
Verifying it's working
Open your inventory in-game -- you should see the grid, a weight total at the top, and five equip slots (armor, hands, primary, secondary, holster) in the loadout panel.
Troubleshooting
- Inventory won't open: confirm both Core Framework and Target are running and started before this resource.
- Dropped items don't spawn a physical pile: check that Target is actually running -- ground loot piles use Target's interaction system to open.
Still stuck? The fastest way to get help is Discord.